/* ==========================================================
   GLOBAL
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial,Helvetica,sans-serif;

    background:#071826;

    color:white;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1400px,92%);

    margin:auto;

}

section{

    position:relative;

}

/* Separacion visual sutil entre bloques principales. */
main > section{
    isolation:isolate;
}

main > section:not(#hero)::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    box-shadow:inset 0 1px rgba(255,255,255,.05), inset 0 -1px rgba(0,0,0,.22);
}

main > section:nth-of-type(odd):not(#hero)::after{
    background:rgba(255,255,255,.015);
}

main > section:nth-of-type(even):not(#hero)::after{
    background:rgba(0,0,0,.055);
}

main > section > .container{
    position:relative;
    z-index:1;
}

/* Orden de las secciones de la página principal. */
main{
    display:flex;
    flex-direction:column;
}

#hero{ order:1; }
#quick-access{ order:2; }
#tournament{ order:3; }
#players{ order:4; }
#programming{ order:5; }
#schedule{ order:6; }
#draw{ order:7; }
#live{ order:8; }
#news{ order:9; }
#gallery{ order:10; }
#venue{ order:11; }
#discover{ order:12; }
#sponsors{ order:13; }

#programming{
    padding:120px 0;
    background:
        radial-gradient(1200px 500px at 10% -20%, rgba(199,140,50,.24), transparent 55%),
        linear-gradient(170deg, #0c1e2f, #081725 62%, #0a1b2a);
}

.programming-list{
    display:grid;
    gap:20px;
}

.programming-card{
    border:1px solid rgba(199,140,50,.4);
    background:linear-gradient(160deg, rgba(16,36,54,.95), rgba(8,20,31,.95));
    box-shadow:0 20px 44px rgba(0,0,0,.3);
    border-radius:20px;
    padding:28px 30px;
    position:relative;
    overflow:hidden;
}

.programming-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:7px;
    background:linear-gradient(180deg, #f2c67d, #c78c32);
}

.programming-date{
    margin:0 0 8px;
    color:#f3d49b;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:700;
    font-size:1rem;
}

.programming-title{
    margin:0;
    font-size:2rem;
    line-height:1.1;
    letter-spacing:.01em;
}

.programming-subtitle{
    margin:10px 0 0;
    color:#d6e4ef;
    font-size:1.08rem;
    line-height:1.45;
}

@media (max-width:700px){
    .programming-card{
        padding:22px 20px 22px 22px;
    }

    .programming-title{
        font-size:1.55rem;
    }

    .programming-date{
        font-size:.9rem;
    }
}

/* ==========================================================
BUTTONS
========================================================== */

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:15px 34px;

    border-radius:50px;

    font-weight:700;

    transition:.30s;

}

.btn-primary{

    background:#c78c32;

    color:white;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    border:2px solid white;

}

.btn-secondary:hover{

    background:white;

    color:#071826;

}

/* ==========================================================
TITLE
========================================================== */

.section-title{

    font-size:3rem;

    font-weight:700;

    text-align:center;

    margin-bottom:70px;

}

.section-header{
    max-width:900px;
    margin:0 auto 56px;
    text-align:center;
}

.section-subtitle,
.section-kicker{
    display:inline-block;
    margin-bottom:12px;
    color:#C78C32;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.22em;
    text-transform:uppercase;
}

.section-header .section-title{
    margin-bottom:14px;
}

.section-header p{
    max-width:760px;
    margin:0 auto;
    color:#B7C4D1;
    line-height:1.6;
}
