:root {
    --bg: #0b0a12;
    --panel: #121026;
    --panel2: #0f0e1d;
    --text: #f4f3ff;
    --muted: #b6b0d6;
    --line: rgba(255, 255, 255, .08);
    --accent1: #7c3aed;
    /* viola */
    --accent2: #ff8a00;
    /* arancio */
    --accent3: #00e5ff;
    /* blu elettrico */
    --ok: #2efc8f;
    --shadow: 0 12px 40px rgba(0, 0, 0, .45);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background:
        radial-gradient(900px 500px at 20% 0%, rgba(124, 58, 237, .30), transparent 60%),
        radial-gradient(700px 500px at 85% 15%, rgba(255, 138, 0, .25), transparent 55%),
        radial-gradient(500px 450px at 70% 90%, rgba(0, 229, 255, .12), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.45;
    overflow-x: hidden;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAV */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(11, 10, 18, .78), rgba(11, 10, 18, .55));
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 138, 0, .9), rgba(124, 58, 237, .9) 45%, rgba(12, 12, 26, .9) 100%);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, .45);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    /* box-shadow: 0 0 10px rgba(124, 58, 237, 0.5); */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand:hover .brand-logo {
    transform: rotate(10deg) scale(1.1);
}

.brand:hover .logo {
    transform: rotate(10deg) scale(1.1);
}

.brand h1 {
    font-size: 14px;
    margin: 0;
    font-weight: 800;
    letter-spacing: .4px;
}

.brand span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.chip {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(18, 16, 38, .55);
    font-size: 13px;
    color: var(--muted);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chip:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, .35);
    color: var(--text);
    background: rgba(0, 229, 255, 0.1);
}

.btn {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(135deg, rgba(124, 58, 237, .95), rgba(255, 138, 0, .92));
    box-shadow: 0 10px 30px rgba(124, 58, 237, .20);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: saturate(1.2);
    box-shadow: 0 5px 20px rgba(124, 58, 237, .50);
    /* Tighter, stronger glow */
}

/* HERO */
.hero {
    padding: 40px 0 10px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    align-items: stretch;
}

.card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(18, 16, 38, .78), rgba(15, 14, 29, .70));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(124, 58, 237, .3);
}

.hero-left {
    padding: 18px 24px 20px;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff2d55;
    box-shadow: 0 0 0 4px rgba(255, 45, 85, .15);
    animation: pulse 1.4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(255, 45, 85, .15);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(255, 45, 85, 0);
    }
}

.hero-title {
    margin: 4px 0 10px;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: -.8px;
}

.hero-title-flex {
    display: flex;
    flex-direction: column;
}

.mascot-container {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 10px;
}

.gradient {
    background: linear-gradient(90deg, #7c3aed, #ff8a00, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: sheen 3s infinite linear;
    background-size: 200% auto;
}

.fun-title {
    background: linear-gradient(to right, #ffbe0b, #fb5607, #ff006e, #8338ec, #3a86ff, #ffbe0b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 3s linear infinite, bounce-text 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes rainbow {
    to {
        background-position: 200% center;
    }
}

@keyframes bounce-text {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-2deg);
    }

    75% {
        transform: translateY(-3px) rotate(2deg);
    }
}

/* Mega COMP Style */
.mega-comp {
    font-size: 100px;
    /* Bello grosso! */
    line-height: 1;
    font-weight: 1000;
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(to bottom right, #FFD700, #FFA500, #FF4500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 0px rgba(184, 58, 26, 0.5));
    animation: rubberBand 2s infinite ease-in-out;
    margin-top: 0;
}

/* Mascot COMP Style */
.comp-mascot {
    height: 190px;
    /* Ridotta del 30% per bilanciare meglio */
    width: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    animation: mascot-intro 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        mascot-bob 3s ease-in-out infinite 0.8s;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes mascot-intro {
    from {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes mascot-bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes rubberBand {

    0%,
    100% {
        transform: scale3d(1, 1, 1);
    }

    30% {
        transform: scale3d(1.15, 0.85, 1);
    }

    40% {
        transform: scale3d(0.85, 1.15, 1);
    }

    50% {
        transform: scale3d(1.05, 0.95, 1);
    }

    65% {
        transform: scale3d(0.98, 1.02, 1);
    }

    75% {
        transform: scale3d(1.02, 0.98, 1);
    }
}

@keyframes sheen {
    to {
        background-position: 200% center;
    }
}

.hero-sub {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 56ch;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn2 {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    background: rgba(18, 16, 38, .65);
    border: 1px solid rgba(0, 229, 255, .30);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn2:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, .8);
    background: rgba(0, 229, 255, .1);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.1);
}

.hero-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Marquee Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-track {
    will-change: transform;
    /* Performance optimization */
}

/* Pause animation on hover so user can inspect emotes */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
    cursor: pointer;
}

.marquee-track img:hover {
    transform: scale(2.2) rotate(6deg) translateY(-8px);
    z-index: 100;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.4));
}

.stat {
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11, 10, 18, .35);
    transition: transform 0.2s ease;
}

.stat:hover {
    transform: scale(1.05);
    background: rgba(11, 10, 18, .6);
}

.stat b {
    display: block;
    font-size: 16px;
    letter-spacing: .2px;
}

.stat small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    margin-top: 4px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* Standard gap */
    height: 100%;
}

.media {
    position: relative;
    min-height: 380px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)),
        radial-gradient(180px 160px at 30% 35%, rgba(255, 138, 0, .55), transparent 65%),
        radial-gradient(260px 200px at 60% 45%, rgba(124, 58, 237, .55), transparent 70%),
        radial-gradient(220px 180px at 60% 80%, rgba(0, 229, 255, .22), transparent 70%),
        #0c0b16;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 18px;
    transition: transform 0.3s ease;
}

.media:hover {
    transform: scale(1.01);
}

.mock-video {
    position: absolute;
    inset: 14px 14px 74px 14px;
    border-radius: 18px;
    background: #000;
    /* Fallback */
    overflow: hidden;
    /* Ensure iframe corners match */
}

/* iframe injected by Twitch */
.mock-video iframe {
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

@keyframes grain {

    0%,
    100% {
        background-position: 0 0;
    }

    50% {
        background-position: 5px 5px;
    }
}


.mock-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(46, 252, 143, .25);
    background: rgba(0, 0, 0, .35);
    color: rgba(230, 255, 245, .95);
    font-weight: 900;
    font-size: 13px;
    backdrop-filter: blur(4px);
}

.ok {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(46, 252, 143, .12);
}

.quick {
    margin-top: 0;
    /* Handled by parent gap */
    flex: 1;
    /* Grow to fill space */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick .mini {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(18, 16, 38, .55);
    transition: all 0.2s ease;
    height: 100%;
    /* Fill the growing grid cell */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically if needed, or flex-end for short */
}

.quick .mini:hover {
    background: rgba(18, 16, 38, .8);
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, .4);
}

.mini h3 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 1000;
}

.mini p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* SECTIONS */
section {
    padding: 26px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: .2px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tile {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(18, 16, 38, .55);
    transition: all 0.2s ease;
}

.tile:hover {
    background: rgba(25, 23, 50, .55);
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, .3);
}

/* Giveaway Special Layout */
.giveaway-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.8fr;
    /* Giveaway + Wide Partner */
    gap: 12px;
}

.giveaway-card {
    min-height: 320px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #1a1a1a;
    /* Fallback */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.giveaway-card:hover {
    border-color: #ff5400 !important;
    box-shadow: 0 10px 40px rgba(255, 84, 0, 0.15);
    transform: translateY(-4px) scale(1.02);
}

.giveaway-title {
    margin: 0 !important;
    color: #fff !important;
    font-size: 42px !important;
    line-height: 0.9;
    font-weight: 900 !important;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transform: rotate(-2deg);
}

.giveaway-brand {
    color: #ff5400;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 5px 0 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transform: rotate(-2deg);
}

#ig-timer {
    margin-top: 8px !important;
    font-size: 28px !important;
    /* Più piccolo */
    font-family: 'Titan One', cursive;
    font-weight: 400 !important;
    color: #ff5400 !important;
    background: transparent !important;
    padding: 0 !important;
    white-space: nowrap;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    letter-spacing: 1px;
    transform: rotate(2deg);
    animation: bounce-text 2s ease-in-out infinite;
    /* Animato */
}

.tile h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 1000;
}

.tile p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11, 10, 18, .30);
    transition: background 0.2s;
}

.row:hover {
    background: rgba(11, 10, 18, .60);
}

.row b {
    font-weight: 1000;
    font-size: 13px;
}

.row span {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.row.active-day {
    border-color: var(--accent2);
    /* Arancio */
    background: rgba(255, 138, 0, 0.15);
    box-shadow: 0 0 15px rgba(255, 138, 0, 0.1);
    transform: scale(1.02);
}

.row.active-day b,
.row.active-day span {
    color: white;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vid {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(18, 16, 38, .55);
    overflow: hidden;
    transition: .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vid:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, .30);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.thumb {
    height: 130px;
    background:
        radial-gradient(240px 120px at 30% 35%, rgba(255, 138, 0, .35), transparent 65%),
        radial-gradient(240px 140px at 60% 45%, rgba(124, 58, 237, .40), transparent 70%),
        rgba(255, 255, 255, .05);
    border-bottom: 1px solid var(--line);
    transition: filter 0.3s;
}

.vid:hover .thumb {
    filter: brightness(1.2);
}

.vid .body {
    padding: 12px;
}

.vid .body b {
    display: block;
    font-size: 13px;
    font-weight: 1000;
}

.vid .body small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-weight: 700;
}

.cta {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 229, 255, .20);
    background:
        radial-gradient(600px 260px at 10% 0%, rgba(124, 58, 237, .35), transparent 55%),
        radial-gradient(700px 260px at 90% 0%, rgba(255, 138, 0, .25), transparent 55%),
        rgba(18, 16, 38, .55);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    transition: transform 0.3s ease;
}

.cta:hover {
    transform: scale(1.01);
}

.cta h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 1000;
}

.cta p {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    max-width: 70ch;
}

footer {
    padding: 24px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

footer .foot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(18, 16, 38, .45);
    font-size: 12px;
    font-weight: 800;
}

/* Advertising */
.ad-banner {
    width: 100%;
    min-height: 90px;
    /* Altezza standard leaderboard */
    background: rgba(18, 16, 38, 0.4);
    border: 1px dashed var(--line);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    overflow: hidden;
}

.ad-text {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* Responseive Ads */
@media (min-width: 728px) {
    .ad-banner {
        min-height: 90px;
    }
}

/* Mobile Nav */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 960px) {
    .container {
        padding: 0 15px;
    }

    .nav-inner {
        padding: 10px 0;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 90;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 38px;
    }

    .brand {
        min-width: auto;
    }

    .quick {
        grid-template-columns: 1fr;
    }

    /* Make the Short card bigger on mobile */
    #hero-short {
        min-height: 220px !important;
    }


    /* Mobile Overrides for Hero & Mascot */
    .mega-comp {
        font-size: 60px;
        /* Smaller COMP for mobile */
    }

    .mascot-container {
        gap: 20px;
        /* Reduced gap */
        margin-top: 5px;
    }

    .comp-mascot {
        height: 120px;
        /* Smaller mascot */
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        justify-content: center;
        gap: 15px;
    }

    .stat {
        padding: 10px;
    }

    .marquee-track img {
        height: 36px;
        /* Slightly smaller emotes */
    }
}

/* Flashing Badge */
.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: #ff0000;
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: flashBadge 1s infinite alternate;
}

@keyframes flashBadge {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 10px 4px rgba(255, 0, 0, 0.3);
    }
}

/* COOKIE BANNER (Modal Style) */
.cookie-banner {
    display: none;
    /* Controlled by JS */
    position: fixed;
    inset: 0;
    /* Full screen overlay */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.cookie-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
    transform: translateY(0);
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-content h3 {
    margin: 0 0 15px;
    color: white;
    font-size: 20px;
}

.cookie-content p {
    margin: 0 0 25px 0;
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-small {
    background: var(--accent1);
    /* Use brand color */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-small:hover {
    transform: scale(1.05);
    background: var(--accent1-hover, #6d28d9);
}

.btn-text {
    background: transparent;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.btn-text:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* MODAL STYLES (Existing) */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(11, 10, 18, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1a1829;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* PARTNER LOGOS GRID */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
}

@media (max-width: 960px) {
    .partner-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        min-height: 200px;
    }
}

/* PARTNER BANNERS */
.partner-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    border: 2px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    /* Fill grid cell */
}

.partner-link:hover {
    transform: translateY(-5px) scale(1.05);
    /* Pop effect */
    border-color: #ff5400;
    /* Orange highlight */
    box-shadow: 0 10px 25px rgba(255, 84, 0, 0.25);
    z-index: 10;
}

.partner-link img {
    display: block;
    height: 100%;
    /* Fill container */
    width: 100%;
    /* Fill container */
    object-fit: cover;
    /* Crop to fit */
    transition: filter 0.3s;
}

.partner-link:hover img {
    filter: brightness(1.15);
    /* Light up */
}

/* SUBSCRIBE BUTTON */
.btn-sub {
    background: linear-gradient(45deg, #9146FF, #FFD700);
    /* Twitch Purple + Gold */
    background-size: 200% 200%;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
    animation: pulse-glow 2s infinite, gradient-move 3s ease infinite;
    transition: transform 0.2s, filter 0.2s;
}

.btn-sub:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    color: white;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(145, 70, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(145, 70, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(145, 70, 255, 0);
    }
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* MOBILE LAYOUT TWEAK FOR GIVEAWAY */
@media (max-width: 768px) {
    .giveaway-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .giveaway-card {
        min-height: 260px;
    }
}

/* MOBILE MENU HEADER (Hidden on Desktop) */
.mobile-menu-head {
    display: none;
}

@media (max-width: 960px) {

    /* More colorful mobile menu background */
    .nav-links {
        /* Override previous fixed bg */
        background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.25), transparent 60%),
            radial-gradient(circle at bottom left, rgba(255, 138, 0, 0.15), transparent 50%),
            #0e0d1a !important;
        justify-content: flex-start !important;
        /* Align top */
        padding: 0 !important;
        /* Reset padding to handle banner */
        gap: 0 !important;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 60px 24px 30px;
        /* Extra top padding for safe area */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(11, 10, 18, 1)),
            url('img/banner_hero.png') center / cover no-repeat;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-head img {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        border: 2px solid var(--accent1);
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    }

    .mobile-brand-text h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 1000;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .mobile-brand-text span {
        color: var(--accent3);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    /* Adjust links layout for new header */
    .nav-links>a.chip {
        width: 85%;
        margin: 0 auto 12px;
        text-align: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.05);
        padding: 14px;
        font-size: 15px;
        font-weight: 700;
    }

    .nav-links>a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .nav-links>a.btn {
        width: 85%;
        margin: 10px auto 0;
        justify-content: center;
        padding: 14px;
    }
}

/* GAMES PAGE WALL */
.game-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    width: 100%;
}

.game-card {
    background: #1a1829;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent1);
}

.game-cover {
    width: 100%;
    aspect-ratio: 3/4;
    /* Standard Twitch Ratio */
    overflow: hidden;
    background: #0b0a12;
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-cover img {
    transform: scale(1.05);
}

.game-info {
    padding: 12px;
    text-align: center;
}

.game-info h3 {
    font-size: 14px;
    color: white;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info span {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 600px) {
    .game-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .game-info h3 {
        font-size: 12px;
    }
}

/* FIX NAV LOGO SIZE */
.brand img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent1);
}

/* GAME SEARCH BAR */
.game-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    padding: 0 20px;
}

.game-search-input {
    width: 100%;
    padding: 16px 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 50px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    /* Centered Text */
}

.game-search-input:focus {
    border-color: var(--accent1);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.game-search-input::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .game-search-container {
        margin-bottom: 30px;
    }

    .game-search-input {
        padding: 14px 20px;
        font-size: 15px;
    }
}