/* IMPORTAMOS LAS FUENTES ORIGINALES */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* VARIABLES DE COLOR */
:root {
    --background: #0A0A0A;
    --foreground: #F2F2F2;
    --primary: #FACC15; 
    --border: #27272A;
    --input-bg: #141414;
    --muted: #A1A1AA;
    --red: #EF4444;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, button, .nav-links a, .contact-link {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0.05em;
    font-weight: normal;
}

input, textarea, .stat-title, .stat-value, .player-num, .section-label span, .rule-num, .schedule-item span, .contact-title, .badge {
    font-family: "JetBrains Mono", "Courier New", monospace;
}

::selection { background: var(--primary); color: var(--background); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border: 2px solid var(--background); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.grain { position: relative; }
.grain::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    opacity: 0.04; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
    z-index: 10;
}

@keyframes pulseRust { 0%,100% { box-shadow: 0 0 0 0 rgba(250,204,21,0.5); } 50% { box-shadow: 0 0 0 12px rgba(250,204,21,0); } }
.pulse-rust { animation: pulseRust 2.4s ease-in-out infinite; }
@keyframes pulseRed { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); } }
.pulse-red { animation: pulseRed 2s ease-in-out infinite; }

/* NAVBAR GLOBAL */
.navbar { display: flex; justify-content: space-between; padding: 15px 50px; align-items: center; background: rgba(10, 10, 10, 0.9); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);}
.logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none; transition: transform 0.3s;}
.logo-link:hover { transform: scale(1.05); }
.navbar-logo { height: 40px; width: 40px; object-fit: contain; }
.logo-text { font-size: 2rem; color: var(--foreground); }
.logo-text span { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0;}
.nav-links a { text-decoration: none; color: var(--muted); font-size: 1.2rem; display: flex; align-items: center; gap: 8px; transition: 0.3s;}
.nav-links a:hover, .nav-links a.active { color: var(--foreground); }
.live-link { color: var(--red) !important; }
.live-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block; }

/* COMPONENTES GLOBALES */
.page-section { padding: 80px 50px; background: var(--background); min-height: calc(100vh - 200px);}
.section-label { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.yellow-line { width: 40px; height: 1px; background: var(--primary); }
.red-line { width: 40px; height: 1px; background: var(--red); }
.section-label span { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;}
h2 { font-size: 4rem; margin: 0 0 40px 0; text-transform: uppercase; line-height: 1;}
h2 span { color: var(--primary); }

.lucide { width: 20px; height: 20px; }
.icon-box { width: 40px; height: 40px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;}

.btn-primary { background: var(--primary); color: #000; border: none; padding: 15px 30px; cursor: pointer; font-size: 1.4rem; text-transform: uppercase; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px;}
.btn-primary:hover { background: #EAB308; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--foreground); padding: 15px 30px; cursor: pointer; margin-left: 15px; font-size: 1.4rem; text-transform: uppercase; transition: 0.3s;}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary);}

/* HERO GENÉRICO (Para todas las páginas) */
.hero { position: relative; min-height: 60vh; display: flex; align-items: center; padding-left: 50px; background-image: url('banner.png'); background-size: cover; background-position: center; background-attachment: fixed; border-bottom: 1px solid var(--border);}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.8), rgba(10,10,10,1)); z-index: 1;}
.hero-content { position: relative; z-index: 2;}
.tag-container { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.yellow-dot { width: 8px; height: 8px; background: var(--primary); }
.tagline { color: var(--primary); font-size: 0.9rem; letter-spacing: 2px;}
.hero h1 { font-size: 6rem; line-height: 0.9; margin: 0; text-transform: uppercase; }
.hero h1 span { color: var(--primary); }
.description { max-width: 600px; color: var(--muted); font-size: 1.2rem; line-height: 1.6; margin: 30px 0; }

/* BENTO GRID (Para Clan, Bot, etc) */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--input-bg); border: 1px solid var(--border); padding: 30px; transition: 0.3s; }
.card:hover { border-color: var(--primary); }
.span-full { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.card h3 { font-size: 2rem; margin: 0; color: var(--foreground); text-transform: uppercase;}
.card p { color: var(--muted); line-height: 1.6; font-size: 1rem;}

/* TICKETS Y FORMS */
.form-container { max-width: 800px; margin: 0 auto; background: var(--input-bg); border: 1px solid var(--border); padding: 40px;}
.input-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 20px; }
.input-group label { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; display: flex; align-items: center; gap: 8px;}
input, textarea, select { background-color: #050505; border: 1px solid var(--border); color: var(--foreground); padding: 15px; font-size: 1rem; outline: none; transition: 0.3s; width: 100%; box-sizing: border-box;}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 120px; }

/* STREAMS GRID */
.streams-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.stream-card { border: 1px solid var(--border); background: #000; overflow: hidden; transition: 0.3s;}
.stream-card:hover { border-color: var(--red); }
.stream-header { display: flex; justify-content: space-between; padding: 15px; background: var(--input-bg); align-items: center; border-bottom: 1px solid var(--border);}
.stream-player { width: 100%; height: 250px; background: #050505;}
.badge { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--red); color: var(--red); padding: 5px 10px; font-size: 0.7rem; text-transform: uppercase;}

/* FOOTER */
.footer { border-top: 1px solid var(--border); background: var(--background); padding: 60px 50px 20px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 60px; }
.footer-brand h2 { margin: 0; font-size: 3rem; }
.footer-brand span { color: var(--primary); }
.footer-brand p { color: var(--muted); max-width: 400px; line-height: 1.6; }
.footer-links { display: flex; gap: 60px; }
.footer-links div { display: flex; flex-direction: column; gap: 15px; }
.link-title { color: #71717A; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px;}
.footer-links a { color: var(--foreground); text-decoration: none; font-size: 1rem; transition: 0.3s;}
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; color: #71717A; font-size: 0.8rem; text-transform: uppercase;}

@media (max-width: 900px) {
    .bento-grid, .streams-grid { grid-template-columns: 1fr; }
    .span-full, .span-2 { grid-column: span 1; }
    .hero h1 { font-size: 4rem; }
    .footer-content { flex-direction: column; gap: 40px;}
}
/* =========================================
   ESTILOS TIPO "OIL TEAM" PARA EL HOME
   ========================================= */

/* Hero Centrado */
.text-center-hero .hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.text-center-hero .cta-buttons { justify-content: center; }

/* Stats Bar de 4 columnas */
.stats-bar { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stats-bar { grid-template-columns: 1fr; } }

/* Barra de Partners */
.partners-strip {
    background: #050505;
    border-bottom: 1px solid var(--border);
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.partner-title { color: #71717A; font-family: "JetBrains Mono"; font-size: 0.8rem; letter-spacing: 2px;}
.partner-logos { display: flex; gap: 50px; flex-wrap: wrap; justify-content: center;}
.partner-placeholder { display: flex; align-items: center; gap: 10px; color: #555; font-family: "Bebas Neue"; font-size: 2rem; opacity: 0.5; transition: 0.3s;}
.partner-placeholder:hover { opacity: 1; color: var(--foreground); }

/* Video Showcase */
.bg-darker { background: #050505; border-bottom: 1px solid var(--border);}
.btn-outline-red { display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid var(--red); color: var(--red); padding: 10px 20px; font-family: "Bebas Neue"; font-size: 1.2rem; text-decoration: none; transition: 0.3s;}
.btn-outline-red:hover { background: var(--red); color: #fff;}

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;}
.video-card { text-decoration: none; display: block; background: var(--input-bg); border: 1px solid var(--border); transition: 0.3s;}
.video-card:hover { border-color: var(--primary); transform: translateY(-5px);}
.video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #000; border-bottom: 1px solid var(--border);}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.3s;}
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.05);}

.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: #fff; padding: 3px 6px; font-family: "JetBrains Mono"; font-size: 0.75rem; border-radius: 3px;}
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(250,204,21,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; opacity: 0; transition: 0.3s;}
.video-card:hover .play-btn { opacity: 1;}

.video-info { padding: 20px; }
.video-info h4 { margin: 0 0 10px 0; font-size: 1.3rem; color: var(--foreground); line-height: 1.2;}
.video-info span { font-family: "JetBrains Mono"; font-size: 0.8rem; color: var(--muted);}

@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* Bottom CTA */
.bottom-cta {
    padding: 100px 20px;
    background: linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)), url('banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid var(--border);
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { margin-bottom: 20px; }
.cta-content p { color: var(--muted); font-family: "JetBrains Mono"; font-size: 0.9rem; line-height: 1.6; margin-bottom: 40px;}
/* =========================================
   CLAN STATS BAR (Reparación)
   ========================================= */
.stats-bar { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border); 
    background: #050505; 
    position: relative;
    z-index: 2;
}

.stat-box { 
    padding: 40px 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    align-items: center; 
    justify-content: center; 
    border-right: 1px solid var(--border); 
    transition: 0.3s; 
    text-align: center;
}

.stat-box:last-child { 
    border-right: none; 
}

.stat-box:hover { 
    background: var(--input-bg); 
}

.stat-title { 
    color: #71717A; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1px;
}

.stat-value { 
    font-family: "Bebas Neue", sans-serif; 
    font-size: 4rem; 
    line-height: 1; 
    color: var(--primary);
}

/* Responsivo para celulares */
@media (max-width: 900px) { 
    .stats-bar { grid-template-columns: repeat(2, 1fr); } 
    .stat-box { border-bottom: 1px solid var(--border); } 
}
@media (max-width: 500px) { 
    .stats-bar { grid-template-columns: 1fr; } 
}
/* =========================================
   ESTILOS EXCLUSIVOS: TOURNAMENT.HTML
   ========================================= */

/* Marquee (Cinta de texto deslizante) */
.marquee { overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--border); padding: 20px 0; background: var(--background); }
.marquee-content { display: inline-block; animation: scroll 20s linear infinite; font-family: "Bebas Neue"; font-size: 3rem; letter-spacing: 4px; color: var(--foreground); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Grilla de Reglas (1 al 9) */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rule-item { border-left: 2px solid var(--border); padding-left: 20px; transition: 0.3s;}
.rule-item:hover { border-left-color: var(--primary); }
.rule-item h4 { font-size: 1.5rem; margin: 0 0 10px 0; color: var(--foreground); display: flex; align-items: center; gap: 10px;}
.rule-num { color: var(--primary); font-size: 2rem; font-weight: bold;}
.rule-item ul { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.8;}
.rule-item ul li { margin-bottom: 5px; }

/* Tarjetas de Información (Schedule, Format, Prize) */
.schedule-item { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding: 15px 0; font-size: 0.8rem; text-transform: uppercase; color: var(--foreground);}
.border-none { border-bottom: none; }
.highlight { color: var(--primary); }

.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format-grid p { margin: 5px 0 0 0; color: var(--foreground); font-size: 1rem;}

.prize-box { border: 1px solid var(--primary); background: rgba(250,204,21,0.1); padding: 25px; position: relative;}
.absolute-right { position: absolute; top: 15px; right: 15px; color: rgba(250,204,21,0.5); font-size: 0.7rem;}
.highlight-text { color: var(--primary); font-size: 0.8rem;}
.prize-amount { font-family: "Bebas Neue"; font-size: 5rem; color: var(--primary); line-height: 1; margin: 10px 0;}
.prize-sub { margin: 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;}

/* Tarjeta de Contacto y Fair Play */
.contact-box { display: block; border: 1px solid var(--border); padding: 20px; text-decoration: none; transition: 0.3s; }
.contact-box:hover { border-color: var(--primary); }
.contact-title { font-size: 0.75rem; color: #71717A; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 5px;}
.contact-title .lucide { width: 14px; height: 14px; color: var(--primary);}
.contact-link { color: var(--foreground); font-size: 1.2rem; transition: 0.3s;}
.contact-box:hover .contact-link { color: var(--primary); }
.mt-3 { margin-top: 15px; }

.fair-play-notice { border: 1px solid var(--border); background: var(--input-bg); padding: 25px; display: flex; gap: 20px; align-items: center; margin-top: 20px;}
.fair-play-notice .lucide { width: 30px; height: 30px; color: var(--primary); flex-shrink: 0;}
.fair-play-notice p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6;}
.fair-play-notice span { color: var(--foreground); font-weight: bold; text-transform: uppercase;}

/* Formulario de Registro (Inputs y Filas de Jugadores) */
.register-section { padding: 80px 50px; border-top: 1px solid var(--border); background: var(--background);}
.squad-form { border: 1px solid var(--border); padding: 40px; background: rgba(20, 20, 20, 0.5); }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.divider { display: flex; align-items: center; gap: 15px; margin: 40px 0 30px; color: var(--muted); font-family: "JetBrains Mono"; font-size: 0.8rem; }
.line { flex-grow: 1; height: 1px; background: var(--border); }

.player-row { border: 1px solid var(--border); display: grid; grid-template-columns: 60px 1fr 1fr 1fr; align-items: center; padding: 15px 25px; gap: 20px; margin-bottom: 15px; background: var(--input-bg); }
.player-num { font-size: 2.5rem; color: var(--primary); line-height: 1; text-align: center; font-family: "Bebas Neue";}
.highlight-label { color: var(--primary) !important; }
.input-group label .lucide { width: 14px; height: 14px; }

.form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
.form-footer p { color: var(--muted); max-width: 400px; font-family: "JetBrains Mono"; font-size: 0.8rem; line-height: 1.6;}

/* Responsivo para el Formulario */
@media (max-width: 1024px) {
    .rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .form-row, .player-row { grid-template-columns: 1fr; }
    .player-num { display: none; } 
    .form-footer { flex-direction: column; gap: 20px; text-align: center;}
}
:root {
    --primary: #FAA61A;    /* Amarillo Rust */
    --background: #050505; /* Negro profundo */
    --card-bg: #0A0A0A;    /* Gris muy oscuro */
    --border: #1A1A1A;     /* Borde sutil */
    --error: #ff0000;      /* Rojo alerta */
    --text: #ffffff;
}

/* Efecto Hover para las tarjetas de redes en el Media Hub */
.media-card:hover {
    border-color: var(--primary) !important;
    transform: translateY(-5px);
    background: #111 !important;
}
/* =========================================
   HOME REDESIGN - MCV OFICIAL
   ========================================= */
:root {
    --primary: #FAA61A;
    --background: #050505;
    --foreground: #F5F5F5;
    --border: #1A1A1A;
    --input-bg: #101010;
    --muted: #A1A1AA;
    --red: #EF4444;
}

body.home-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(250, 166, 26, 0.08), transparent 34%),
        linear-gradient(180deg, #030303 0%, #080808 42%, #050505 100%);
}

.navbar {
    min-height: 58px;
    padding: 12px 44px;
    background: rgba(5, 5, 5, 0.86);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-text { letter-spacing: 0.04em; }
.nav-links a.active { color: var(--primary); }

.home-hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    isolation: isolate;
}

.home-hero-media {
    position: absolute;
    inset: 0;
    background-image: url('banner.png');
    background-size: cover;
    background-position: center top;
    transform: scale(1.01);
    filter: saturate(1.03) contrast(1.08);
    z-index: -3;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.78)),
        linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.42) 52%, #050505 94%);
    z-index: -2;
}

.home-hero-content {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 8vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-label { justify-content: center; margin-bottom: 18px; }

.home-mark {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(250, 166, 26, 0.38);
    box-shadow: 0 22px 60px rgba(0,0,0,0.42), 0 0 28px rgba(250, 166, 26, 0.16);
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: clamp(5rem, 13vw, 11rem);
    line-height: 0.82;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 18px 50px rgba(0,0,0,0.65);
}

.home-hero h1 span { color: var(--primary); }

.home-hero p {
    max-width: 720px;
    margin: 24px auto 32px;
    color: rgba(255,255,255,0.82);
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    line-height: 1.7;
}

.home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.home-actions a, .home-cta a { text-decoration: none; }
.btn-primary, .btn-secondary, .btn-outline-red { border-radius: 7px; }

.btn-primary {
    background: linear-gradient(180deg, #ffb52d, var(--primary));
    box-shadow: 0 16px 34px rgba(250, 166, 26, 0.16);
}

.btn-primary:hover { background: linear-gradient(180deg, #ffc04f, #e89a15); transform: translateY(-2px); }
.btn-secondary { margin-left: 0; background: rgba(8,8,8,0.62); backdrop-filter: blur(8px); }

.home-stats {
    max-width: 1180px;
    margin: -42px auto 0;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 70px rgba(0,0,0,0.35);
}

.home-strip {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    padding: 22px 20px;
    color: #71717A;
    background: #050505;
    border-bottom: 1px solid var(--border);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.home-strip span::before { content: "// "; color: var(--primary); }

.home-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 24px;
    min-height: 0;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 36px;
}

.section-heading-row h2 { margin-bottom: 0; }

.section-heading-row p {
    max-width: 540px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9rem;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 22px;
}

.home-feature-card {
    position: relative;
    min-height: 260px;
    padding: 28px;
    color: var(--foreground);
    text-decoration: none;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)), #0A0A0A;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.home-feature-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}

.home-feature-card:hover { transform: translateY(-6px); border-color: rgba(250,166,26,0.58); box-shadow: 0 22px 48px rgba(0,0,0,.28), 0 0 34px rgba(250,166,26,.08); }
.home-feature-card:hover::after { opacity: 1; }
.home-feature-card i, .home-feature-card svg { width: 34px; height: 34px; color: var(--primary); margin-bottom: 28px; }
.home-feature-card span { display: block; color: var(--primary); font-family: "JetBrains Mono", monospace; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 10px; }
.home-feature-card h3 { font-size: 2.2rem; margin: 0 0 16px; }
.home-feature-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.highlight-card { background: linear-gradient(135deg, rgba(250,166,26,0.16), rgba(255,255,255,0.02)), #0A0A0A; }

.home-video-grid .video-card, .home-bento .card, .media-card { border-radius: 8px; overflow: hidden; }
.logo-thumb { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(250,166,26,0.13), transparent 58%), #050505; }
.logo-thumb img { width: 70%; height: 70%; object-fit: contain; opacity: 1; }
.alt-thumb { background: radial-gradient(circle, rgba(239,68,68,0.16), transparent 58%), #050505; }
.live-badge { color: #050505; background: #53FC18; }
.centered-label { justify-content: center; }

.home-cta {
    padding: 92px 20px;
    background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.64), rgba(0,0,0,.86)), url('banner.png');
    background-size: cover;
    background-position: center 34%;
}

.footer-logo { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }

@media (max-width: 980px) {
    .navbar { padding: 12px 20px; gap: 20px; }
    .nav-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
    .home-feature-grid, .video-grid, .bento-grid { grid-template-columns: 1fr; }
    .section-heading-row { flex-direction: column; align-items: flex-start; }
    .home-stats { margin-top: 0; border-left: 0; border-right: 0; }
}

@media (max-width: 640px) {
    .home-hero { min-height: 82vh; }
    .home-mark { width: 74px; height: 74px; }
    .home-hero p { font-size: .9rem; }
    .home-actions { width: 100%; }
    .home-actions .btn-primary, .home-actions .btn-secondary { width: 100%; justify-content: center; }
    .home-strip { gap: 14px; justify-content: flex-start; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

/* =========================================
   TOURNAMENT REDESIGN - MCV OFICIAL
   ========================================= */
body.tournament-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(250,166,26,0.08), transparent 32%),
        linear-gradient(180deg, #030303 0%, #070707 48%, #050505 100%);
}

.tournament-hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    isolation: isolate;
}

.tournament-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('banner.png');
    background-size: cover;
    background-position: center top;
    filter: saturate(1.05) contrast(1.08);
    z-index: -3;
}

.tournament-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.84)),
        linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.45) 55%, #050505 96%);
    z-index: -2;
}

.tournament-hero-content {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 8vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tournament-hero h1 {
    font-size: clamp(4.5rem, 11vw, 10rem);
    line-height: .84;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 18px 50px rgba(0,0,0,.68);
}

.tournament-hero h1 span { color: var(--primary); }

.tournament-hero p {
    max-width: 760px;
    margin: 24px auto 32px;
    color: rgba(255,255,255,.84);
    font-family: "JetBrains Mono", monospace;
    line-height: 1.7;
}

.tournament-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.tournament-actions a { text-decoration: none; }

.tournament-summary {
    max-width: 1180px;
    margin: -42px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255,255,255,.08);
    background: #050505;
    position: relative;
    z-index: 2;
    box-shadow: 0 22px 70px rgba(0,0,0,.36);
}

.tournament-stat {
    min-height: 150px;
    padding: 28px 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.tournament-stat:last-child { border-right: none; }
.tournament-stat svg { color: var(--primary); width: 28px; height: 28px; }
.tournament-stat span { color: #71717A; font-family: "JetBrains Mono", monospace; font-size: .78rem; text-transform: uppercase; }
.tournament-stat strong { font-family: "Bebas Neue"; font-size: 3.3rem; line-height: 1; color: var(--primary); font-weight: normal; }
.tournament-stat small { color: var(--muted); font-family: "JetBrains Mono", monospace; }

.tournament-marquee { border-top: 0; background: #070707; }

.tournament-section,
.tournament-register,
.tournament-live {
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 24px;
    min-height: 0;
}

.tournament-heading { align-items: flex-start; }
.tournament-heading p { max-width: 560px; color: var(--muted); font-family: "JetBrains Mono", monospace; line-height: 1.65; margin: 0; }

.tournament-info-grid {
    display: grid;
    grid-template-columns: 1fr .9fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.tournament-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), #0A0A0A;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.panel-title svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.panel-title h3 { margin: 0; font-size: 2rem; }

.tournament-rules-grid {
    gap: 26px;
}

.tournament-rules-grid .rule-item {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.045);
    border-left: 2px solid var(--border);
    padding: 20px;
    border-radius: 6px;
}

.tournament-rules-grid .rule-item:hover {
    border-left-color: var(--primary);
    border-color: rgba(250,166,26,.28);
}

.tournament-rules-grid .rule-item ul li {
    position: relative;
    padding-left: 16px;
}

.tournament-rules-grid .rule-item ul li::before {
    content: "-";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.tournament-fair {
    margin-top: 22px;
    border-radius: 8px;
    border-color: rgba(250,166,26,.25);
}

.tournament-register {
    border-top: 1px solid var(--border);
    background: transparent;
}

.tournament-register .squad-form {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), #0A0A0A;
    box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.tournament-register .player-row,
.tournament-register .form-row {
    border-radius: 7px;
}

.tournament-register input {
    border-radius: 6px;
}

.tournament-live {
    border-top: 1px solid var(--border);
}

.live-section h2 { margin-bottom: 34px; }
.twitch-container { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #000; }
.twitch-player { width: 100%; height: 520px; display: block; }

@media (max-width: 980px) {
    .tournament-summary,
    .tournament-info-grid,
    .tournament-rules-grid {
        grid-template-columns: 1fr;
    }

    .tournament-summary { margin-top: 0; border-left: 0; border-right: 0; }
    .tournament-stat { border-right: none; border-bottom: 1px solid var(--border); }
    .tournament-stat:last-child { border-bottom: none; }
    .tournament-heading { flex-direction: column; }
}

@media (max-width: 640px) {
    .tournament-hero { min-height: 82vh; }
    .tournament-actions { width: 100%; }
    .tournament-actions .btn-primary,
    .tournament-actions .btn-secondary { width: 100%; justify-content: center; }
    .tournament-panel { padding: 22px; }
    .twitch-player { height: 360px; }
}
