/* ============================================================
   Phantom Rush Arcade — Dark Luxe Design System
   styles.css
   ============================================================ */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

/* --- Design Tokens --- */
:root {
  --ph-primary:       #D4A574;
  --ph-primary-dark:  #B8895A;
  --ph-primary-light: #E8C9A8;
  --ph-accent:        #C9952C;
  --ph-accent-dark:   #A67B1E;
  --ph-bg:            #0A0A0A;
  --ph-surface:       #141414;
  --ph-surface-alt:   #1C1C1C;
  --ph-border:        rgba(212, 165, 116, 0.15);
  --ph-border-hover:  rgba(212, 165, 116, 0.45);
  --ph-text:          #E8E0D4;
  --ph-text-muted:    #9A9080;
  --ph-glow:          0 0 20px rgba(212, 165, 116, 0.15);
  --ph-glow-md:       0 0 32px rgba(212, 165, 116, 0.25);
  --ph-radius:        8px;
  --ph-radius-lg:     12px;
  --ph-radius-pill:   50px;
  --ph-transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ph-max-width:     1180px;
  --ph-font:          'DM Sans', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--ph-font);
  background: var(--ph-bg);
  color: var(--ph-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--ph-primary); text-decoration: none; transition: var(--ph-transition); }
a:hover { color: var(--ph-primary-light); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ph-text);
}

/* --- Layout --- */
.ph-wrap {
  max-width: var(--ph-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.ph-section {
  padding: 96px 0;
}

.ph-section--alt {
  background: var(--ph-surface);
}

/* --- Section Heading --- */
.ph-heading {
  text-align: center;
  margin-bottom: 64px;
}

.ph-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.ph-heading p {
  color: var(--ph-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* --- Label / Tag --- */
.ph-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ph-primary);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-pill);
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ph-font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--ph-radius-pill);
  padding: 12px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--ph-transition);
  white-space: nowrap;
  text-decoration: none;
}

.ph-btn-gold {
  background: linear-gradient(135deg, var(--ph-accent) 0%, var(--ph-primary) 100%);
  color: #0a0a0a;
  border-color: transparent;
}
.ph-btn-gold:hover {
  background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-light) 100%);
  color: #0a0a0a;
  box-shadow: var(--ph-glow-md);
  transform: translateY(-1px);
}

.ph-btn-outline {
  background: transparent;
  color: var(--ph-primary);
  border-color: var(--ph-primary);
}
.ph-btn-outline:hover {
  background: rgba(212, 165, 116, 0.08);
  border-color: var(--ph-primary-light);
  color: var(--ph-primary-light);
  box-shadow: var(--ph-glow);
}

.ph-btn-ghost {
  background: transparent;
  color: var(--ph-text-muted);
  border-color: var(--ph-border);
}
.ph-btn-ghost:hover {
  color: var(--ph-primary);
  border-color: var(--ph-border-hover);
}

.ph-btn-glow {
  box-shadow: var(--ph-glow);
}
.ph-btn-glow:hover {
  box-shadow: var(--ph-glow-md);
}

.ph-btn-lg {
  font-size: 1.05rem;
  padding: 16px 36px;
}

/* --- Section Divider --- */
.ph-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ph-primary), transparent);
  opacity: 0.25;
  border: none;
  margin: 0;
}

/* --- Gold Text Gradient --- */
.ph-gold-text {
  background: linear-gradient(135deg, var(--ph-accent) 0%, var(--ph-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Screen Reader Only --- */
.ph-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.ph-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--ph-transition);
}

.ph-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ph-border);
  box-shadow: 0 0 24px rgba(212, 165, 116, 0.06);
}

.ph-header-inner {
  max-width: var(--ph-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ph-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ph-text);
  text-decoration: none;
  flex-shrink: 0;
}
.ph-logo:hover { color: var(--ph-primary); }

.ph-logo-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.ph-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ph-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ph-text-muted);
  padding: 8px 14px;
  border-radius: var(--ph-radius);
  text-decoration: none;
  transition: var(--ph-transition);
}

.ph-nav a:hover,
.ph-nav a.active {
  color: var(--ph-primary);
  background: rgba(212, 165, 116, 0.06);
}

/* Mobile toggle */
.ph-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--ph-radius);
}
.ph-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ph-text);
  border-radius: 2px;
  transition: var(--ph-transition);
}
.ph-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ph-nav-toggle.open span:nth-child(2) { opacity: 0; }
.ph-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.ph-nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ph-border);
  padding: 16px 24px 24px;
  gap: 4px;
}

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

.ph-nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ph-text-muted);
  padding: 12px 16px;
  border-radius: var(--ph-radius);
  text-decoration: none;
  transition: var(--ph-transition);
}
.ph-nav-mobile a:hover,
.ph-nav-mobile a.active {
  color: var(--ph-primary);
  background: rgba(212, 165, 116, 0.06);
}

/* ============================================================
   HERO
   ============================================================ */
.ph-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 0 96px;
  position: relative;
  overflow: hidden;
}

.ph-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(212, 165, 116, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(201, 149, 44, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ph-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--ph-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.ph-hero-text {}

.ph-hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ph-hero-text p {
  font-size: 1.1rem;
  color: var(--ph-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.ph-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ph-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ph-hero-frame {
  border-radius: var(--ph-radius-lg);
  border: 1px solid var(--ph-border);
  overflow: hidden;
  position: relative;
  background: var(--ph-surface);
  box-shadow: var(--ph-glow);
  transition: var(--ph-transition);
}
.ph-hero-frame:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow-md);
}

/* ============================================================
   FEATURES
   ============================================================ */
.ph-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-feature {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 32px 28px;
  transition: var(--ph-transition);
}
.ph-feature:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
  transform: translateY(-2px);
}

.ph-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--ph-radius);
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.ph-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ph-text);
}

.ph-feature p {
  font-size: 0.9rem;
  color: var(--ph-text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.ph-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.ph-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--ph-primary), transparent);
  opacity: 0.2;
}

.ph-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  transition: var(--ph-transition);
  position: relative;
}
.ph-step:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
  transform: translateY(-2px);
}

.ph-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ph-accent), var(--ph-primary));
  color: #0a0a0a;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ph-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ph-step p {
  font-size: 0.875rem;
  color: var(--ph-text-muted);
  line-height: 1.6;
}

/* How-it-works detail rows */
.ph-step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--ph-border);
}
.ph-step-row:last-child { border-bottom: none; }

.ph-step-num-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ph-accent), var(--ph-primary));
  color: #0a0a0a;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ph-text);
}
.ph-step-content p {
  color: var(--ph-text-muted);
  line-height: 1.7;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.ph-game-section {
  background: var(--ph-surface);
}

.ph-game-wrap {
  max-width: var(--ph-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.ph-game-card {
  background: var(--ph-bg);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  transition: var(--ph-transition);
}
.ph-game-card:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow-md);
}

.ph-game-frame {
  position: relative;
  width: 100%;
  background: #000;
}

.ph-game-frame iframe {
  width: 100%;
  display: block;
}

.ph-game-fs {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid var(--ph-border);
  color: var(--ph-primary);
  border-radius: var(--ph-radius);
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--ph-transition);
  backdrop-filter: blur(8px);
}
.ph-game-fs:hover {
  background: rgba(212, 165, 116, 0.12);
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
}

.ph-game-info {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ph-border);
}

.ph-game-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ph-game-info p {
  font-size: 0.85rem;
  color: var(--ph-text-muted);
}

.ph-game-disclaimer {
  margin: 20px 0 0;
  padding: 16px 20px;
  background: rgba(212, 165, 116, 0.04);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  font-size: 0.825rem;
  color: var(--ph-text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   GAME PAGE HERO
   ============================================================ */
.ph-game-page-hero {
  padding: 128px 0 64px;
  background: var(--ph-bg);
  border-bottom: 1px solid var(--ph-border);
  position: relative;
  overflow: hidden;
}

.ph-game-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(212, 165, 116, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ph-game-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ph-game-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-text-muted);
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-pill);
  padding: 4px 12px;
}

/* ============================================================
   FAQ
   ============================================================ */
.ph-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-faq-item {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  transition: var(--ph-transition);
}
.ph-faq-item.open {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
}

.ph-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--ph-text);
  font-family: var(--ph-font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--ph-transition);
}
.ph-faq-question:hover { color: var(--ph-primary); }

.ph-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: var(--ph-primary);
  transition: var(--ph-transition);
}
.ph-faq-item.open .ph-faq-icon { transform: rotate(45deg); border-color: var(--ph-primary); }

.ph-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-faq-item.open .ph-faq-answer {
  max-height: 400px;
}

.ph-faq-text {
  padding: 0 24px 20px;
  color: var(--ph-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--ph-border);
  padding-top: 16px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.ph-cta {
  background: linear-gradient(135deg, rgba(201, 149, 44, 0.12) 0%, rgba(212, 165, 116, 0.06) 100%);
  border-top: 1px solid var(--ph-border);
  border-bottom: 1px solid var(--ph-border);
  text-align: center;
  padding: 96px 0;
}

.ph-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.ph-cta p {
  font-size: 1.05rem;
  color: var(--ph-text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   ARTICLE SECTION
   ============================================================ */
.ph-article-section {
  background: var(--ph-bg);
}

.ph-article-body {
  max-width: 780px;
  margin: 0 auto;
}

.ph-article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--ph-primary-light);
}
.ph-article-body h2:first-child { margin-top: 0; }

.ph-article-body p {
  color: var(--ph-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.97rem;
}

.ph-article-body ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
}
.ph-article-body ul li {
  color: var(--ph-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 0.97rem;
  position: relative;
  padding-left: 16px;
}
.ph-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ph-primary);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.ph-legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.ph-legal-toc {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.ph-legal-toc h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-text-muted);
  margin-bottom: 16px;
}

.ph-legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-legal-toc ol li a {
  color: var(--ph-primary);
  font-size: 0.9rem;
  text-decoration: none;
}
.ph-legal-toc ol li a:hover {
  text-decoration: underline;
  color: var(--ph-primary-light);
}

.ph-legal-section {
  margin-bottom: 48px;
}

.ph-legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ph-border);
  color: var(--ph-text);
}

.ph-legal-section p {
  color: var(--ph-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.ph-legal-section ul,
.ph-legal-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.ph-legal-section li {
  color: var(--ph-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.ph-contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.ph-form-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 40px;
}

.ph-field-group {
  margin-bottom: 24px;
}

.ph-field-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ph-text);
  margin-bottom: 8px;
}

.ph-field-group input,
.ph-field-group select,
.ph-field-group textarea {
  width: 100%;
  background: var(--ph-bg);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  color: var(--ph-text);
  font-family: var(--ph-font);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: var(--ph-transition);
  resize: vertical;
}

.ph-field-group input:focus,
.ph-field-group select:focus,
.ph-field-group textarea:focus {
  border-color: var(--ph-primary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.ph-field-group input::placeholder,
.ph-field-group textarea::placeholder {
  color: var(--ph-text-muted);
  opacity: 0.6;
}

.ph-error-text {
  display: none;
  font-size: 0.8rem;
  color: #e07070;
  margin-top: 6px;
}

.ph-field-group.error input,
.ph-field-group.error textarea {
  border-color: #e07070;
}
.ph-field-group.error .ph-error-text {
  display: block;
}

.ph-success-msg {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(212, 165, 116, 0.06);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
}
.ph-success-msg.visible { display: block; }
.ph-success-msg h3 { color: var(--ph-primary); margin-bottom: 10px; }
.ph-success-msg p { color: var(--ph-text-muted); font-size: 0.95rem; }

/* ============================================================
   DISCLAIMER BOX
   ============================================================ */
.ph-disclaimer {
  border-left: 3px solid var(--ph-primary);
  padding: 16px 20px;
  background: rgba(212, 165, 116, 0.04);
  border-radius: 0 var(--ph-radius) var(--ph-radius) 0;
  font-size: 0.875rem;
  color: var(--ph-text-muted);
  line-height: 1.65;
  margin: 24px 0;
}

/* ============================================================
   GENERIC CONTENT BLOCK
   ============================================================ */
.ph-content-block {
  margin-bottom: 40px;
}

.ph-content-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ph-primary-light);
}

.ph-content-block p {
  color: var(--ph-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.ph-content-block ul {
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-content-block ul li {
  color: var(--ph-text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.ph-content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ph-primary);
}

/* ============================================================
   CARD GRID (values, about cards etc.)
   ============================================================ */
.ph-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ph-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 28px 24px;
  transition: var(--ph-transition);
}
.ph-card:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
  transform: translateY(-2px);
}

.ph-card-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.ph-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ph-text);
  margin-bottom: 8px;
}

.ph-card-text {
  font-size: 0.875rem;
  color: var(--ph-text-muted);
  line-height: 1.65;
}

/* ============================================================
   INFO GRID
   ============================================================ */
.ph-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ph-info-cell {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--ph-transition);
}
.ph-info-cell:hover {
  border-color: var(--ph-border-hover);
  box-shadow: var(--ph-glow);
}

.ph-info-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.ph-info-cell h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ph-text);
  margin-bottom: 6px;
}

.ph-info-cell p {
  font-size: 0.825rem;
  color: var(--ph-text-muted);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ph-footer {
  background: var(--ph-surface);
  border-top: 1px solid var(--ph-border);
  padding: 64px 0 0;
}

.ph-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ph-border);
}

.ph-footer-brand .ph-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.ph-footer-brand p {
  font-size: 0.875rem;
  color: var(--ph-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ph-footer-age {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ph-primary);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-pill);
  padding: 5px 14px;
}

.ph-footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ph-text-muted);
  margin-bottom: 20px;
}

.ph-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph-footer-links ul li a {
  font-size: 0.875rem;
  color: var(--ph-text-muted);
  text-decoration: none;
  transition: var(--ph-transition);
}
.ph-footer-links ul li a:hover {
  color: var(--ph-primary);
}

.ph-footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-footer-bottom p {
  font-size: 0.8rem;
  color: var(--ph-text-muted);
}

.ph-footer-disclaimer {
  font-size: 0.8rem;
  color: var(--ph-text-muted);
  opacity: 0.7;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.ph-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-reveal.ph-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.ph-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ph-toast {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-lg);
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--ph-text);
  box-shadow: var(--ph-glow);
  pointer-events: auto;
  animation: ph-toast-in 0.3s ease forwards;
  max-width: 300px;
}

.ph-toast.ph-toast-gold {
  border-color: rgba(212, 165, 116, 0.4);
  color: var(--ph-primary-light);
}

@keyframes ph-toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .ph-hero-content { grid-template-columns: 1fr; gap: 48px; }
  .ph-hero-text p { max-width: 100%; }
  .ph-features { grid-template-columns: repeat(2, 1fr); }
  .ph-steps { grid-template-columns: repeat(2, 1fr); }
  .ph-steps::before { display: none; }
  .ph-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ph-contact-grid { grid-template-columns: 1fr; }
  .ph-info-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root { font-size: 16px; }
  .ph-section { padding: 64px 0; }
  .ph-hero { padding: 100px 0 64px; min-height: auto; }
  .ph-hero-text h1 { font-size: 2.2rem; }
  .ph-features { grid-template-columns: 1fr; }
  .ph-steps { grid-template-columns: 1fr; }
  .ph-nav { display: none; }
  .ph-nav-toggle { display: flex; }
  .ph-footer-grid { grid-template-columns: 1fr; }
  .ph-contact-grid { grid-template-columns: 1fr; }
  .ph-form-card { padding: 24px; }
  .ph-info-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-card-grid { grid-template-columns: 1fr; }
  .ph-heading { margin-bottom: 40px; }
  .ph-game-info { flex-direction: column; align-items: flex-start; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .ph-wrap { padding: 0 16px; }
  .ph-header-inner { padding: 0 16px; }
  .ph-hero-actions { flex-direction: column; }
  .ph-hero-actions .ph-btn { width: 100%; justify-content: center; }
  .ph-step-row { grid-template-columns: 56px 1fr; gap: 16px; }
  .ph-info-grid { grid-template-columns: 1fr; }
  .ph-footer-grid { gap: 28px; }
  .ph-toast-wrap { left: 16px; right: 16px; bottom: 16px; }
  .ph-toast { max-width: 100%; }
}
