/* ============================================
   Project unique config: UltimateSlider.com

   CSS architecture: OOCSS (structure objects + skin classes)
   Palette: Pacific Aurora Spectrum
   Effect: Gradient Mesh atmospheres
   Typography: Space Mono (headings) + IBM Plex Sans (body)
   Buttons: 3D Effect travel tokens
   HTML classes: Feature-based (hero-banner, game-burst, etc.)
   JS naming: Short names (navBtn, menuBox, popCtl)
   ============================================ */

:root {
    --aurora-lagoon: #006f8e;
    --kiwi-gold: #f2a900;
    --reef-cloud: #dff3ff;
    --fern-shadow: #163832;
    --volcano-ember: #f45d48;
    --sunrise-violet: #7b3ea8;
    --foam-white: #f7fbff;
    --night-sky: #0b1b26;
    --accent-lime: #9be564;
    --alert-crimson: #c21807;
    --success-mint: #2ecc71;
    --shadow-soft: 0 18px 36px rgba(12, 41, 56, 0.25);
    --radius-medium: 18px;
    --radius-round: 32px;
    --font-heading: 'Space Mono', monospace;
    --font-body: 'IBM Plex Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--fern-shadow);
    background: var(--reef-cloud);
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-image: radial-gradient(circle at 12% 18%, rgba(243, 188, 73, 0.35) 0%, transparent 55%),
                      radial-gradient(circle at 88% 22%, rgba(122, 62, 168, 0.35) 0%, transparent 45%),
                      radial-gradient(circle at 50% 80%, rgba(0, 111, 142, 0.25) 0%, transparent 60%),
                      linear-gradient(180deg, var(--foam-white) 0%, var(--reef-cloud) 100%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* == OOCSS STRUCTURAL OBJECTS == */

.frame-shell {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

.layout-row {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

.layout-column {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.surface-panel {
    border-radius: var(--radius-medium);
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.surface-strip {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.text-overline {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sunrise-violet);
}

.headline-alpha {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    color: var(--fern-shadow);
    overflow-wrap: anywhere;
    hyphens: auto;
    text-wrap: balance;
}

.headline-beta {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    overflow-wrap: anywhere;
    hyphens: auto;
    text-wrap: balance;
}

.body-copy {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}

.action-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 2.6rem;
    border-radius: var(--radius-round);
    background: var(--kiwi-gold);
    color: var(--night-sky);
    font-weight: 700;
    box-shadow: 0 6px 0 rgba(22, 56, 50, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.action-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 0 rgba(22, 56, 50, 0.4);
}

.action-cta:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(22, 56, 50, 0.5);
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.grid-flow {
    display: flex;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    justify-content: center;
    flex-wrap: wrap;
}

.card-block {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    min-height: 100%;
    border-radius: var(--radius-medium);
    padding: clamp(1.4rem, 3vw, 1.9rem);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* == SKIN CLASSES == */

.skin-hero {
    background: radial-gradient(circle at 12% 20%, rgba(242, 169, 0, 0.28) 0%, transparent 55%),
                radial-gradient(circle at 82% 18%, rgba(123, 62, 168, 0.35) 0%, transparent 60%),
                linear-gradient(135deg, rgba(223, 243, 255, 0.9) 0%, rgba(0, 111, 142, 0.18) 100%);
}

.skin-card-neutral {
    background: rgba(255, 255, 255, 0.92);
}

.skin-card-ember {
    background: linear-gradient(155deg, rgba(244, 93, 72, 0.15), rgba(0, 111, 142, 0.15));
}

.skin-card-night {
    background: linear-gradient(180deg, rgba(11, 27, 38, 0.9), rgba(11, 27, 38, 0.95));
    color: var(--reef-cloud);
}

.skin-outline {
    border: 2px solid rgba(0, 111, 142, 0.25);
}

/* Header */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 111, 142, 0.08);
}

.header-inner {
    width: min(1200px, 92vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    gap: 1.5rem;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    color: var(--fern-shadow);
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--aurora-lagoon), var(--sunrise-violet));
    display: grid;
    place-items: center;
    color: var(--foam-white);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.free-badge {
    background: var(--success-mint);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    animation: badgePulse 2.4s ease-in-out infinite;
}

.nav-hub {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link-list a {
    font-weight: 600;
    color: var(--fern-shadow);
}

.nav-action {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    color: var(--fern-shadow);
}

.nav-action svg {
    width: 28px;
    height: 28px;
}

.mobile-sheet {
    position: fixed;
    top: 72px;
    right: clamp(1rem, 4vw, 2rem);
    left: clamp(1rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.1rem;
    z-index: 999;
}

.mobile-sheet a {
    font-weight: 600;
}

/* Hero */

.hero-banner {
    padding-top: 140px;
    padding-bottom: clamp(4rem, 6vw, 5rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.8rem, 4vw, 3rem);
    align-items: center;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle at 40% 40%, rgba(242, 169, 0, 0.25), transparent 60%),
                radial-gradient(circle at 65% 60%, rgba(123, 62, 168, 0.3), transparent 70%);
    filter: blur(10px);
    z-index: 0;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
}

.highlight-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.highlight-badges .tag-badge {
    background: rgba(0, 111, 142, 0.12);
    color: var(--fern-shadow);
}

/* Cards */

.game-burst img {
    border-radius: var(--radius-medium);
}

.game-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-meta strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.play-trigger {
    margin-top: auto;
    align-self: flex-start;
    background: var(--volcano-ember);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-round);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 0 rgba(192, 24, 7, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.play-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 rgba(192, 24, 7, 0.4);
}

.play-trigger:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 rgba(192, 24, 7, 0.5);
}

/* FAQ */

.faq-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-panel {
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.4rem;
}

.faq-panel summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--aurora-lagoon);
}

.faq-panel summary::-webkit-details-marker {
    display: none;
}

.faq-panel[open] {
    border: 2px solid rgba(0, 111, 142, 0.22);
}

/* Testimonials */

.story-carousel {
    display: flex;
    gap: clamp(1.2rem, 3vw, 2rem);
    justify-content: center;
    flex-wrap: wrap;
}

.story-card {
    flex: 0 0 auto;
    width: clamp(280px, 28vw, 360px);
    padding: clamp(1.4rem, 3vw, 1.8rem);
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.story-author {
    font-weight: 700;
    color: var(--sunrise-violet);
}

/* Leaderboard */

.rank-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 1.6rem);
}

.rank-card {
    width: clamp(220px, 20vw, 260px);
    border-radius: var(--radius-medium);
    padding: 1.2rem 1.4rem;
    background: rgba(0, 111, 142, 0.12);
    color: var(--fern-shadow);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.rank-card strong {
    font-size: 1.4rem;
}

/* Disclaimer */

.disclaimer-section {
    background: linear-gradient(135deg, rgba(11, 27, 38, 0.95), rgba(22, 56, 50, 0.95));
    color: var(--reef-cloud);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.disclaimer-inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.disclaimer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.disclaimer-badges .badge {
    background: rgba(242, 169, 0, 0.28);
    color: var(--reef-cloud);
    border-radius: var(--radius-round);
    padding: 0.45rem 1.1rem;
    font-weight: 700;
}

/* Footer */

.site-footer {
    background: var(--night-sky);
    color: var(--reef-cloud);
    padding: clamp(2.2rem, 4vw, 3rem) 0;
}

.footer-grid {
    width: min(1100px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1.4rem, 3vw, 2rem);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.compliance-strip {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.compliance-logo {
    height: 40px;
    width: auto !important;
    background: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 111, 142, 0.2);
    opacity: 0.85;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.compliance-logo:hover {
    opacity: 1;
    box-shadow: 0 0 12px rgba(242, 169, 0, 0.45);
}

.copyright-line {
    margin-top: 1.8rem;
    font-size: 0.85rem;
    text-align: center;
}

/* Popups */

.age-gate,
.cookie-banner {
    position: fixed;
    z-index: 1200;
}

.age-gate {
    inset: 0;
    background: rgba(11, 27, 38, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.age-card {
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-medium);
    padding: clamp(1.8rem, 4vw, 2.2rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.age-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-banner {
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    background: linear-gradient(135deg, rgba(11, 27, 38, 0.95), rgba(0, 111, 142, 0.85));
    color: #fff;
    border-radius: var(--radius-medium);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    gap: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-actions button {
    flex: 1;
    border: none;
    border-radius: var(--radius-round);
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-accept {
    background: var(--success-mint);
    color: #fff;
}

.cookie-policy-link {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.alert-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Content pages shared elements */

.sub-hero {
    padding-top: 120px;
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.breadcrumb-trail {
    font-size: 0.85rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: var(--aurora-lagoon);
}

.article-shell {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-medium);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.5rem;
}

.table-of-contents {
    border: 1px solid rgba(0, 111, 142, 0.24);
    border-radius: var(--radius-medium);
    padding: 1rem 1.2rem;
    background: rgba(223, 243, 255, 0.6);
}

.table-of-contents h3 {
    margin-top: 0;
}

.table-of-contents a {
    color: var(--aurora-lagoon);
}

.article-meta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--fern-shadow);
}

.article-meta span {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-footer a {
    color: var(--sunrise-violet);
    font-weight: 600;
}

/* Guides, reviews lists */

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.4rem, 3vw, 2rem);
}

.list-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-medium);
    padding: clamp(1.4rem, 3vw, 1.9rem);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list-card .tag-badge {
    background: rgba(242, 169, 0, 0.18);
    color: var(--night-sky);
}

.review-score {
    font-weight: 700;
    color: var(--aurora-lagoon);
}

/* Forms */

.form-zone {
    display: grid;
    gap: 1.2rem;
}

.form-zone label {
    font-weight: 600;
}

.form-zone input,
.form-zone textarea,
.form-zone select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(22, 56, 50, 0.22);
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.form-zone button {
    justify-self: flex-start;
}

.tab-switcher {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-switcher button {
    border: none;
    border-radius: var(--radius-round);
    padding: 0.7rem 1.6rem;
    background: rgba(0, 111, 142, 0.16);
    color: var(--fern-shadow);
    font-weight: 600;
    cursor: pointer;
}

.tab-switcher .is-active {
    background: var(--aurora-lagoon);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.is-visible {
    display: block;
}

.success-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-mint);
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    display: none;
    z-index: 1500;
    font-weight: 600;
}

/* Utility classes */

.text-center {
    text-align: center;
}

.text-contrast {
    color: var(--reef-cloud);
}

.bg-night {
    background: var(--night-sky);
    color: var(--reef-cloud);
}

.mt-gap {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(46, 204, 113, 0);
    }
}

/* Responsive */

@media (max-width: 900px) {
    .nav-link-list {
        display: none;
    }
    .nav-action {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .grid-flow,
    .layout-row {
        flex-direction: column;
        align-items: center;
    }
    .card-block {
        width: 100%;
        max-width: 380px;
    }
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
    .hero-banner {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 0.8rem;
    }
    .brand-cluster {
        gap: 0.6rem;
    }
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    .action-cta {
        width: 100%;
        justify-content: center;
    }
}
