/* playhub-social — standalone site styles 2026 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:root {
  --bg-deep: #071422;
  --bg-panel: #0f2340;
  --bg-card: #142f52;
  --text: #eaf2ff;
  --text-soft: rgba(234, 242, 255, 0.78);
  --accent: #ff8a5c;
  --accent-2: #2ec4b6;
  --warning-bg: linear-gradient(90deg, #ff8a00, #ff512f 45%, #f09819);
  --warning-text: #1a0f08;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-ui: "Sora", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --mx: clamp(1rem, 3vw, 2.75rem);
  --width: min(1520px, calc(100% - 2 * var(--mx)));
  --width-hero: min(1720px, calc(100% - clamp(1.5rem, 5vw, 3rem)));
}

body {
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(
      1200px 600px at 10% -10%,
      rgba(46, 196, 182, 0.25),
      transparent
    ),
    radial-gradient(
      900px 500px at 100% 20%,
      rgba(255, 138, 92, 0.18),
      transparent
    ),
    var(--bg-deep);
}

.ph-skip:focus {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

.ph-warning {
  font-weight: 700;
  font-size: clamp(0.8rem, 0.75rem + 0.35vw, 0.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warning-text);
  background: var(--warning-bg);
  padding: 0.85rem var(--mx);
  text-align: center;
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 24px rgba(255, 81, 47, 0.35);
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.ph-wrap {
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: var(--mx);
  width: 100%;
  min-width: 0;
}
.ph-wrap--hero {
  max-width: var(--width-hero);
}

.ph-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: 100%;
  background: rgba(7, 20, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  min-width: 0;
}

.ph-logo-home {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.ph-logo-home:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(46, 196, 182, 0.35);
}
.ph-logo-home img {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.ph-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  justify-content: flex-end;
}
.ph-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition:
    background 0.2s,
    color 0.2s;
}
.ph-nav a:hover,
.ph-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.ph-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(238, 108, 77, 0.25);
  color: #ffc9b8;
  border: 1px solid rgba(255, 138, 92, 0.45);
}

.ph-nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .ph-header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .ph-nav-toggle {
    display: block;
  }

  .ph-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 1rem 0 1.25rem;
    margin: 0;
    background: rgba(7, 20, 34, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.75rem;
    box-sizing: border-box;
  }

  .ph-nav.is-open {
    display: flex;
  }

  .ph-nav a {
    border-radius: 10px;
    padding: 0.7rem 0.95rem;
    font-size: 1rem;
  }

  .ph-pill {
    align-self: flex-start;
    margin-top: 0.15rem;
  }
}

.ph-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 14vw, 11rem);

  width: 100%;
  max-width: 100%;
  isolation: isolate;
}
.ph-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.2), var(--bg-deep));
  z-index: 1;
}
.ph-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../../images/hero-plaza.webp") center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.05);
}

.ph-hero .ph-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-inline: auto;
  padding-block: clamp(0.25rem, 1vw, 0.75rem);
}
.ph-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.15rem + 3vw, 3.15rem);
  line-height: 1.22;
  margin-bottom: 1.1rem;
  padding-bottom: 0.12em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.ph-hero h1 span {
  color: var(--accent);
}
.ph-hero p {
  color: var(--text-soft);
  max-width: 72rem;
  width: 100%;
  padding-inline: 0.25rem;
  margin: 0 auto 1.85rem;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.17rem);
  line-height: 1.65;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-2), #1b9e8e);
  color: #042a26;
  box-shadow: 0 10px 30px rgba(46, 196, 182, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    filter 0.15s;
}
.ph-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(46, 196, 182, 0.45);
}
.ph-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.ph-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

#main {
  position: relative;
  z-index: 0;
  background: var(--bg-deep);
}

.ph-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.ph-split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  min-width: 0;
}
.ph-split > * {
  min-width: 0;
}
@media (min-width: 900px) {
  .ph-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.ph-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.ph-about-visual {
  width: 100%;

  aspect-ratio: 16/11;
  border-radius: var(--radius-lg);
  background-color: #0c1f36;
  background-image: url("../../images/hero-boardwalk.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-section--prompt-art {
  padding-top: clamp(1rem, 3vw, 2rem);
}
.ph-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #c8e8ff;
}
.ph-prompt-gallery__lead {
  max-width: 48rem;
  margin-bottom: 1.25rem;
}
.ph-prompt-gallery {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 1.05rem);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
@media (min-width: 720px) {
  .ph-prompt-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ph-prompt-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.ph-prompt-gallery__cell {
  min-width: 0;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-panel);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.ph-prompt-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ph-grid-games {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.ph-grid-games > li {
  min-width: 0;
}
@media (min-width: 640px) {
  .ph-grid-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ph-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.ph-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 196, 182, 0.35);
}
.ph-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.ph-card img {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.ph-card__body {
  padding: clamp(1rem, 2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.ph-stars {
  display: flex;
  gap: 4px;
}
.ph-stars svg {
  width: 16px;
  height: 16px;
  fill: #ffd166;
}
.ph-card__cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  background: rgba(255, 138, 92, 0.22);
  color: #ffd4c4;
}

.ph-acc {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ph-acc__item {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.ph-acc__head {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ph-acc__head::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ph-acc__item.ph-open .ph-acc__head::after {
  transform: rotate(-135deg);
}
.ph-acc__body {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.ph-acc__item.ph-open .ph-acc__body {
  display: block;
}

.ph-muted {
  color: var(--text-soft);
}
.ph-note {
  border-left: 4px solid var(--accent-2);
  padding: 1rem 1.25rem;
  background: rgba(46, 196, 182, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1rem;
}

.ph-footer {
  margin-top: auto;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.6), #040b14);
}
.ph-footer__grid {
  display: grid;
  gap: 1.75rem;
  text-align: center;
}
@media (min-width: 700px) {
  .ph-footer__grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.ph-h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--accent-2);
}
.ph-org-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin: 1.5rem 0;
}
.ph-org-logos a {
  opacity: 0.9;
  transition: opacity 0.2s;
}
.ph-org-logos a:hover {
  opacity: 1;
}
.ph-org-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15) brightness(1.08);
}

.ph-footlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 1rem;
}
.ph-footlinks a {
  font-size: 0.9rem;
  color: var(--text-soft);
}
.ph-footlinks a:hover {
  color: var(--text);
}

.ph-age {
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ph-page-hero {
  padding: 2rem 0 1rem;
}
.ph-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--accent);
}

.ph-prose p {
  margin-bottom: 1rem;
  color: var(--text-soft);
}
.ph-prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--accent-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
