:root {
  --ink: #09070d;
  --paper: #f3efff;
  --acid: #b56cff;
  --purple: #a273ff;
  --orange: #8149df;
  --green: #5b2eaa;
  --muted: #756d80;
}

body { background: #0a080e; color: #f7f3ff; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 8, 14, .96); border-color: #2e2538; backdrop-filter: blur(12px); }
.brand-mark { background: var(--purple); color: #09070d; }
.brand-logo { display: block; width: 150px; height: 58px; object-fit: contain; }
.footer-logo { width: 170px; height: 64px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.image-button { display: block; transition: transform .2s ease, filter .2s ease; }
.image-button img { display: block; width: 118px; height: auto; }
.image-button:hover { transform: translateY(-2px); filter: brightness(1.15); }
.header-partner-badge { display: block; width: 92px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.button { background: var(--purple); border-color: var(--purple); color: #09070d; }
.button:hover { background: #f3efff; border-color: #f3efff; }
.hero { position: relative; background: #070509 url("../uploads/fridayfriday-pirate-hero-clean.png?v=20260921") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 25%, rgba(7,5,9,.18) 48%, rgba(7,5,9,.82) 100%); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy { grid-column: 2; }
.hero-art { display: none; }
.hero h1 em { color: #0a080e; -webkit-text-stroke-color: #f3efff; text-shadow: 5px 5px 0 var(--purple); }
.hero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: .94; }
.hero-text, .section-heading > p { color: #aaa1b5; }
.app-download { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 590px; margin-top: 34px; padding: 15px 16px; background: rgba(13, 9, 18, .8); border: 1px solid #5c3d78; backdrop-filter: blur(12px); }
.app-download-copy { display: flex; flex-direction: column; gap: 3px; }
.app-download-copy span { color: #b56cff; font: 700 8px "Space Grotesk"; letter-spacing: .18em; }
.app-download-copy strong { font: 600 13px "Space Grotesk"; white-space: nowrap; }
.app-buttons { display: flex; gap: 8px; }
.store-button { min-width: 112px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; background: #050407; border: 1px solid #463451; color: #fff; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.store-button:hover { border-color: #b56cff; transform: translateY(-2px); }
.store-button > span:last-child { display: flex; flex-direction: column; }
.store-button small { color: #aaa1b5; font-size: 7px; line-height: 1.2; }
.store-button strong { font: 600 12px "Space Grotesk"; }
.store-icon { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; font-size: 15px; }
.store-icon svg { width: 22px; height: 22px; fill: currentColor; }
.android-icon { color: #a4e75d; }
.eyebrow span { background: var(--purple); }
.orbit { border-color: #3b3047; }
.card-main, .card-back { border-color: #f3efff; }
.status-pill { background: #15101d; border-color: #49385b; color: #f3efff; }
.ticker { background: var(--purple); color: #09070d; }
.ticker span { color: #f3efff; }
.games { background: #100c17; }
.game-card { border-color: #bd9cf7; color: #fff; }
.game-card:hover { box-shadow: 8px 8px 0 #bd9cf7; }
.game-orange { background: #7540ce; }
.game-green { background: #4a218a; }
.lobby-section { background: #100b17; border-top: 1px solid #342541; }
.lobby-heading h2 { color: #f7f3ff; }
.lobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lobby-card { overflow: hidden; background: #181021; border: 1px solid #392849; transition: transform .25s ease, border-color .25s ease; }
.lobby-card:hover { transform: translateY(-5px); border-color: #a273ff; }
.lobby-card img { display: block; width: 100%; aspect-ratio: 240 / 129; object-fit: cover; }
.lobby-card > div { padding: 20px; }
.lobby-card span { color: #b56cff; font: 700 9px "Space Grotesk"; letter-spacing: .16em; }
.lobby-card h3 { margin: 7px 0 8px; color: #f7f3ff; font: 600 22px "Space Grotesk"; letter-spacing: -.03em; }
.lobby-card p { margin: 0; color: #aaa1b5; font-size: 13px; line-height: 1.55; }
.lobby-note { margin: 22px 0 0; color: #746c7b; font-size: 11px; text-align: center; }
.story-section { display: grid; grid-template-columns: 80px minmax(280px, .85fr) minmax(320px, 1.15fr); gap: clamp(25px, 5vw, 80px); align-items: start; border-top: 1px solid #342541; background: #0d0912; }
.story-number { color: #b56cff; font: 700 13px "Space Grotesk"; letter-spacing: .15em; }
.story-title h2 { margin: 14px 0 0; font: 700 clamp(40px, 4.8vw, 66px)/.95 "Space Grotesk"; letter-spacing: -.06em; }
.story-copy { color: #b4acbc; font-size: 16px; line-height: 1.75; }
.story-copy > p { margin: 0 0 22px; }
.story-purple { background: #5b2eaa; }
.story-purple .story-number, .story-purple .story-copy { color: #f0e8ff; }
.story-purple .eyebrow { color: #dfc9ff; }
.story-dark { background: #050407; }
.community-section { background: #0b0710; border-top: 1px solid #342541; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.community-card { overflow: hidden; background: #171020; border: 1px solid #392849; }
.community-card img { display: block; width: 100%; aspect-ratio: 1080 / 315; object-fit: cover; }
.community-card > div { padding: 22px; }
.community-card h3 { margin: 0 0 8px; color: #f7f3ff; font: 600 22px "Space Grotesk"; }
.community-card p { margin: 0; color: #aaa1b5; line-height: 1.65; }
.community-advice { display: grid; grid-template-columns: 150px 1fr; gap: 30px; margin-top: 18px; padding: 22px; background: #5b2eaa; color: #fff; }
.community-advice strong { font: 600 18px "Space Grotesk"; }
.community-advice p { max-width: 850px; margin: 0; line-height: 1.65; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); background: #120c19; border-top: 1px solid #342541; }
.player-guide { background: #ece5f7; color: #120c19; }
.guide-heading { display: grid; grid-template-columns: .65fr 1fr .8fr; gap: clamp(25px, 6vw, 85px); align-items: end; margin-bottom: 55px; }
.guide-heading h2 { margin: 14px 0 0; font: 700 clamp(40px, 4.8vw, 66px)/.95 "Space Grotesk"; letter-spacing: -.06em; }
.guide-heading > p:last-child { color: #62596b; line-height: 1.7; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #b7abc4; border-left: 1px solid #b7abc4; }
.guide-grid article { min-height: 280px; padding: 28px; border-right: 1px solid #b7abc4; border-bottom: 1px solid #b7abc4; }
.guide-grid article > span { color: #7137ad; font: 700 12pt "Space Grotesk"; }
.guide-grid h3 { margin: 45px 0 12px; font: 600 23px "Space Grotesk"; letter-spacing: -.03em; }
.guide-grid p { margin: 0; color: #62596b; line-height: 1.65; }
.guide-reminder { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 22px 28px; background: #0a080e; color: #fff; }
.guide-reminder strong { color: #b56cff; font: 600 18px "Space Grotesk"; }
.guide-reminder p { margin: 0; line-height: 1.65; }
.faq-intro h2 { margin: 14px 0 22px; font: 700 clamp(40px, 4.8vw, 66px)/.95 "Space Grotesk"; letter-spacing: -.06em; }
.faq-intro > p:last-child { max-width: 390px; color: #aaa1b5; line-height: 1.7; }
.faq-list { border-top: 1px solid #49365c; }
.faq-list details { border-bottom: 1px solid #49365c; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; color: #f7f3ff; font: 600 18px "Space Grotesk"; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #b56cff; font-size: 24px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 45px 24px 0; color: #aaa1b5; line-height: 1.7; }
.feature-list { display: grid; gap: 0; }
.feature-list > div { display: grid; grid-template-columns: minmax(130px, .55fr) 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid #3d3049; }
.feature-list > div:last-child { border-bottom: 1px solid #3d3049; }
.feature-list strong { color: #f7f3ff; font: 600 15px "Space Grotesk"; }
.feature-list span { font-size: 14px; line-height: 1.6; }
.partners { background: #050407; }
.partners { grid-template-columns: 1fr; gap: 45px; }
.partner-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.partner-copy h2 { white-space: nowrap; font-size: clamp(28px, 4vw, 56px); }
.partner-copy > p:last-child { margin: 0; }
.partner-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner-assets img { width: 100%; height: 120px; max-height: none; object-fit: contain; }
.gallery { background: #130e1c; }
.upload-zone { background: #1d1528; border-color: #71578d; color: #f7f3ff; }
.upload-zone:hover, .upload-zone.dragging { background: #4b2672; border-color: #b56cff; }
.upload-zone small, .upload-note { color: #aaa1b5; }
.upload-note code { color: #cfaeff; }
footer { background: #6f35b5; color: #fff; }
.responsible { position: relative; background: #130e1c; border-top: 1px solid #342541; }
.responsible h2 { max-width: 760px; margin: 14px 0 22px; font: 700 clamp(44px, 5vw, 72px)/.95 "Space Grotesk"; letter-spacing: -.06em; }
.responsible > p:last-of-type { max-width: 720px; color: #aaa1b5; font-size: 17px; line-height: 1.7; }
.age-badge { position: absolute; right: clamp(24px, 7vw, 105px); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 130px; height: 130px; border: 2px solid #b56cff; border-radius: 50%; color: #b56cff; font: 700 42px "Space Grotesk"; }

@media (max-width: 900px) {
  .hero-copy { grid-column: 1; }
  .hero::after { background: rgba(7,5,9,.56); }
  .story-section { grid-template-columns: 45px 1fr; }
  .story-copy { grid-column: 2; }
  .lobby-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-copy { grid-template-columns: 1fr; }
  .partner-assets { display: flex; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .partner-assets img { flex: 0 0 72vw; scroll-snap-align: start; }
  .faq-section { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .guide-heading { grid-template-columns: 1fr; align-items: start; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand-logo { width: 125px; height: 48px; }
  .footer-logo { width: 150px; height: 58px; }
  .header-actions { gap: 2px; }
  .image-button img { width: 88px; }
  .header-partner-badge { display: none; }
  .hero h1 { font-size: 36px; }
  .app-download { align-items: flex-start; flex-direction: column; }
  .app-buttons { width: 100%; }
  .store-button { flex: 1; }
  .hero { background-position: 38% center; }
  .hero::after { background: linear-gradient(180deg, rgba(7,5,9,.78) 0%, rgba(7,5,9,.46) 62%, rgba(7,5,9,.2) 100%); }
  .hero-copy { grid-column: 1; }
  .hero-art { display: none; }
  .age-badge { position: static; transform: none; width: 90px; height: 90px; margin-top: 28px; font-size: 30px; }
  .story-section { grid-template-columns: 1fr; gap: 18px; }
  .story-copy { grid-column: 1; }
  .feature-list > div { grid-template-columns: 1fr; gap: 8px; }
  .lobby-grid { grid-template-columns: 1fr; }
  .community-advice { grid-template-columns: 1fr; gap: 8px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-reminder { grid-template-columns: 1fr; gap: 8px; }
}
