@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --ph-ink: #07111f;
  --ph-navy: #0c1a2e;
  --ph-teal: #0d6b63;
  --ph-teal-bright: #14a896;
  --ph-teal-soft: #1a8f84;
  --ph-amber: #d4a017;
  --ph-amber-soft: #e8c547;
  --ph-cream: #f3efe6;
  --ph-mist: #c8d4d2;
  --ph-white: #ffffff;
  --ph-topbar: #061018;
  --ph-glass: rgba(7, 17, 31, 0.72);
  --ph-border: rgba(232, 197, 71, 0.22);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ph-cream);
  background: var(--ph-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-brand,
.hero-title,
.brand-text .brand-name {
  font-family: var(--font-display);
}

.topbar {
  background: var(--ph-topbar);
  border-bottom: 1px solid rgba(20, 168, 150, 0.18);
  padding: 0.55rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ph-mist);
}

.topbar i {
  color: var(--ph-amber);
  margin-right: 0.45rem;
}

.topbar strong {
  color: var(--ph-amber-soft);
  font-weight: 600;
}

.site-header {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.97) 0%, rgba(12, 26, 46, 0.94) 100%);
  border-bottom: 1px solid var(--ph-border);
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 0.85rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--ph-teal) 0%, #0a4f4a 55%, var(--ph-navy) 100%);
  border: 1px solid rgba(212, 160, 23, 0.45);
  box-shadow: 0 0 0 1px rgba(20, 168, 150, 0.15), 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--ph-amber-soft);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ph-white);
}

.brand-text .brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ph-teal-bright);
  font-weight: 500;
  margin-top: 0.15rem;
}

.navbar-toggler {
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: transparent;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(20, 168, 150, 0.35);
}

.navbar-toggler-icon-custom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.navbar-toggler-icon-custom span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ph-amber-soft);
  border-radius: 2px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ph-mist) !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px;
  position: relative;
}

.nav-link-item:hover,
.nav-link-item:focus {
  color: var(--ph-white) !important;
  background: rgba(20, 168, 150, 0.12);
}

.nav-link-item.active {
  color: var(--ph-amber-soft) !important;
  background: rgba(212, 160, 23, 0.12);
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(7, 17, 31, 0.9) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.8) 0%, transparent 48%);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 168, 150, 0.28) 0%, transparent 70%);
  filter: blur(10px);
  top: 12%;
  right: 8%;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 4.5rem 0 5rem;
  max-width: 720px;
}

.hero-brand {
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ph-white);
  margin: 0 0 1.25rem;
}

.hero-brand span {
  display: block;
  background: linear-gradient(90deg, var(--ph-white) 0%, var(--ph-amber-soft) 55%, var(--ph-teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: var(--ph-cream);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ph-mist);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-ph-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--ph-amber) 0%, var(--ph-amber-soft) 100%);
  color: var(--ph-ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.28);
}

.btn-ph-primary:hover,
.btn-ph-primary:focus {
  color: var(--ph-ink);
  filter: brightness(1.05);
}

.btn-ph-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ph-cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 212, 210, 0.28);
  backdrop-filter: blur(8px);
}

.btn-ph-ghost:hover,
.btn-ph-ghost:focus {
  color: var(--ph-white);
  background: rgba(20, 168, 150, 0.16);
  border-color: rgba(20, 168, 150, 0.45);
}

.site-footer {
  background: var(--ph-topbar);
  border-top: 1px solid rgba(20, 168, 150, 0.16);
  padding: 3.5rem 0 1.75rem;
  color: var(--ph-mist);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--ph-amber-soft);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-about {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  line-height: 1.7;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 212, 210, 0.16);
  border-radius: 12px;
}

.footer-badge-link img {
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ph-white);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-list a {
  color: var(--ph-mist);
}

.footer-disclaimers {
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 14px;
  background: rgba(12, 26, 46, 0.55);
  display: grid;
  gap: 0.85rem;
}

.footer-disclaimers p {
  margin: 0;
  line-height: 1.7;
}

.footer-disclaimers strong {
  color: var(--ph-amber-soft);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(20, 168, 150, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.content-section {
  padding: 5rem 0;
  border-top: 1px solid rgba(20, 168, 150, 0.12);
}

.about-section {
  background: linear-gradient(180deg, var(--ph-ink) 0%, #091522 100%);
}

.how-section {
  background:
    radial-gradient(circle at right top, rgba(212, 160, 23, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #091522 0%, var(--ph-navy) 100%);
}

.disclaimer-section {
  background: linear-gradient(180deg, var(--ph-navy) 0%, #07141f 100%);
}

.values-section {
  background:
    radial-gradient(ellipse at bottom, rgba(20, 168, 150, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #07141f 0%, var(--ph-ink) 100%);
}

.section-intro-tight {
  margin-bottom: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--ph-teal-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose-block {
  display: grid;
  gap: 1.15rem;
}

.prose-block p {
  margin: 0;
  color: var(--ph-mist);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose-block .btn-ph-ghost {
  justify-self: start;
  margin-top: 0.35rem;
}

.info-panel {
  height: 100%;
  padding: 1.6rem 1.45rem;
  border-left: 2px solid rgba(212, 160, 23, 0.45);
  background: rgba(7, 17, 31, 0.35);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 168, 150, 0.14);
  color: var(--ph-amber-soft);
  margin-bottom: 1rem;
}

.info-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ph-white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.info-text {
  margin: 0;
  color: var(--ph-mist);
  line-height: 1.75;
}

.section-cta {
  margin-top: 2.25rem;
}

.disclaimer-shell {
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(12, 26, 46, 0.92) 0%, rgba(7, 17, 31, 0.96) 100%);
}

.disclaimer-panel {
  height: 100%;
  padding: 0.25rem 0;
}

.disclaimer-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ph-amber-soft);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.disclaimer-panel p {
  margin: 0 0 1rem;
  color: var(--ph-mist);
  line-height: 1.8;
  font-size: 1.02rem;
}

.disclaimer-panel p:last-child {
  margin-bottom: 0;
}

.disclaimer-footnote {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 168, 150, 0.16);
  color: var(--ph-mist);
  line-height: 1.7;
}

.disclaimer-footnote a {
  color: var(--ph-amber-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.value-item {
  height: 100%;
  padding-top: 0.25rem;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ph-white);
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}

.value-text {
  margin: 0;
  color: var(--ph-mist);
  line-height: 1.75;
}

.games-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse at top, rgba(20, 168, 150, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #0a1628 0%, var(--ph-ink) 100%);
  border-top: 1px solid rgba(20, 168, 150, 0.14);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  color: var(--ph-white);
  margin: 0 0 0.85rem;
}

.section-lead {
  margin: 0;
  color: var(--ph-mist);
  font-size: 1.05rem;
}

.game-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(12, 26, 46, 0.95) 0%, rgba(7, 17, 31, 0.98) 100%);
  border: 1px solid rgba(212, 160, 23, 0.18);
  border-radius: 18px;
  overflow: hidden;
}

.game-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ph-navy);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
}

.game-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.game-name a {
  color: var(--ph-white);
}

.game-name a:hover,
.game-name a:focus {
  color: var(--ph-amber-soft);
}

.game-blurb {
  margin: 0;
  color: var(--ph-mist);
  font-size: 0.95rem;
  flex: 1;
}

.btn-ph-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--ph-teal) 0%, var(--ph-teal-bright) 100%);
  color: var(--ph-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 197, 71, 0.25);
}

.btn-ph-play:hover,
.btn-ph-play:focus {
  color: var(--ph-ink);
  background: linear-gradient(135deg, var(--ph-amber) 0%, var(--ph-amber-soft) 100%);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--ph-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    margin-top: 0.85rem;
    padding: 0.75rem;
  }

  .nav-link-item {
    border-radius: 12px;
    padding: 0.75rem 1rem !important;
  }

  .hero {
    min-height: calc(100vh - 140px);
  }

  .hero-content {
    padding: 3.25rem 0 4rem;
  }
}

@media (max-width: 767.98px) {
  .disclaimer-shell {
    padding: 1.5rem 1.15rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .topbar {
    font-size: 0.74rem;
    text-align: center;
  }

  .brand-text .brand-name {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-ph-primary,
  .btn-ph-ghost {
    justify-content: center;
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn-ph-primary,
  .cookie-consent-actions .btn-ph-ghost {
    width: 100%;
    justify-content: center;
  }
}

html.ph-scroll-locked,
body.ph-scroll-locked {
  overflow: hidden;
  height: 100%;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 10, 18, 0.84);
  backdrop-filter: blur(10px);
}

.age-gate[hidden],
.cookie-consent[hidden] {
  display: none !important;
}

.age-gate-dialog {
  width: min(100%, 520px);
  background: linear-gradient(160deg, #0d2136 0%, #07111f 100%);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 20px;
  padding: 1.85rem 1.6rem 1.7rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(20, 168, 150, 0.12);
}

.age-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ph-amber-soft);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.age-gate-dialog h2 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  color: var(--ph-white);
  letter-spacing: -0.02em;
}

.age-gate-dialog p {
  margin: 0 0 0.9rem;
  color: var(--ph-mist);
  line-height: 1.7;
  font-size: 0.95rem;
}

.age-gate-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.1rem 0 1.35rem;
  color: var(--ph-cream);
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
}

.age-gate-check input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ph-teal-bright);
  flex-shrink: 0;
}

.age-gate-accept {
  width: 100%;
  justify-content: center;
}

.age-gate-accept:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3500;
  padding: 1rem;
}

.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, rgba(12, 26, 46, 0.98) 0%, rgba(7, 17, 31, 0.98) 100%);
  border: 1px solid rgba(20, 168, 150, 0.28);
  border-radius: 16px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
}

.cookie-consent-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--ph-mist);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cookie-consent-inner a {
  color: var(--ph-amber-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(20, 168, 150, 0.16) 0%, transparent 45%),
    linear-gradient(180deg, #0a1628 0%, var(--ph-ink) 100%);
  border-bottom: 1px solid rgba(20, 168, 150, 0.12);
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--ph-white);
}

.page-hero .page-lead {
  margin: 0;
  max-width: 46rem;
  color: var(--ph-mist);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-main {
  padding: 3.5rem 0 4.5rem;
}

.page-main .prose-block {
  max-width: 52rem;
}

.policy-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ph-mist);
  line-height: 1.8;
}

.policy-list li + li {
  margin-top: 0.55rem;
}

.faq-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(20, 168, 150, 0.14);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ph-white);
}

.faq-item p {
  margin: 0;
  color: var(--ph-mist);
  line-height: 1.75;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  background: rgba(20, 168, 150, 0.1);
  color: var(--ph-amber-soft);
  font-weight: 600;
}

.contact-email:hover,
.contact-email:focus {
  color: var(--ph-white);
  background: rgba(20, 168, 150, 0.18);
}

.game-stage-wrap {
  margin: 2rem 0 2.5rem;
}

.game-disclaimer {
  margin-top: 2rem;
  padding: 1.4rem 1.45rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(12, 26, 46, 0.65);
}

.game-disclaimer h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--ph-amber-soft);
}

.game-disclaimer p {
  margin: 0 0 0.85rem;
  color: var(--ph-mist);
  line-height: 1.75;
}

.game-disclaimer p:last-child {
  margin-bottom: 0;
}
