/* =====================================================
   HALLOWEEN PARTY GAMES — Familio Games
   Isolated page styles
   ===================================================== */

.hpg-page {
  --hpg-orange: #ff8a1f;
  --hpg-orange-bright: #ffa52f;
  --hpg-yellow: #ffc107;
  --hpg-purple: #7c4dff;
  --hpg-bg: #080810;
  --hpg-bg-soft: #0d0d18;
  --hpg-card: #11111d;
  --hpg-border: rgba(255,255,255,.09);
  --hpg-muted: rgba(255,255,255,.68);
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(124,77,255,.09), transparent 27%),
    #080810;
  overflow: hidden;
}

.hpg-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; position: relative; }
.hpg-kicker { margin: 0 0 13px; color: var(--hpg-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hpg-page h1,.hpg-page h2,.hpg-page h3 { font-family: Sora, system-ui, sans-serif; }
.hpg-page h2 { margin: 0; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.06; letter-spacing: -.045em; }
.hpg-page p { color: rgba(255,255,255,.72); line-height: 1.72; }

.hpg-btn-primary,.hpg-btn-secondary { display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:11px 22px;border-radius:999px;font-weight:800;text-decoration:none; }
.hpg-btn-primary { background: linear-gradient(135deg,#ffbd11,#ff8a1f); color:#090909; border:0; box-shadow:0 13px 30px rgba(255,138,31,.17); }
.hpg-btn-primary:hover { color:#090909; transform:translateY(-1px); }
.hpg-btn-secondary { color:#fff;border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.02); }
.hpg-btn-secondary:hover { color:#fff;border-color:rgba(255,255,255,.42); }
.hpg-text-link { color:#ffb24b;text-decoration:none;font-weight:750; }
.hpg-text-link:hover { color:#ffd087; }

/* HERO */
.homepage .hpg-hero { position:relative;padding:86px 0 92px !important;background:radial-gradient(circle at 75% 30%,rgba(104,54,175,.2),transparent 34%),linear-gradient(180deg,#08080f,#0b0a13); }
.hpg-hero-grid { display:grid;grid-template-columns:minmax(0,.92fr) minmax(490px,1.08fr);gap:clamp(50px,7vw,100px);align-items:center; }
.hpg-breadcrumbs { display:flex;gap:9px;align-items:center;margin-bottom:25px;font-size:.78rem;color:rgba(255,255,255,.45); }
.hpg-breadcrumbs a { color:rgba(255,255,255,.66);text-decoration:none; }
.hpg-hero-copy h1 { max-width:720px;margin:0;font-size:clamp(3.1rem,5.5vw,5.6rem);line-height:.98;letter-spacing:-.06em;font-weight:750; }
.hpg-hero-copy h1 span { color:var(--hpg-orange-bright); }
.hpg-hero-lead { max-width:670px;margin:26px 0 0;font-size:clamp(1.05rem,1.4vw,1.2rem); }
.hpg-hero-text { max-width:650px;margin:16px 0 0; }
.hpg-hero-actions { display:flex;flex-wrap:wrap;gap:11px;margin-top:30px; }
.hpg-proof-row { display:flex;flex-wrap:wrap;gap:11px 20px;margin-top:25px;color:rgba(255,255,255,.67);font-size:.82rem;font-weight:650; }
.hpg-proof-row span::before { content:'✓';color:var(--hpg-yellow);margin-right:7px; }
.hpg-hero-visual { position:relative; }
.hpg-screen-shell { overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:24px;background:#11111b;box-shadow:0 35px 90px rgba(0,0,0,.44);transform:rotate(1deg); }
.hpg-screen-top { height:44px;display:flex;align-items:center;gap:9px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.07);color:rgba(255,255,255,.64);font-weight:700;letter-spacing:.08em; }
.hpg-live-dot { width:8px;height:8px;border-radius:50%;background:#35e77c;box-shadow:0 0 11px rgba(53,231,124,.7); }
.hpg-screen-shell img { width:100%;display:block;aspect-ratio:16/9;object-fit:cover; }
.hpg-floating-card { position:absolute;padding:13px 16px;border:1px solid rgba(255,255,255,.11);border-radius:16px;background:rgba(15,14,25,.94);box-shadow:0 15px 40px rgba(0,0,0,.34); }
.hpg-floating-card b { display:block;color:var(--hpg-orange-bright);font-size:1.28rem; }
.hpg-floating-card span { color:rgba(255,255,255,.67);font-size:.75rem; }
.hpg-floating-card-one { left:-30px;bottom:28px; }
.hpg-floating-card-two { right:-20px;top:42px; }
.hpg-web { position:absolute;pointer-events:none;opacity:.17;width:260px; }
.hpg-web-left { left:-65px;top:0; }
.hpg-bats { position:absolute;right:5%;top:70px;width:150px;opacity:.12;pointer-events:none; }

/* HEADINGS */
.hpg-section-heading { max-width:780px;margin-bottom:38px; }
.hpg-section-heading > p:last-child { margin:15px 0 0;max-width:680px; }
.hpg-section-heading-center { margin-left:auto;margin-right:auto;text-align:center; }
.hpg-section-heading-center > p:last-child { margin-left:auto;margin-right:auto; }

/* QUICK */
.homepage .hpg-quick-section { padding:52px 0 58px !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-quick-grid { display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start; }
.hpg-quick-copy p:first-child { margin-top:0; }
.hpg-quick-copy p:last-child { margin-bottom:0; }
.hpg-quick-copy strong { color:#fff; }

/* PICKER */
.homepage .hpg-picker-section { padding:66px 0 76px !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-picker-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.hpg-picker-card { padding:24px;border:1px solid var(--hpg-border);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));text-decoration:none;color:#fff;transition:.2s ease; }
.hpg-picker-card:hover { color:#fff;transform:translateY(-3px);border-color:rgba(255,138,31,.33); }
.hpg-picker-card > span { display:block;font-size:1.55rem;margin-bottom:16px; }
.hpg-picker-card small { display:block;color:var(--hpg-orange-bright);font-size:.64rem;letter-spacing:.12em;font-weight:800;margin-bottom:8px; }
.hpg-picker-card strong { display:block;font-family:Sora,sans-serif;font-size:1.06rem;margin-bottom:9px; }
.hpg-picker-card p { margin:0;font-size:.88rem;line-height:1.55; }

/* GAMES */
.homepage .hpg-games-section { padding:76px 0 80px !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-featured-game { display:grid;grid-template-columns:1.08fr .92fr;gap:42px;padding:38px;border:1px solid rgba(255,138,31,.2);border-radius:28px;background:radial-gradient(circle at 90% 20%,rgba(124,77,255,.13),transparent 38%),linear-gradient(145deg,rgba(255,138,31,.055),rgba(255,255,255,.018));margin-bottom:28px; }
.hpg-game-number { color:rgba(255,255,255,.18);font-family:Sora,sans-serif;font-size:3.1rem;font-weight:800;line-height:1; }
.hpg-game-tag { margin:10px 0;color:var(--hpg-orange-bright);font-size:.69rem;font-weight:800;letter-spacing:.11em; }
.hpg-featured-game h3 { margin:0 0 14px;font-size:clamp(2rem,3.4vw,3.35rem);letter-spacing:-.045em; }
.hpg-feature-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin:21px 0;color:rgba(255,255,255,.82);font-size:.88rem; }
.hpg-feature-list span::first-letter { color:var(--hpg-yellow); }
.hpg-featured-actions { display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px; }
.hpg-featured-visual { position:relative;display:flex;align-items:center; }
.hpg-featured-visual img { width:100%;border-radius:19px;border:1px solid rgba(255,255,255,.11);box-shadow:0 22px 55px rgba(0,0,0,.35); }
.hpg-featured-price { position:absolute;right:18px;bottom:18px;padding:11px 15px;border-radius:14px;background:rgba(8,8,16,.93);border:1px solid rgba(255,255,255,.12); }
.hpg-featured-price small { display:block;color:rgba(255,255,255,.54);font-size:.58rem;letter-spacing:.1em; }
.hpg-featured-price strong { color:var(--hpg-yellow);font-size:1.35rem; }
.hpg-game-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.hpg-game-card { padding:25px 26px;border:1px solid var(--hpg-border);border-radius:20px;background:rgba(255,255,255,.023); }
.hpg-game-card-top { display:flex;justify-content:space-between;align-items:center;margin-bottom:15px; }
.hpg-game-card-top span { color:var(--hpg-orange-bright);font-weight:850;font-size:.76rem;letter-spacing:.1em; }
.hpg-game-card-top em { color:rgba(255,255,255,.42);font-size:.72rem;font-style:normal; }
.hpg-game-card h3 { margin:0 0 10px;font-size:1.22rem; }
.hpg-game-card p { margin:0 0 15px;font-size:.92rem; }
.hpg-mini-meta { padding-top:13px;border-top:1px solid rgba(255,255,255,.07);color:rgba(255,255,255,.51);font-size:.74rem; }
.hpg-mini-meta b { color:rgba(255,255,255,.76); }

/* CONVERSION */
.homepage .hpg-conversion-section { padding:82px 0 !important;border-top:1px solid rgba(255,255,255,.05);background:radial-gradient(circle at 76% 50%,rgba(124,77,255,.12),transparent 35%); }
.hpg-conversion-grid { display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center; }
.hpg-conversion-grid h2 { max-width:720px; }
.hpg-conversion-grid > div:first-child > p:last-of-type { max-width:700px;margin-top:18px; }
.hpg-conversion-points { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px;color:rgba(255,255,255,.8);font-size:.88rem; }
.hpg-price-card { padding:30px;border:1px solid rgba(255,138,31,.24);border-radius:24px;background:#11111c;text-align:center; }
.hpg-price-card > small { display:block;color:var(--hpg-orange-bright);font-weight:800;letter-spacing:.13em;font-size:.68rem; }
.hpg-price-card > strong { display:block;margin-top:7px;font-family:Sora,sans-serif;font-size:3.35rem;letter-spacing:-.05em; }
.hpg-price-card > span { color:rgba(255,255,255,.55); }
.hpg-price-card p { margin:13px auto 20px;max-width:300px;font-size:.88rem; }
.hpg-price-card .hpg-btn-primary { width:100%; }
.hpg-price-card .hpg-text-link { display:inline-block;margin-top:16px;font-size:.82rem; }

/* PLAN */
.homepage .hpg-plan-section { padding:76px 0 !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-timeline { display:grid;grid-template-columns:repeat(4,1fr);gap:14px; }
.hpg-time-item { padding:23px;border:1px solid var(--hpg-border);border-radius:18px;background:rgba(255,255,255,.022); }
.hpg-time-item b { display:block;color:var(--hpg-orange-bright);font-size:.77rem; }
.hpg-time-item span { display:block;margin:8px 0 9px;font-family:Sora,sans-serif;font-weight:700; }
.hpg-time-item p { margin:0;font-size:.85rem;line-height:1.55; }
.hpg-time-item-featured { border-color:rgba(255,138,31,.32);background:rgba(255,138,31,.05); }

/* AUDIENCE */
.homepage .hpg-audience-section { padding:76px 0 !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-audience-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.hpg-audience-grid article { padding:25px;border:1px solid var(--hpg-border);border-radius:20px;background:rgba(255,255,255,.022); }
.hpg-audience-grid article > span { font-size:1.55rem; }
.hpg-audience-grid h3 { margin:16px 0 10px;font-size:1.08rem; }
.hpg-audience-grid p { margin:0;font-size:.88rem;line-height:1.6; }
.hpg-audience-grid a { display:inline-block;margin-top:13px;color:#ffb24b;text-decoration:none;font-size:.82rem;font-weight:700; }

/* FAQ */
.homepage .hpg-faq-section { padding:78px 0 !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-faq-grid { display:grid;grid-template-columns:.78fr 1.22fr;gap:70px;align-items:start; }
.hpg-faq-grid > div:first-child p:last-child { margin-top:16px; }
.hpg-faq-list { display:grid;gap:10px; }
.hpg-faq-list details { border:1px solid var(--hpg-border);border-radius:16px;background:rgba(255,255,255,.022); }
.hpg-faq-list summary { cursor:pointer;padding:18px 20px;font-family:Sora,sans-serif;font-weight:650;list-style:none; }
.hpg-faq-list summary::-webkit-details-marker { display:none; }
.hpg-faq-list summary::after { content:'+';float:right;color:var(--hpg-orange-bright); }
.hpg-faq-list details[open] summary::after { content:'−'; }
.hpg-faq-list details p { margin:0;padding:0 20px 19px;font-size:.9rem; }

/* RESOURCES */
.homepage .hpg-resources-section { padding:76px 0 !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-resource-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.hpg-resource-grid a { padding:25px;border:1px solid var(--hpg-border);border-radius:20px;background:rgba(255,255,255,.022);text-decoration:none;color:#fff;transition:.2s ease; }
.hpg-resource-grid a:hover { color:#fff;transform:translateY(-3px);border-color:rgba(255,138,31,.3); }
.hpg-resource-grid small { color:var(--hpg-orange-bright);font-size:.65rem;font-weight:800;letter-spacing:.12em; }
.hpg-resource-grid strong { display:block;margin:10px 0;font-family:Sora,sans-serif;font-size:1.08rem; }
.hpg-resource-grid p { margin:0 0 15px;font-size:.87rem; }
.hpg-resource-grid b { color:#ffb24b;font-size:.82rem; }

/* FINAL */
.homepage .hpg-final-section { padding:52px 0 96px !important;border-top:1px solid rgba(255,255,255,.05); }
.hpg-final-card { display:flex;align-items:center;justify-content:space-between;gap:35px;padding:38px 42px;border:1px solid rgba(255,138,31,.22);border-radius:26px;background:linear-gradient(135deg,rgba(255,138,31,.065),rgba(124,77,255,.07)); }
.hpg-final-card h2 { font-size:clamp(2rem,3.3vw,3.2rem); }
.hpg-final-card p:last-child { margin:13px 0 0;max-width:650px; }
.hpg-final-actions { display:flex;gap:10px;flex-wrap:wrap;flex:0 0 auto; }

@media (max-width: 1050px) {
  .hpg-hero-grid,.hpg-featured-game,.hpg-conversion-grid,.hpg-faq-grid { grid-template-columns:1fr; }
  .hpg-hero-visual { max-width:760px; }
  .hpg-picker-grid,.hpg-audience-grid,.hpg-timeline { grid-template-columns:repeat(2,1fr); }
  .hpg-featured-visual { max-width:720px; }
  .hpg-faq-grid { gap:35px; }
}

@media (max-width: 700px) {
  .hpg-wrap { width:min(100% - 30px,1280px); }
  .homepage .hpg-hero { padding:56px 0 62px !important; }
  .hpg-hero-copy h1 { font-size:clamp(2.65rem,13vw,4rem); }
  .hpg-hero-actions { display:grid;grid-template-columns:1fr; }
  .hpg-hero-actions .btn { width:100%; }
  .hpg-floating-card { display:none; }
  .hpg-bats { display:none; }
  .hpg-quick-grid { grid-template-columns:1fr;gap:25px; }
  .hpg-picker-grid,.hpg-game-grid,.hpg-audience-grid,.hpg-resource-grid,.hpg-timeline,.hpg-conversion-points { grid-template-columns:1fr; }
  .hpg-featured-game { padding:24px; }
  .hpg-feature-list { grid-template-columns:1fr; }
  .hpg-featured-actions { align-items:flex-start;flex-direction:column; }
  .hpg-final-card { padding:29px 24px;align-items:flex-start;flex-direction:column; }
  .hpg-final-actions { width:100%;display:grid;grid-template-columns:1fr; }
  .hpg-final-actions .btn { width:100%; }

  .homepage .hpg-quick-section { padding:42px 0 48px !important; }
  .homepage .hpg-picker-section { padding:52px 0 58px !important; }
  .homepage .hpg-games-section { padding:58px 0 62px !important; }
  .homepage .hpg-conversion-section,.homepage .hpg-plan-section,.homepage .hpg-audience-section,.homepage .hpg-faq-section,.homepage .hpg-resources-section { padding:58px 0 !important; }
  .homepage .hpg-final-section { padding:42px 0 72px !important; }
}


/* =====================================================
   FINAL TEXT CONTRAST FIXES
   ===================================================== */

/* €4.99 price */
.hpg-price-card > strong {
  color: var(--hpg-yellow) !important;
}


/* 60-minute schedule card headings */
.hpg-time-item span {
  color: #ffffff !important;
}


/* FAQ questions */
.hpg-faq-list summary {
  color: #ffffff !important;
}


/* Slightly stronger contrast when FAQ is open */
.hpg-faq-list details[open] summary {
  color: #ffb24b !important;
}