/**
 * INTEGRA FIGHT GAMES — Premium Frontend
 * Light Theme — Dark Header/Footer + White Content + Red Accents
 * Version 8.0
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
 /* Brand */
    --red:          #c70200;
    --red-dark:     #8b0000;
    --red-light:    rgba(199,2,0,.08);
    --red-glow:     rgba(199,2,0,.20);
    --gold:         #f5a623;
    --gold-dark:    #d4890f;

 /* Light theme backgrounds */
    --bg:           #f8f8fa;
    --bg-2:         #ffffff;
    --bg-card:      #ffffff;
    --bg-card-2:    #f3f4f8;
    --bg-dark:      #0a0a0f;
    --bg-dark-2:    #030305;

 /* Borders */
    --border:       #e5e7eb;
    --border-dark:  rgba(0,0,0,.12);
    --border-hover: rgba(199,2,0,.35);

 /* Text */
    --white:        #ffffff;
    --text:         #111827;
    --text-muted:   #6b7280;
    --text-dim:     #9ca3af;

 /* Dark section text */
    --text-inv:     rgba(255,255,255,.92);
    --text-inv-muted: rgba(255,255,255,.55);

    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-head:    'Oswald', 'Impact', sans-serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    --header-h:     86px;  /* clearance = visual 72px + 14px float gap */
    --header-visual: 72px; /* actual navbar height */
    --container:    1280px;
    --radius:       10px;
    --radius-lg:    18px;
    --radius-xl:    28px;

    --ease:         cubic-bezier(.4,0,.2,1);
    --trans:        .25s var(--ease);
    --trans-slow:   .5s var(--ease);

    --shadow-card:  0 2px 16px rgba(0,0,0,.08), 0 0 0 1px var(--border);
    --shadow-card-hover: 0 8px 32px rgba(0,0,0,.12), 0 0 0 1px var(--border-hover);
    --shadow-glow:  0 0 40px var(--red-glow);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background: #f8f8fa;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section      { padding: 96px 0; }
.section-sm   { padding: 64px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-inv); }
.section-card { background: var(--bg-card); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-xl  { font-family: var(--font-display); font-size: clamp(4rem,10vw,9rem); line-height: 1; letter-spacing: .04em; }
.display-lg  { font-family: var(--font-display); font-size: clamp(3rem,7vw,6rem); line-height: 1; }
.display-md  { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); line-height: 1; }
.display-sm  { font-family: var(--font-head);    font-size: clamp(1.5rem,3vw,2.5rem); }
.label-tag   { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .75rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 14px 32px;
    font-family: var(--font-head); font-size: .9375rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    border-radius: 6px; border: 2px solid transparent;
    transition: var(--trans); white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--red); color: var(--white); border-color: var(--red);
    box-shadow: 0 4px 20px rgba(230,57,70,.3);
}
.btn-primary:hover {
    background: var(--red-dark); border-color: var(--red-dark);
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230,57,70,.45);
}
.btn-outline {
    background: transparent; color: var(--text);
    border-color: rgba(17,24,39,.3);
}
.btn-outline:hover { border-color: var(--text); background: rgba(0,0,0,.05); }
.section-dark .btn-outline,
.page-header .btn-outline,
.hero .btn-outline {
    color: var(--white); border-color: rgba(255,255,255,.4);
}
.section-dark .btn-outline:hover,
.page-header .btn-outline:hover,
.hero .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-white {
    background: #fff; color: var(--red); border-color: #fff;
    font-weight: 800;
}
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3); color: var(--red-dark); }
.btn-gold {
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: #000; border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(245,166,35,.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,.4); }
.btn-ghost { background: rgba(0,0,0,.05); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(0,0,0,.09); color: var(--text); }
.section-dark .btn-ghost,
.cta-banner .btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.18); }
.section-dark .btn-ghost:hover,
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.12); }

.btn-lg  { padding: 18px 44px; font-size: 1.0625rem; }
.btn-sm  { padding: 10px 22px; font-size: .8125rem; }
.btn-xs  { padding: 7px 16px; font-size: .75rem; border-radius: 4px; }
.btn-block { width: 100%; }
.btn-icon { padding: 12px; border-radius: 50%; }

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 4px;
    font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
}
.badge-live       { background: var(--red); color: var(--white); }
.badge-upcoming   { background: rgba(199,2,0,.15); color: #c70200; border: 1px solid rgba(199,2,0,.3); }
.badge-completed  { background: rgba(255,255,255,.08); color: var(--text-muted); border: 1px solid var(--border); }
.badge-announced  { background: rgba(199,2,0,.15); color: #c70200; border: 1px solid rgba(199,2,0,.3); }
.badge-sold-out   { background: rgba(239,68,68,.12); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.badge-gold       { background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #000; }

.live-pulse { width: 8px; height: 8px; background: currentColor; border-radius: 50%; animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }

/* ============================================================
   LIVE TICKER BANNER
   ============================================================ */
.ticker-bar {
    background: #f0f0f0;
    border-top: none;
    border-bottom: 2px solid #c70200;
    height: 46px;
    position: relative;
    display: flex;
    align-items: stretch;
    z-index: 90;
}
/* Right fade */
.ticker-bar::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 80px;
    background: linear-gradient(to right, transparent, #f0f0f0);
    pointer-events: none;
    z-index: 2;
}
.ticker-label {
    flex-shrink: 0;
    background: #c70200;
    padding: 0 28px 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: #fff;
    gap: 8px;
    z-index: 3;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.live-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.6);
    animation: livePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
    50%      { transform: scale(.65); box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}
/* Clipping wrapper — keeps ticker-track at natural width */
.ticker-clip {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: ticker-scroll 40s linear infinite;
    will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    font-size: .8125rem;
    font-weight: 600;
    color: rgba(17,24,39,.65);
    letter-spacing: .03em;
    white-space: nowrap;
}
.ticker-item strong { color: #111827; font-weight: 700; }
.ticker-item::after {
    content: '◆';
    color: #c70200;
    font-size: .4rem;
    margin-left: 6px;
    opacity: .85;
}
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============================================================
   HEADER — Floating Pill Navbar
   ============================================================ */
.header {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1300px;
    height: var(--header-visual, 72px);
    background: rgba(6,6,10,.95);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50px;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 32px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.04) inset;
    transition: background var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.header.scrolled {
    background: rgba(4,4,7,.98);
    border-color: rgba(255,255,255,.13);
    box-shadow: 0 8px 48px rgba(0,0,0,.70), 0 1px 0 rgba(255,255,255,.05) inset;
}
.header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-visual, 72px);
    padding: 0 24px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 64px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); letter-spacing: .08em; }
.logo-text span { color: var(--red); }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-link {
    padding: 10px 16px;
    font-family: var(--font-head); font-size: .875rem; font-weight: 600;
    color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em;
    border-radius: 6px; position: relative; transition: var(--trans);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--red); }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%); width: 20px; height: 2px;
    background: var(--red); border-radius: 2px;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 200px; padding: 8px;
    background: rgba(10,10,16,.97); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: var(--trans);
    backdrop-filter: blur(20px);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
    display: block; padding: 10px 14px; font-size: .875rem;
    color: var(--text-muted); border-radius: 6px; font-weight: 500;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,.06); color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none; width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 8px; color: var(--white);
    background: rgba(255,255,255,.06); border: 1px solid var(--border);
    transition: var(--trans);
}
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: var(--trans); }
.nav-toggle span::before,
.nav-toggle span::after {
    content:''; position:absolute; left:0; width:100%; height:1.5px;
    background:currentColor; transition: var(--trans);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { bottom: -7px; }
.nav-toggle.active span  { background: transparent; }
.nav-toggle.active span::before { top:0; transform:rotate(45deg); }
.nav-toggle.active span::after  { bottom:0; transform:rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-main { display: none; }
    .nav-toggle { display: flex; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.7);
    z-index: 1001; opacity: 0; visibility: hidden;
    transition: var(--trans); backdrop-filter: blur(4px);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: 320px; max-width: 90vw; height: 100vh;
    background: rgba(8,8,16,.98); z-index: 1002;
    padding: 0; overflow-y: auto;
    transition: right .4s var(--ease);
    border-left: 1px solid var(--border);
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); border-radius: 8px; color: var(--text-muted);
    transition: var(--trans);
}
.mobile-menu-close:hover { color: var(--white); background: rgba(255,255,255,.12); }
.mobile-menu-close svg { width: 22px; height: 22px; }

.mobile-nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    font-family: var(--font-head); font-size: 1.125rem; font-weight: 600;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
    border-bottom: 1px solid var(--border);
    transition: var(--trans);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--white); background: rgba(255,255,255,.03); }
.mobile-nav-link.active { color: var(--red); }

/* ============================================================
   HERO — FULL CINEMATIC
   ============================================================ */
.hero {
    position: relative;
    min-height: min(100vh, 900px);
    display: flex; align-items: center;
    overflow: hidden;
    background: #0a0a0f url('../images/site-banner.jpg') center top / cover no-repeat;
}

/* Ticker inside hero — sits just below the floating navbar */
.ticker-in-hero {
    position: absolute;
    top: var(--header-h, 86px);
    left: 0; right: 0;
    z-index: 4;
    margin-top: 0 !important;
}
/* Subtle red accent at top-right */
.hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(199,2,0,.08) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 100%, rgba(199,2,0,.04) 0%, transparent 45%);
    pointer-events: none;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img, .hero-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: .75;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(105deg, rgba(3,3,5,.92) 0%, rgba(3,3,5,.65) 50%, rgba(3,3,5,.2) 100%);
}
.hero-overlay-bottom {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    height: 200px;
    background: linear-gradient(0deg, #0a0a0f 0%, transparent 100%);
}
.hero-content {
    position: relative; z-index: 3;
    width: 100%;
    padding: calc(var(--header-h, 86px) + 70px) 0 80px;
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(230,57,70,.12);
    border: 1px solid rgba(230,57,70,.3);
    border-radius: 6px;
}
.hero-eyebrow-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse-dot 1s infinite; }
.hero-eyebrow-text { font-family: var(--font-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--red); }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    color: #ffffff;
    line-height: .95;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero-title .accent { color: var(--red); }

.hero-info {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    margin-bottom: 32px; margin-top: 20px;
}
.hero-info-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .9375rem; color: rgba(255,255,255,.75); font-weight: 500;
}
.hero-info-item svg { width: 18px; height: 18px; color: var(--red); }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Fight card preview in hero */
.hero-fightcard {
    position: absolute; right: -40px; bottom: 0; z-index: 4;
    width: clamp(320px, 38vw, 600px);
    pointer-events: none;
}
.hero-fightcard img {
    width: 100%; height: auto; filter: drop-shadow(-20px 0 60px rgba(0,0,0,.7));
}

/* Small hero variant */
.hero-sm {
    min-height: auto;
    padding: calc(var(--header-h, 86px) + 60px) 0 60px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(199,2,0,.18) 0%, transparent 60%),
        linear-gradient(rgba(10,10,15,.40) 0%, rgba(10,10,15,.60) 100%),
        url('../images/site-banner.jpg') center center / cover no-repeat,
        #07070f;
    border-bottom: 1px solid rgba(199,2,0,.10);
}
.hero-sm .hero-overlay { background: linear-gradient(180deg, rgba(3,3,5,.6) 0%, rgba(3,3,5,.9) 100%); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 20px;
    margin-bottom: 48px;
}
.sec-head-left { flex: 1; }
.sec-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .2em;
    color: var(--red); margin-bottom: 10px;
}
.sec-tag::before {
    content: ''; display: block; width: 28px; height: 2px; background: var(--red);
}
.sec-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--text);
    line-height: 1;
}
.sec-title .accent { color: var(--red); }
.sec-subtitle { color: var(--text-muted); font-size: .9375rem; margin-top: 10px; }
/* Dark-section overrides */
.section-dark .sec-title { color: var(--text-inv); }
.sec-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--text-muted); transition: var(--trans);
    white-space: nowrap;
}
.sec-link:hover { color: var(--red); gap: 12px; }
.sec-link svg { width: 18px; height: 18px; }
.section-dark .sec-link { color: var(--text-inv-muted); }
.section-dark .sec-link:hover { color: var(--red); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--bg-card);
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
    text-align: center; padding: 8px 20px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem,5vw,4rem); color: var(--red);
    line-height: 1; display: block; letter-spacing: .03em;
}
.stat-label {
    font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .15em;
    color: var(--text-dim); margin-top: 6px; display: block;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.event-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    border-top: 3px solid var(--border);
    overflow: hidden; transition: var(--trans);
    display: flex; flex-direction: column;
}
.event-card:hover { border-color: var(--border-hover); border-top-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.event-card-img {
    position: relative; aspect-ratio: 3/4; overflow: hidden;
    display: block; background: var(--bg-card-2);
    flex-shrink: 0;
}
.event-card-img img { width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card-img img { transform: scale(1.04); }
.event-card-img-placeholder {
    width:100%; height:100%;
    background: linear-gradient(135deg,var(--bg-card),var(--bg-card-2));
    display:flex; align-items:center; justify-content:center;
}
.event-card-img-placeholder svg { width:60px; height:60px; color: var(--border-hover); }

.event-card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(3,3,5,.9) 0%, rgba(3,3,5,.1) 50%, transparent 100%);
}

.event-card-date-badge {
    position: absolute; top: 16px; left: 16px; z-index: 1;
    background: var(--red); color: var(--white);
    padding: 10px 14px; border-radius: 8px; text-align: center;
    box-shadow: 0 4px 16px rgba(230,57,70,.4);
}
.event-card-date-badge .day { display:block; font-family:var(--font-display); font-size:2rem; line-height:1; }
.event-card-date-badge .mon { display:block; font-family:var(--font-head); font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; margin-top:2px; }

.event-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.event-card-status { margin-bottom: 10px; }
.event-card-title {
    font-family: var(--font-head); font-size: 1.125rem; font-weight: 700;
    color: var(--text); line-height: 1.2; margin-bottom: 10px;
    text-transform: uppercase; letter-spacing: .03em;
}
.event-card-title a:hover { color: var(--red); }
.event-card-venue {
    display: flex; align-items: center; gap: 6px;
    font-size: .8125rem; color: var(--text-muted); margin-bottom: 18px; flex: 1;
}
.event-card-venue svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
.event-card-actions { display: flex; gap: 10px; }
.event-card-actions .btn { flex: 1; padding: 11px 14px; font-size: .75rem; }

/* Featured event */
.event-featured {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: var(--radius-xl);
    overflow: hidden; margin-bottom: 48px;
}
.event-featured-img {
    position: absolute; inset: 0; z-index: 0;
}
.event-featured-img img { width:100%; height:100%; object-fit:cover; object-position: center top; opacity:.06; }
.event-featured-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: none;
}
.event-featured-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr auto;
    gap: 48px; align-items: center;
    padding: 56px 56px 56px 56px;
}
.event-featured-tag { margin-bottom: 16px; }
.event-featured-title {
    font-family: var(--font-display);
    font-size: clamp(2rem,5vw,4rem);
    color: var(--text); line-height: .95;
    margin-bottom: 20px;
}
.event-featured-meta { display:flex; gap:24px; flex-wrap:wrap; margin-bottom:28px; }
.event-featured-meta-item {
    display:flex; align-items:center; gap:8px;
    font-size:.9375rem; color:var(--text-muted); font-weight:500;
}
.event-featured-meta-item svg { width:18px; height:18px; color:var(--red); }
.event-featured-subtitle {
    font-size: 1rem; color: var(--text-muted);
    margin: -12px 0 18px; font-style: italic;
}
/* Mini countdown inside featured card */
.fe-countdown {
    display: flex; align-items: flex-end; gap: 4px;
    margin-bottom: 28px;
}
.fe-cd-item { text-align: center; }
.fe-cd-num {
    display: block;
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 2.2rem; font-weight: 900; line-height: 1; color: #111827;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 7px; padding: .1em .5em; min-width: 60px;
}
.fe-cd-sep { font-size: 1.6rem; color: #c70200; font-weight: 900; padding-bottom: .7rem; }
.fe-cd-lbl {
    display: block; font-size: .58rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--text-dim); margin-top: 4px;
}
.event-featured-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* Fight card VS layout — Homepage Featured */
.fightcard {
    display: flex; align-items: stretch; gap: 0;
    background: #ffffff; border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.fightcard-fighter {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: 24px 16px; text-align: center; position: relative;
    background: #ffffff;
}
.fightcard-fighter-img {
    width: 110px; height: 135px; border-radius: 8px; overflow: hidden;
    background: #f0f0f0; margin-bottom: 12px;
    border: 2px solid var(--border);
    position: relative;
}
.fightcard-fighter-img img { width:100%; height:100%; object-fit:cover; object-position:top; }
.fightcard-fighter-name {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 1.3rem; font-weight: 900; color: #111827;
    text-transform: uppercase; letter-spacing: .04em; line-height: 1.1;
}
.fightcard-fighter-record { font-size: .75rem; color: var(--text-muted); margin-top: 5px; }
.fightcard-fighter-flag { font-size: 1.1rem; margin-top: 4px; }

.fightcard-vs {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center;
    padding: 0 20px; flex-shrink: 0;
    background: #f8f8fa;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}
.fightcard-vs-text {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #c70200, #8b0000);
    border-radius: 50%;
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 1.1rem; color: #fff; font-weight: 900;
    box-shadow: 0 0 20px rgba(199,2,0,.5);
    animation: vs-glow 2s ease-in-out infinite;
}
@keyframes vs-glow {
    0%,100% { box-shadow: 0 0 16px rgba(199,2,0,.4); }
    50%      { box-shadow: 0 0 28px rgba(199,2,0,.8); }
}
.fightcard-vs-class {
    font-family: var(--font-head); font-size: .6rem; font-weight: 700;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: .1em; margin-top: 8px; text-align: center;
}

/* ============================================================
   FIGHTER CARDS
   ============================================================ */
.fighters-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.fighter-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: var(--trans);
}
.fighter-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.fighter-card-img {
    position: relative; aspect-ratio: 2/3; overflow: hidden;
    display: block; background: var(--bg-card-2);
}
.fighter-card-img img { width:100%; height:100%; object-fit:cover; object-position:top center; transition: transform .6s var(--ease); }
.fighter-card:hover .fighter-card-img img { transform:scale(1.06); }
.fighter-card-img-placeholder {
    width:100%; height:100%;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(180deg,var(--bg-card),var(--red-dark));
    font-family:var(--font-display); font-size:3rem; color:rgba(255,255,255,.25);
}

.fighter-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(3,3,5,.95) 0%, rgba(3,3,5,.3) 45%, transparent 70%);
}
.fighter-card-champion {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: #000; padding: 4px 10px; border-radius: 4px;
    font-family: var(--font-head); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.fighter-card-body {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 16px;
}
.fighter-card-name {
    font-family: var(--font-head); font-size: .9375rem; font-weight: 700;
    color: var(--white); line-height: 1.2; text-transform: uppercase;
}
.fighter-card-name a:hover { color: var(--red); }
.fighter-card-nick { font-size: .75rem; color: var(--text-muted); font-style: italic; margin: 3px 0; }
.fighter-card-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.fighter-card-record { font-family:var(--font-head); font-size:.7rem; font-weight:700; color:var(--red); }
.fighter-card-weight { font-size:.7rem; color:var(--text-dim); }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.news-grid-3 { grid-template-columns: repeat(3,1fr); gap: 28px; }

.news-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: var(--trans); display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.news-card-img {
    display: block; aspect-ratio: 16/9; overflow: hidden;
    background: var(--bg-card-2); flex-shrink: 0;
}
.news-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.news-card:hover .news-card-img img { transform:scale(1.04); }
.news-card-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.news-card-img-placeholder svg { width:40px; height:40px; color:var(--border-hover); }

.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-cat {
    display: inline-block; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
    background: rgba(230,57,70,.12); color: var(--red);
    font-family: var(--font-head); font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    border: 1px solid rgba(230,57,70,.2);
}
.news-card-title {
    font-family: var(--font-body); font-size: .9375rem; font-weight: 700;
    color: var(--text); line-height: 1.4; margin-bottom: 10px;
    text-transform: none; letter-spacing: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-title a:hover { color: var(--red); }
.news-card-excerpt {
    font-size: .8125rem; color: var(--text-muted); line-height: 1.6; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 14px;
}
.news-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.news-card-date { font-size:.75rem; color:var(--text-dim); }
.news-card-link { font-family:var(--font-head); font-size:.75rem; font-weight:700; color:var(--red); text-transform:uppercase; letter-spacing:.06em; transition:var(--trans); }
.news-card-link:hover { color:var(--white); }

/* Big featured news card */
.news-featured {
    grid-column: span 2;
    display: grid; grid-template-columns: 1fr 1fr;
}
.news-featured .news-card-img { aspect-ratio: auto; min-height: 280px; }
.news-featured .news-card-title { font-size: 1.25rem; -webkit-line-clamp: 3; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 64px 0; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -60%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.06); border-radius: 50%;
}
.cta-banner::after {
    content: ''; position: absolute; bottom: -40%; left: -5%;
    width: 300px; height: 300px;
    background: rgba(0,0,0,.1); border-radius: 50%;
}
.cta-banner-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-banner-text h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,3.5rem); color:var(--white); line-height:1; }
.cta-banner-text p { color:rgba(255,255,255,.8); font-size:1rem; margin-top:8px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
    background: var(--bg-card-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}
.newsletter-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.newsletter-left .sec-title { font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--text); }
.newsletter-left p { color: var(--text-muted); font-size: .9375rem; margin-top: 12px; line-height: 1.7; }

.newsletter-form-wrap { }
.nl-input-row { display:flex; gap:0; margin-bottom:12px; }
.nl-input {
    flex: 1; padding: 16px 20px;
    background: var(--white); color: var(--text);
    border: 1.5px solid var(--border); border-right: none;
    border-radius: 8px 0 0 8px; font-size: .9375rem;
    transition: var(--trans); font-family: var(--font-body);
}
.nl-input::placeholder { color: var(--text-dim); }
.nl-input:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(199,2,0,.09); }
.nl-submit {
    padding: 16px 28px; background: var(--red); color: var(--white);
    border-radius: 0 8px 8px 0; font-family: var(--font-head);
    font-size: .875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; transition: var(--trans); white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
}
.nl-submit:hover { background: var(--red-dark); }
.nl-submit svg { width:18px; height:18px; }
.nl-consent {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer;
}
.nl-consent input[type=checkbox] { position:absolute; opacity:0; width:0; height:0; }
.nl-checkmark {
    flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 4px; position: relative; transition: var(--trans);
}
.nl-checkmark::after { content:''; position:absolute; left:6px; top:3px; width:5px; height:9px; border:solid var(--white); border-width:0 2px 2px 0; transform:rotate(45deg) scale(0); transition:transform .15s; }
.nl-consent input:checked + .nl-checkmark { background:var(--red); border-color:var(--red); }
.nl-consent input:checked + .nl-checkmark::after { transform:rotate(45deg) scale(1); }
.nl-consent-text { font-size:.8rem; color:var(--text-muted); line-height:1.6; }
.nl-consent-text a { color:var(--red); text-decoration:underline; }

/* ============================================================
   WHY IFG — FEATURE CARDS
   ============================================================ */
.ifg-features-section { background: var(--bg); }
.ifg-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.ifg-feat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.ifg-feat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.ifg-feat:hover { border-color: rgba(199,2,0,.35); transform: translateY(-4px); }
.ifg-feat:hover::before { transform: scaleX(1); }
.ifg-feat-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(199,2,0,.1);
    border: 1px solid rgba(199,2,0,.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    margin-bottom: 18px;
    transition: background .25s;
}
.ifg-feat:hover .ifg-feat-icon { background: rgba(199,2,0,.18); }
.ifg-feat-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 10px;
}
.ifg-feat-desc {
    font-size: .8625rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 900px) {
    .ifg-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ifg-features { grid-template-columns: 1fr; }
}

/* ============================================================
   PARTNERS — Ticker / Marquee
   ============================================================ */
.partners-section {
    padding: 52px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.partners-label {
    text-align: center;
    font-family: var(--font-head);
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* Ticker track */
.partners-ticker {
    position: relative;
    overflow: hidden;
}
/* Fade edges */
.partners-ticker::before,
.partners-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.partners-ticker::before { left: 0;  background: linear-gradient(to right, var(--bg-card), transparent); }
.partners-ticker::after  { right: 0; background: linear-gradient(to left,  var(--bg-card), transparent); }

.partners-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: partners-scroll 40s linear infinite;
    will-change: transform;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    flex-shrink: 0;
    transition: transform .25s;
}
.partner-logo:hover { transform: scale(1.08); }
.partner-logo img {
    max-height: 68px;
    max-width: 180px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}
.partner-logo span {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .06em;
    white-space: nowrap;
}

/* Static fallback row (for pages that use .partners-row instead of ticker) */
.partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 56px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    border-top: none;
    box-shadow: none;
    padding: 80px 0 40px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(199,2,0,.07) 0%, transparent 100%);
    pointer-events: none;
}
.footer-grid {
    display: grid; grid-template-columns: 2.2fr repeat(3,1fr);
    gap: 48px; margin-bottom: 56px;
    position: relative;
}
.footer-brand {}
.footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.footer-logo img { height:62px; filter:brightness(0) invert(1); object-fit:contain; max-width:200px; }
.footer-logo span { font-family:var(--font-display); font-size:1.75rem; color:var(--white); letter-spacing:.08em; }
.footer-logo-text { font-family:var(--font-display); font-size:1.75rem; color:var(--white); letter-spacing:.08em; }
.footer-logo-text span { color:var(--red); }
.footer-desc { font-size:.875rem; color:var(--text-inv-muted); line-height:1.8; margin-bottom:24px; max-width:300px; }
.footer-socials { display:flex; gap:10px; }
.footer-socials a {
    width: 42px; height: 42px; display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15);
    border-radius:8px; color:rgba(255,255,255,.65); transition:var(--trans);
}
.footer-socials a:hover { background:var(--red); border-color:var(--red); color:var(--white); transform:translateY(-3px); }
.footer-socials svg { width:18px; height:18px; }

.footer-col h4 {
    font-family: var(--font-head); font-size:.8125rem; font-weight:700;
    color:var(--white); text-transform:uppercase; letter-spacing:.12em;
    margin-bottom:20px; padding-bottom:12px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a {
    font-size:.875rem; color:var(--text-inv-muted); transition:var(--trans);
    display:flex; align-items:center; gap:6px;
}
.footer-col a:hover { color:var(--white); padding-left:4px; }

.footer-bottom {
    display:flex; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap:16px;
    padding-top:28px; border-top:1px solid rgba(255,255,255,.08);
    font-size:.8125rem; color:var(--text-inv-muted);
}
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a:hover { color:var(--white); }

/* ============================================================
   FORMS — PUBLIC
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display:block; font-size:.875rem; font-weight:600; color:var(--text); margin-bottom:8px; }
.form-label .req { color:var(--red); }
.form-input, .form-select, .form-textarea {
    display:block; width:100%; padding:14px 18px;
    background:var(--white); color:var(--text);
    border:1.5px solid var(--border); border-radius:8px;
    font-family:var(--font-body); font-size:.9375rem;
    transition:var(--trans); -webkit-appearance:none; appearance:none;
}
.form-input::placeholder, .form-textarea::placeholder { color:var(--text-dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline:none; border-color:var(--red); background:var(--white);
    box-shadow:0 0 0 4px rgba(199,2,0,.09);
}
.form-select {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 16px center; padding-right:48px;
}
.form-select option { background:var(--white); color:var(--text); }
.form-textarea { min-height:140px; resize:vertical; }
.form-hint { font-size:.8125rem; color:var(--text-dim); margin-top:6px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { display:flex; align-items:flex-start; gap:12px; padding:16px 20px; border-radius:8px; margin-bottom:20px; }
.alert svg { width:20px; height:20px; flex-shrink:0; margin-top:2px; }
.alert-success { background:rgba(16,185,129,.1); color:#10b981; border:1px solid rgba(16,185,129,.2); }
.alert-error   { background:rgba(230,57,70,.1); color:var(--red); border:1px solid rgba(230,57,70,.2); }
.alert-warning { background:rgba(245,158,11,.1); color:#f59e0b; border:1px solid rgba(245,158,11,.2); }
.alert-info    { background:rgba(59,130,246,.1); color:#3b82f6; border:1px solid rgba(59,130,246,.2); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:48px; }
.pagination a, .pagination span {
    display:flex; align-items:center; justify-content:center;
    min-width:44px; height:44px; padding:0 14px;
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:8px; font-family:var(--font-head); font-size:.8125rem; font-weight:600;
    color:var(--text-muted); transition:var(--trans);
}
.pagination a:hover { background:var(--bg-card-2); border-color:var(--border-hover); color:var(--red); }
.pagination .active { background:var(--red); border-color:var(--red); color:var(--white); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-red    { color: var(--red) !important; }
.text-gold   { color: var(--gold) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-white  { color: var(--white) !important; }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: .06em; }

.divider { height: 1px; background: var(--border); margin: 48px 0; }
main.main { min-height: 100vh; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .events-grid     { grid-template-columns: repeat(2,1fr); }
    .fighters-grid   { grid-template-columns: repeat(3,1fr); }
    .news-grid       { grid-template-columns: repeat(2,1fr); }
    .footer-grid     { grid-template-columns: repeat(2,1fr); }
    .newsletter-inner{ grid-template-columns: 1fr; gap: 40px; }
    .stats-row       { grid-template-columns: repeat(2,1fr); }
    .stats-row .stat-item:nth-child(2) { border-right: none; }
    .stats-row .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
    .stats-row .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
    .news-featured { grid-column: span 1; grid-template-columns: 1fr; }
    .news-featured .news-card-img { aspect-ratio: 16/9; min-height: auto; }
    .event-featured-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
}

@media (max-width: 900px) {
    .fighters-grid   { grid-template-columns: repeat(3,1fr); gap: 14px; }
    .hero            { min-height: min(90vh, 800px); align-items: center; }
    .hero-fightcard  { display: none; }
    .sec-head        { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-info       { gap: 14px; }
}

@media (max-width: 768px) {
    .section         { padding: 64px 0; }
    .events-grid     { grid-template-columns: 1fr; }
    .news-grid       { grid-template-columns: 1fr; }
    .fighters-grid   { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .stats-row       { grid-template-columns: repeat(2,1fr); }
    .footer-grid     { grid-template-columns: 1fr; }
    .footer-bottom   { flex-direction: column; text-align: center; }
    .cta-banner-inner{ flex-direction: column; text-align: center; }
    .hero-title      { font-size: clamp(2.8rem,10vw,5rem); }
    .nl-input-row    { flex-direction: column; gap: 10px; }
    .nl-input        { border-right: 1.5px solid var(--border); border-radius: 8px; }
    .nl-submit       { border-radius: 8px; justify-content: center; }
    .fightcard       { flex-direction: column; }
    .news-grid-3     { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .container       { padding: 0 16px; }
    .fighters-grid   { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .events-grid     { grid-template-columns: 1fr; }
    .hero            { min-height: 100svh; align-items: center; }
    .hero-content    { padding: 60px 0 48px; }
    .hero-actions    { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .stats-row       { grid-template-columns: 1fr 1fr; }
    .event-featured-inner { padding: 28px 20px; }
    .partners-row    { gap: 24px; }
    .footer-grid     { gap: 32px; }
    .news-grid       { grid-template-columns: 1fr; }
    .fighter-card-name { font-size: .8125rem; }
    .fighter-card-nick { display: none; }
}

@media (max-width: 380px) {
    .fighters-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-title    { font-size: clamp(2.4rem,12vw,4rem); }
}

/* ============================================================
   MOBILE — zusätzliche Fixes
   ============================================================ */

/* Floating Header auf sehr kleinen Screens */
@media (max-width: 400px) {
    .header { top: 8px; width: calc(100% - 16px); }
    .header-inner { padding: 0 16px; gap: 12px; }
    .logo img { height: 52px; }
}

/* Hero auf kleinen Screens */
@media (max-width: 540px) {
    .hero-eyebrow { font-size: .65rem; padding: 6px 12px; }
    .hero-info { gap: 10px; margin-top: 14px; margin-bottom: 20px; }
    .hero-info-item { font-size: .825rem; }
    .hero-actions { gap: 10px; }
}

/* hero-sm Abschnitte (Events, Fighter, Partner etc.) */
@media (max-width: 540px) {
    .hero-sm { padding: calc(var(--header-h, 86px) + 32px) 0 40px; }
}

/* Featured Event Card */
@media (max-width: 540px) {
    .event-featured-inner { padding: 20px 16px; gap: 20px; }
    .event-featured-title { font-size: clamp(1.6rem, 8vw, 2.5rem); }
    .event-featured-meta { gap: 12px; }
    .event-featured-actions { flex-direction: column; }
    .event-featured-actions .btn { text-align: center; justify-content: center; }
    .fe-cd-num { font-size: 1.6rem; min-width: 46px; }
}

/* Stats Bar */
@media (max-width: 480px) {
    .stats-bar { padding: 20px 0; }
    .stat-num { font-size: clamp(2rem, 8vw, 3rem); }
    .stat-label { font-size: .6rem; }
}

/* Fighter-Filterbar sticky — korrekter Abstand zum Header */
.fighters-filter-bar { top: var(--header-h, 86px); }

/* Fighter Seite — Hero Responsive */
@media (max-width: 540px) {
    .fighters-hero { padding: calc(var(--header-h, 86px) + 24px) 0 36px; }
    .fighters-hero-stats { flex-wrap: wrap; gap: 16px 24px; }
    .fighters-hero-inner { gap: 24px; }
    .fighters-filter-form { gap: 10px; }
    .filter-search { min-width: 100%; }
    .filter-groups { width: 100%; }
    .filter-tag { font-size: .75rem; padding: 5px 12px; }
}

/* Footer auf Mobile */
@media (max-width: 540px) {
    .footer { padding: 56px 0 32px; }
    .footer-grid { gap: 28px; }
    .footer-logo img { height: 48px; }
    .footer-bottom { gap: 12px; font-size: .75rem; }
    .footer-bottom-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

/* Newsletter Form auf Mobile */
@media (max-width: 480px) {
    .newsletter-section { padding: 48px 0; }
    .nl-input-row { flex-direction: column; gap: 10px; }
    .nl-input { border-radius: 8px; border-right: 1.5px solid var(--border); }
    .nl-submit { border-radius: 8px; justify-content: center; }
}

/* Section-Header (sec-head) — Titel + Link übereinander */
@media (max-width: 480px) {
    .sec-head { gap: 8px; }
    .sec-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

/* CTA Banner */
@media (max-width: 480px) {
    .cta-banner { padding: 48px 0; }
    .cta-banner-inner { gap: 24px; }
    .cta-banner-text h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
    .cta-banner-text p { font-size: .875rem; }
}

/* Verhindert horizontales Scrollen durch overflow */
.partner-banner-section,
.partners-section,
.ticker-bar {
    max-width: 100%;
    overflow: hidden;
}
.ifc-wrap {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Long names umbrechen auf Mobile */
@media (max-width: 540px) {
    .fighter-card-name,
    .fighter-card-info .fighter-card-name {
        word-break: break-word;
        hyphens: auto;
    }
    .event-card-title { font-size: 1rem; }
    .news-card-title { font-size: .875rem; }
}

/* Hero Countdown — Überlauf verhindern */
@media (max-width: 420px) {
    .hero-countdown {
        padding: 8px 12px;
        gap: 2px;
        border-radius: 8px;
    }
    .cd-item { min-width: 30px; }
    .cd-num { font-size: 1.3rem; }
    .cd-sep { font-size: 1.2rem; padding: 0 1px; }
    .cd-lbl { font-size: .5rem; }
}

/* Featured Event VS-Card auf Mobile */
@media (max-width: 768px) {
    .fightcard { display: none; } /* VS-Preview im Featured-Block auf Mobile verstecken */
    .event-featured-inner > div:last-child img { max-width: 100%; border-radius: var(--radius-lg); }
}

/* Sections padding Mobile */
@media (max-width: 480px) {
    .section { padding: 52px 0; }
    .section-sm { padding: 40px 0; }
    .newsletter-section { padding: 44px 0; }
    .partners-section { padding: 36px 0; }
    .stats-bar { padding: 16px 0; }
    .cta-banner { padding: 40px 0; }
}

/* Global: kein horizontaler Scroll — NUR auf body.
   html bekommt KEIN overflow-x (sonst entstehen 2 vertikale Scrollbalken). */
body { overflow-x: hidden; max-width: 100%; }
.container {
    box-sizing: border-box;
}

/* Elfsight-Barrierefreiheits-Widget: Mount-Punkt darf KEINEN Platz im Layout belegen
   (sonst Leerraum unter dem Footer). Der Button positioniert sich selbst fixed. */
[class*="elfsight-app-"] {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible;
}

/* Fightcard: .main { min-height: 100vh } aus globalem CSS darf .ifc-row.main nicht treffen */
.ifc-row.main { min-height: 0; }

/* Section-dark Text-Overrides (Sicherheit) */
.section-dark .sec-link { color: rgba(255,255,255,.55); }
.section-dark .sec-link:hover { color: var(--red); }

/* ============================================================
   STANDARD PAGE HEADER — alle Seiten außer Home
   Gleiche Höhe + Schrift wie Events-Seite
   ============================================================ */
.page-header {
    background:
        radial-gradient(ellipse at 50% -20%, rgba(199,2,0,.22) 0%, transparent 60%),
        linear-gradient(180deg, rgba(3,3,5,.38) 0%, rgba(10,10,15,.58) 100%),
        url('../images/site-banner.jpg') center center / cover no-repeat,
        #07070f;
    padding: calc(var(--header-h, 86px) + 3.5rem) 0 2rem;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: none;
    position: relative;
}
/* Untertitel reserviert feste Höhe → 1- und 2-zeilige Untertitel ergeben
   exakt gleiche Banner-Höhe auf allen Seiten (Kontakt, Partner, News etc.) */
.page-title {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .04em;
    line-height: 1;
    margin-bottom: 8px;
}
.page-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto;
}
@media (max-width: 540px) {
    .page-header { padding: calc(var(--header-h, 86px) + 2rem) 0 2rem; min-height: 280px; }
    .page-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
}

/* ============================================================
   FIGHTERS PAGE
   ============================================================ */

/* .fighters-hero → ersetzt durch .page-header (Standard) */
.fighters-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fighters-hero-text .section-eyebrow { display: block; margin-bottom: 12px; }
.fighters-hero-title {
    font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900; text-transform: uppercase; line-height: 1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.6) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 12px;
}
.fighters-hero-sub { font-size: .9375rem; color: var(--text-muted); }

.fighters-hero-stats { display: flex; gap: 40px; }
.fh-stat { text-align: center; }
.fh-stat-num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--red); line-height: 1; }
.fh-stat-label { font-size: .75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; display: block; }

/* Filter bar */
.fighters-filter-bar {
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 16px 0; position: sticky; top: var(--header-h, 86px); z-index: 50;
    backdrop-filter: blur(12px);
}
.fighters-filter-form { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.filter-search {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-card-2); border: 1px solid var(--border);
    border-radius: 8px; padding: 8px 14px; min-width: 200px;
}
.filter-search svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.filter-input { background: none; border: none; outline: none; color: var(--text); font-size: .9rem; width: 100%; }
.filter-input::placeholder { color: var(--text-dim); }
.filter-groups { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag {
    padding: 6px 14px; border-radius: 20px; font-size: .8125rem; font-weight: 600;
    border: 1px solid var(--border); color: var(--text-muted); text-decoration: none;
    transition: var(--trans); white-space: nowrap;
}
.filter-tag:hover { border-color: var(--red); color: var(--red); }
.filter-tag.active { background: var(--red); border-color: var(--red); color: #fff; }

/* Fighters page section */
.fighters-section { background: #fff; }
.fighters-section .section { background: #fff; }

/* Gender section heading */
.fighters-gender-heading {
    font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #111; margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
}
.fighters-gender-heading:first-child { margin-top: 0; }

/* Grid */
.fighters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* OKTAGON-STYLE Fighter Card */
.fighter-card {
    position: relative;
    background: #fff;
    border: none; border-radius: 0;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.fighter-card:hover {
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
    transform: translateY(-3px);
    border-color: transparent;
}

/* Photo area — white/light bg for cutout photos */
.fighter-card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f4f4f4;
    display: block;
}
.fighter-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transition: transform .45s ease;
    display: block;
}
.fighter-card:hover .fighter-card-img img { transform: scale(1.04); }

.fighter-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #e0e0e0 0%, #c8c8c8 100%);
    overflow: hidden;
    position: relative;
}
.fighter-card-img-placeholder img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block;
}
/* Fallback wenn SVG nicht lädt */
.fighter-card-img-placeholder img::after {
    content: attr(data-initials);
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 3rem; color: rgba(0,0,0,.15);
    background: linear-gradient(180deg, #e0e0e0 0%, #c8c8c8 100%);
}

/* Remove dark overlay — OKTAGON style is clean */
.fighter-card-overlay { display: none !important; }
.fighter-card-body    { display: none !important; }

/* Champion badge — top-left */
.fighter-card-champion {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    background: #c8a056;
    color: #000;
    padding: 3px 10px; border-radius: 3px;
    font-family: var(--font-head); font-size: .6rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    display: flex; align-items: center; gap: 4px;
}
.fighter-card-champion svg { width: 10px; height: 10px; }

/* Info strip below photo */
.fighter-card-info {
    padding: 11px 13px 13px;
    border-top: none;
}
/* Regular fighter — light grey */
.fighter-card-info            { background: #ededed; }
/* Champion — gold */
.fighter-card.is-champ .fighter-card-info { background: #c8a056; }

.fighter-card-info .fighter-card-name,
.fighters-section .fighter-card-name {
    font-family: var(--font-head); font-size: .875rem; font-weight: 700;
    color: #111 !important; text-transform: uppercase; letter-spacing: .04em;
    line-height: 1.25; margin: 0;
}
.fighter-card.is-champ .fighter-card-info .fighter-card-name { color: #000 !important; }
.fighter-card-info .fighter-card-name a { color: inherit !important; }
.fighter-card-info .fighter-card-name a:hover { color: #c70200 !important; }

.fighter-card-record-line {
    font-size: .72rem; color: #444; margin-top: 4px;
    font-family: var(--font-head); letter-spacing: .02em;
}
.fighter-card.is-champ .fighter-card-record-line { color: rgba(0,0,0,.6); }
.fighter-card-record-line .rec-w  { color: #1a6b3a; font-weight: 700; }
.fighter-card-record-line .rec-l  { color: #9b1c1c; font-weight: 700; }
.fighter-card-record-line .rec-sep { color: #888; margin: 0 1px; }

.fighter-card-title-badge {
    font-size: .68rem; color: #000; margin-top: 2px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}

.fighter-card-origin {
    display: flex; align-items: center; gap: 5px;
    font-size: .7rem; color: #555; margin-top: 4px;
}
.fighter-card-origin img { border-radius: 2px; }
.fighter-card.is-champ .fighter-card-origin { color: rgba(0,0,0,.6); }

/* Empty state */
.fighters-empty {
    text-align: center; padding: 80px 20px;
    color: var(--text-muted); grid-column: 1 / -1;
}
.fighters-empty svg { color: var(--border); margin-bottom: 20px; }
.fighters-empty h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1400px) { .fighters-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .fighters-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .fighters-hero { padding: 100px 0 48px; }
    .fighters-hero-inner { flex-direction: column; align-items: flex-start; }
    .fighters-hero-stats { gap: 24px; }
    .fh-stat-num { font-size: 2rem; }
    .fighters-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .fighters-filter-form { gap: 12px; }
    .filter-search { min-width: 100%; order: -1; }
}
@media (max-width: 420px) {
    .fighters-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .fighter-card-info .fighter-card-name { font-size: .78rem; }
}

/* ============================================================
   COOKIE BANNER (DSGVO) — Modern Premium Design
   ============================================================ */

/* Slide-up animation */
@keyframes cookieSlideUp {
    from { transform: translateY(calc(100% + 20px)); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes cookieModalPop {
    from { transform: scale(.94) translateY(12px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Banner container */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 920px;
    margin: 0 auto;
    z-index: 9999;
    background: #0d0d14;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 24px 28px;
    box-sizing: border-box;
    box-shadow: 0 8px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(199,2,0,.15);
    animation: cookieSlideUp .5s cubic-bezier(.22,.68,0,1.2) both;
}
@media (min-width: 968px) {
    .cookie-banner {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 32px);
    }
}

/* Subtle red glow on top edge */
.cookie-banner::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230,57,70,.7), transparent);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Icon + text block */
.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.cookie-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(230,57,70,.12);
    border: 1px solid rgba(230,57,70,.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.cookie-icon svg {
    width: 22px;
    height: 22px;
    color: var(--red);
}

.cookie-text-body h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: .01em;
}
.cookie-text-body p {
    color: rgba(255,255,255,.5);
    font-size: .8125rem;
    line-height: 1.6;
    margin: 0;
}
.cookie-text-body a,
.cookie-text-body p a,
.cookie-text a,
.cookie-text p a {
    color: #c70200 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(199,2,0,.4);
    transition: border-color .2s;
}
.cookie-text-body a:hover,
.cookie-text a:hover { border-color: #c70200; }

/* Fallback for old .cookie-text > h3/p (not inside .cookie-text-body) */
.cookie-text > h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 5px; }
.cookie-text > p  { color: rgba(255,255,255,.5); font-size: .8125rem; line-height: 1.6; }

/* Action buttons */
.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    line-height: 1;
}

/* Settings — ghost */
.cookie-btn-settings {
    background: transparent;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.12);
}
.cookie-btn-settings:hover {
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.2);
}

/* Essential only — subtle filled */
.cookie-btn-essential {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.1);
}
.cookie-btn-essential:hover {
    background: rgba(255,255,255,.14);
    color: var(--white);
}

/* Accept all — primary CTA */
.cookie-btn-accept,
.cookie-btn-save {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(230,57,70,.35);
    border: 1px solid transparent;
}
.cookie-btn-accept:hover,
.cookie-btn-save:hover {
    background: #ff4455;
    box-shadow: 0 6px 20px rgba(230,57,70,.5);
    transform: translateY(-1px);
}
.cookie-btn-accept:active,
.cookie-btn-save:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230,57,70,.3);
}

/* Settings Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cookie-modal-content {
    position: relative;
    background: #111118;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(230,57,70,.1);
    animation: cookieModalPop .35s cubic-bezier(.22,.68,0,1.15) both;
}

/* Modal top accent line */
.cookie-modal-content::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 40%, #ff6b35 70%, transparent 100%);
    flex-shrink: 0;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    gap: 12px;
}

.cookie-modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-modal-header-icon {
    width: 36px;
    height: 36px;
    background: rgba(230,57,70,.1);
    border: 1px solid rgba(230,57,70,.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cookie-modal-header-icon svg { width: 18px; height: 18px; color: var(--red); }

.cookie-modal-header h2 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    letter-spacing: .01em;
}
.cookie-modal-header p {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin: 2px 0 0;
}

.cookie-modal-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    color: rgba(255,255,255,.4);
    transition: all .2s ease;
    cursor: pointer;
    flex-shrink: 0;
}
.cookie-modal-close:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.15);
}
.cookie-modal-close svg { width: 16px; height: 16px; }

/* Scrollable body */
.cookie-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}
.cookie-modal-body::-webkit-scrollbar { width: 4px; }
.cookie-modal-body::-webkit-scrollbar-track { background: transparent; }
.cookie-modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

.cookie-modal-intro {
    color: rgba(255,255,255,.45);
    font-size: .8125rem;
    line-height: 1.7;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* Cookie category cards */
.cookie-category {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.cookie-category:hover { border-color: rgba(255,255,255,.12); }

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 16px;
    cursor: default;
}

.cookie-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .6875rem;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px;
}
.cookie-category-badge.badge-essential {
    color: #10b981;
}
.cookie-category-badge.badge-optional {
    color: rgba(255,255,255,.3);
}
.cookie-category-badge svg { width: 10px; height: 10px; }

.cookie-category-info h3 {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}
.cookie-category-info p {
    font-size: .78125rem;
    color: rgba(255,255,255,.4);
    line-height: 1.5;
    margin: 0;
}

/* "Immer aktiv" badge */
.toggle-always {
    font-family: var(--font-head);
    font-size: .6875rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: .07em;
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.25);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Toggle switch */
.cookie-toggle { display: inline-flex; align-items: center; }
.cookie-toggle.disabled { }
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-slider {
    display: block;
    width: 48px;
    height: 28px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    flex-shrink: 0;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,.6);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all .25s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.cookie-toggle input:checked + .toggle-slider {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230,57,70,.2);
}
.cookie-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: #fff;
}
.cookie-toggle input:focus-visible + .toggle-slider {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* Cookie details table */
.cookie-details {
    padding: 0 16px 14px;
    border-top: 1px solid rgba(255,255,255,.05);
    margin-top: 0;
}
.cookie-details table {
    width: 100%;
    font-size: .78125rem;
    border-collapse: collapse;
    margin-top: 10px;
}
.cookie-details thead th {
    color: rgba(255,255,255,.25);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .6875rem;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    text-align: left;
}
.cookie-details thead th:last-child { text-align: right; }
.cookie-details td {
    padding: 7px 0;
    color: rgba(255,255,255,.45);
    border-bottom: 1px solid rgba(255,255,255,.03);
    vertical-align: top;
}
.cookie-details td:first-child {
    font-weight: 600;
    color: rgba(255,255,255,.65);
    width: 32%;
    font-family: 'Courier New', monospace;
    font-size: .75rem;
}
.cookie-details td:last-child {
    text-align: right;
    color: rgba(255,255,255,.3);
    width: 20%;
    white-space: nowrap;
}
.cookie-details tr:last-child td { border-bottom: none; }

/* Modal footer */
.cookie-modal-footer {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(0,0,0,.25);
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
.cookie-modal-footer .cookie-btn-essential { margin-right: auto; }

/* Responsive */
@media (max-width: 700px) {
    .cookie-banner {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 18px 16px;
        border-radius: 16px;
    }
    .cookie-content { flex-direction: column; gap: 16px; }
    .cookie-actions { width: 100%; flex-direction: column; }
    .cookie-actions .cookie-btn { width: 100%; text-align: center; padding: 12px 18px; }
 /* Reorder: Accept first on mobile */
    .cookie-btn-accept { order: -1; }
}

@media (max-width: 480px) {
    .cookie-modal { padding: 10px; }
    .cookie-modal-content { border-radius: 16px; max-height: 94vh; }
    .cookie-modal-header { padding: 14px 16px 12px; }
    .cookie-modal-body { padding: 14px 16px; }
    .cookie-modal-footer { padding: 12px 16px; flex-direction: column; }
    .cookie-modal-footer .cookie-btn { width: 100%; text-align: center; }
    .cookie-modal-footer .cookie-btn-essential { margin-right: 0; order: 2; }
    .cookie-modal-footer .cookie-btn-save { order: 1; }
}
