:root {
    color-scheme: dark;
    --bg: #050505;
    --panel: #0f1117;
    --text: #f5f5f5;
    --muted: #b0b4bf;
    --accent: #ff2020;
    --border: rgba(255, 32, 32, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

main {
    position: relative;
    z-index: 1;
}

.background {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 32, 32, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.02), transparent 18%);
    pointer-events: none;
    z-index: 0;
}

.navbar {
    position: relative;
    width: 100%;
    background: rgba(4, 5, 6, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 20;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
}

.navbar li {
    margin: 0;
}

.navbar a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar a:hover {
    color: var(--accent);
}

.logo {
    width: 140px;
    max-width: 100%;
    display: block;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 32, 32, 0.14);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 32, 32, 0.24);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.discord-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 32, 32, 0.24);
}

.footer {
    padding: 24px 0;
    background: rgba(4, 5, 6, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #aaa;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 0;
    background:
        radial-gradient(circle at top, rgba(255, 32, 32, 0.2), transparent 45%),
        radial-gradient(circle at center, rgba(120, 0, 0, 0.22), rgba(0, 0, 0, 0.95)),
        url("../img/background.jpg") center center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    padding: 30px 0;
}

.hero-logo {
    width: 420px;
    max-width: 80%;
    margin: 0 auto 26px;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.hero-mini {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #d6d6d6;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin: 0 0 18px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-red,
.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.btn-red {
    background: linear-gradient(135deg, #ff2020 0%, #c20d0d 100%);
    color: white;
    box-shadow: 0 12px 30px rgba(255, 32, 32, 0.25);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #f3f3f3;
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-red:hover,
.btn-dark:hover {
    transform: translateY(-2px);
}

.stats {
    background: linear-gradient(180deg, #060606 0%, #0b0d12 100%);
    padding: 80px 0 96px;
}

.stats-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.stats-eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.stats-header h3 {
    font-size: 1.9rem;
    margin: 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat {
    background: linear-gradient(145deg, rgba(17, 21, 29, 0.95), rgba(10, 12, 17, 0.95));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: #ff1b1b;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.16);
}

.stat h2 {
    color: white;
    font-size: 2.1rem;
    margin: 0 0 8px;
}

.stat p {
    color: var(--muted);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-logo {
        width: 260px;
    }

    .hero-content {
        padding: 18px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-red,
    .btn-dark {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-header h3 {
        font-size: 1.45rem;
    }
}

.teams-page{

padding:120px 0;

}

.page-header{

text-align:center;

margin-bottom:60px;

}

.page-header h1{

font-size:70px;

margin:15px 0;

}

.page-header p{

color:#9d9d9d;

font-size:20px;

}

.teams-search{

margin:50px auto;

max-width:600px;

}

.teams-search input{

width:100%;

padding:18px;

border:none;

outline:none;

border-radius:14px;

background:#141922;

color:white;

font-size:18px;

border:1px solid rgba(255,0,0,.15);

}

.teams-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(300px,1fr));

gap:30px;

margin-top:60px;

}

.team-card{

background:#10151d;

border-radius:20px;

padding:35px;

text-align:center;

border:1px solid rgba(255,0,0,.15);

transition:.35s;

}

.team-card:hover{

transform:translateY(-8px);

border-color:#ff2020;

box-shadow:0 0 35px rgba(255,0,0,.18);

}

.team-logo{

height:140px;

display:flex;

align-items:center;

justify-content:center;

margin-bottom:25px;

}

.team-logo img{

max-width:120px;

max-height:120px;

}

.team-card h2{

font-size:32px;

margin:10px 0;

}

.tag{

color:#ff2020;

font-weight:bold;

margin-bottom:20px;

}

.team-info{

display:flex;

justify-content:space-between;

align-items:center;

margin:25px 0;

color:#c7c7c7;

font-size:15px;

}

.team-info span{

display:flex;

align-items:center;

gap:10px;

}

.team-info i{

color:#ff2020;

font-size:16px;

width:18px;

text-align:center;

}

.team-button{

	display:flex;

	justify-content:center;

	align-items:center;

	gap:10px;

	padding:14px;

	background:#d91c1c;

	border-radius:12px;

	text-decoration:none;

	color:white;

	font-weight:bold;

	margin-top:20px;

}

.team-button:hover{

	background:#ff2020;

}

.team-button i{

	font-size:14px;

}
/*==========================
SOBRE PENUMBRA
==========================*/

.about{

padding:110px 0;

background:#090b10;

}

.about-grid{

display:grid;

grid-template-columns:1.3fr .8fr;

gap:70px;

align-items:start;

}

.about-left h2{

font-size:52px;

margin:20px 0 30px;

}

.about-left p{

font-size:18px;

line-height:1.9;

color:#bdbdbd;

margin-bottom:20px;

}

.about-right{

display:flex;

flex-direction:column;

gap:18px;

}

.about-feature{

display:flex;

align-items:center;

gap:18px;

padding:22px 0;

border-bottom:1px solid rgba(255,255,255,.08);

}

.about-feature:last-child{

border-bottom:none;

}

.about-feature i{

width:30px;

font-size:22px;

color:#ff2020;

text-align:center;

}

.about-feature span{

font-size:18px;

font-weight:600;

color:white;

}

@media(max-width:900px){

.about-grid{

grid-template-columns:1fr;

gap:40px;

}

}

.team-profile{

padding:120px 0;

}

.team-header{

display:flex;

align-items:center;

gap:40px;

margin-bottom:60px;

}

.team-logo-big{

width:180px;

height:180px;

display:flex;

align-items:center;

justify-content:center;

background:#11161d;

border-radius:20px;

border:1px solid rgba(255,0,0,.15);

}

.team-logo-big img{

max-width:140px;

max-height:140px;

}

.team-header-info h1{

font-size:54px;

margin:0;

}

.team-tag{

font-size:22px;

color:#ff2020;

margin:10px 0;

font-weight:bold;

}

.team-status{

display:inline-flex;

align-items:center;

gap:10px;

padding:10px 18px;

background:rgba(0,255,100,.12);

border:1px solid rgba(0,255,100,.25);

border-radius:30px;

}

.team-status i{

color:#00d26a;

}

.team-details{

display:grid;

grid-template-columns:1fr 1fr;

gap:30px;

margin-bottom:40px;

}

.detail-card{

background:#11161d;

border-radius:20px;

padding:30px;

border:1px solid rgba(255,0,0,.12);

}

.detail-card h3{

margin-top:0;

margin-bottom:25px;

}

.detail-card p{

margin:18px 0;

}

.detail-card i{

width:28px;

color:#ff2020;

}

.player-row{

display:flex;

align-items:center;

gap:12px;

padding:14px 0;

border-bottom:1px solid rgba(255,255,255,.05);

}

.player-row:last-child{

border:none;

}

.player-row i{

color:#ff2020;

}

.team-description{

background:#11161d;

padding:35px;

border-radius:20px;

border:1px solid rgba(255,0,0,.12);

margin-bottom:40px;

}

.back-button{

text-align:center;

}

.back-button a{

display:inline-block;

padding:14px 30px;

background:#d91c1c;

color:white;

text-decoration:none;

border-radius:12px;

font-weight:bold;

}

.back-button a:hover{

background:#ff2020;

}

@media(max-width:900px){

.team-header{

flex-direction:column;

text-align:center;

}

.team-details{

grid-template-columns:1fr;

}

}
/*==========================
TORNEO HERO
==========================*/

.tournament-hero{

padding:120px 0 80px;

text-align:center;

}

.tournament-hero h1{

font-size:60px;

margin:15px 0;

}

.tournament-hero p{

max-width:700px;

margin:auto;

color:#bfbfbf;

line-height:1.8;

}

/*==========================
INFORMACIÓN GENERAL
==========================*/

.tournament-info{

padding:90px 0;

}
.tournament-info .section-mini{
    display:block;
    width:100%;
    text-align:center !important;
    margin:0 auto 15px;
    color:#ff2020;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

.tournament-info h2{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
}

.info-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}

.info-card{

background:#11161d;

border:1px solid rgba(255,32,32,.15);

border-radius:18px;

padding:35px;

text-align:center;

transition:.25s;

}

.info-card:hover{

transform:translateY(-6px);

border-color:#ff2020;

box-shadow:0 0 25px rgba(255,32,32,.12);

}

.info-card i{

font-size:42px;

color:#ff2020;

margin-bottom:20px;

}

.info-card h3{

margin:12px 0;

font-size:22px;

}

.info-card p{

color:#bdbdbd;

margin:0;

line-height:1.6;

}

@media(max-width:900px){

.info-grid{

grid-template-columns:1fr;

}

}
/*==================================
PREMIO
==================================*/

.prizes{

    padding:120px 0;

    text-align:center;

}

.prizes h2{

    font-size:52px;

    margin:15px 0 30px;

    font-weight:800;

}

.prizes-description{

    max-width:760px;

    margin:0 auto 60px;

    color:#bdbdbd;

    line-height:1.9;

    font-size:18px;

}

.prize-box{

    max-width:700px;

    margin:0 auto;

    background:#11161d;

    border:1px solid rgba(255,32,32,.15);

    border-radius:24px;

    padding:55px;

    text-align:center;

}

.prize-box i{

    width:75px;

    height:75px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 30px;

    border-radius:20px;

    background:rgba(255,32,32,.12);

    color:#ff2020;

    font-size:34px;

}

.prize-box h1{

    font-size:82px;

    margin:0;

    color:white;

    line-height:1;

}

.prize-box p{

    margin:20px 0;

    color:#ff2020;

    font-size:24px;

    font-weight:700;

}

.prize-box span{

    display:block;

    margin-top:25px;

    color:#9d9d9d;

    font-size:17px;

    line-height:1.8;

}

/*==================================
REGLAMENTO
==================================*/

.rules{

    padding:120px 0;

    text-align:center;

}

.rules h2{

    font-size:52px;

    margin:15px 0 30px;

    font-weight:800;

}

.rules-text{

    max-width:760px;

    margin:0 auto 70px;

    color:#bdbdbd;

    line-height:1.9;

    font-size:18px;

}

.rules-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.rule-item{

    background:#11161d;

    border:1px solid rgba(255,32,32,.15);

    border-radius:20px;

    padding:30px;

    display:flex;

    align-items:center;

    gap:20px;

    transition:.25s;

}

.rule-item:hover{

    transform:translateY(-5px);

    border-color:#ff2020;

}

.rule-item i{

    font-size:30px;

    color:#ff2020;

    width:35px;

    text-align:center;

    flex-shrink:0;

}

.rule-item span{

    font-size:17px;

    color:#f5f5f5;

    line-height:1.7;

    text-align:left;

}

/* Botones */

.rules-buttons{

    margin-top:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.rules-buttons .btn-red,
.rules-buttons .btn-dark{

    min-width:220px;

    padding:16px 34px;

    font-size:17px;

    justify-content:center;

}

@media(max-width:900px){

    .rules-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:640px){

    .prize-box{

        padding:35px;

    }

    .prize-box h1{

        font-size:60px;

    }

    .prizes h2,
    .rules h2{

        font-size:40px;

    }

    .rules-buttons{

        flex-direction:column;

    }

    .rules-buttons .btn-red,
    .rules-buttons .btn-dark{

        width:100%;

        max-width:320px;

    }

}
/*==========================
BRACKETS
==========================*/

.brackets{
    padding:120px 0;
}

/*==========================
TÍTULOS DE SECCIÓN
==========================*/

.section-mini{
    display:block;
    width:100%;
    text-align:center;
    color:#ff2020;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    margin:0 0 15px;
}

.brackets h2,
.faq h2{
    font-size:52px;
    text-align:center;
    margin:15px 0 30px;
}

.bracket-description{
    max-width:750px;
    margin:0 auto 50px;
    text-align:center;
    color:#bdbdbd;
    line-height:1.8;
    font-size:18px;
}

.bracket-card{
    background:#11161d;
    border:1px solid rgba(255,32,32,.15);
    border-radius:22px;
    padding:20px;
    overflow:hidden;
}

.bracket-card iframe{
    width:100%;
    height:900px;
    border:none;
    border-radius:12px;
    background:#fff;
}

.bracket-info{
    margin-top:35px;
    text-align:center;
    color:#bdbdbd;
    font-size:18px;
}

@media(max-width:900px){
    .bracket-card iframe{
        height:700px;
    }
}

/*==========================
CONTACTO
==========================*/

.contact{
    padding:120px 0;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(320px,420px));
    justify-content:center;
    gap:30px;
    margin:0 auto;
}

.contact-card{
    background:#11161d;
    border:1px solid rgba(255,32,32,.15);
    border-radius:20px;
    padding:40px;
    text-align:center;
    transition:.25s;
}

.contact-card:hover{
    transform:translateY(-6px);
    border-color:#ff2020;
}

.contact-card i{
    font-size:42px;
    color:#ff2020;
    margin-bottom:20px;
}

.contact-card h3{
    margin:15px 0;
    font-size:24px;
}

.contact-card p{
    color:#bdbdbd;
    line-height:1.8;
    margin-bottom:25px;
}

@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }
}

/*==========================
FAQ
==========================*/

.faq{
    margin-top:100px;
}

.faq-list{
    max-width:900px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.faq details{
    background:#11161d;
    border:1px solid rgba(255,32,32,.15);
    border-radius:18px;
    padding:22px 28px;
    transition:.25s;
}

.faq details:hover{
    border-color:#ff2020;
}

.faq summary{
    cursor:pointer;
    font-size:19px;
    font-weight:700;
    list-style:none;
}

.faq summary::-webkit-details-marker{
    display:none;
}

.faq summary::after{
    content:"+";
    float:right;
    color:#ff2020;
    font-size:24px;
    font-weight:bold;
}

.faq details[open] summary::after{
    content:"−";
}

.faq details p{
    margin-top:18px;
    color:#bdbdbd;
    line-height:1.8;
}

.faq a{
    color:#ff2020;
    text-decoration:none;
    font-weight:600;
}

.faq a:hover{
    text-decoration:underline;
}

@media(max-width:900px){
    .faq h2{
        font-size:38px;
    }
}