*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    background:#05070d;
    color:#fff;
}

.nav-racing{
    position:fixed;
    top:0;
    width:100%;
    z-index:50;
    background:rgba(5,7,13,.75);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.08);
    padding:18px 0;
}

.brand{
    color:#fff;
    text-decoration:none;
    font-weight:900;
    font-size:22px;
    letter-spacing:-.5px;
}

.brand span{
    color:#ef233c;
}

.btn-red{
    background:#ef233c;
    color:white;
    border:0;
    border-radius:999px;
    padding:11px 22px;
    font-weight:800;
    box-shadow:0 12px 30px rgba(239,35,60,.35);
}

.btn-red:hover{
    background:#c9182d;
    color:white;
}

.hero-video{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 70% 30%, rgba(239,35,60,.35), transparent 35%),
        linear-gradient(90deg, rgba(5,7,13,.95), rgba(5,7,13,.65), rgba(5,7,13,.25)),
        linear-gradient(0deg, #05070d 0%, transparent 35%);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    padding-top:80px;
}

.badge-racing{
    display:inline-block;
    background:rgba(239,35,60,.15);
    border:1px solid rgba(239,35,60,.45);
    color:#fff;
    border-radius:999px;
    padding:10px 18px;
    font-weight:800;
    margin-bottom:24px;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;
}

.hero-content h1{
    font-size:clamp(52px,8vw,110px);
    line-height:.92;
    font-weight:1000;
    letter-spacing:-4px;
    max-width:1000px;
    margin-bottom:24px;
}

.hero-content p{
    font-size:22px;
    color:#d1d5db;
    max-width:620px;
    margin-bottom:34px;
}

.hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.section-dark{
    background:#05070d;
    padding:100px 0;
}

.section-title{
    margin-bottom:42px;
}

.section-title span{
    color:#ef233c;
    text-transform:uppercase;
    font-weight:900;
    letter-spacing:2px;
    font-size:13px;
}

.section-title h2{
    font-size:clamp(34px,5vw,64px);
    font-weight:1000;
    letter-spacing:-2px;
    max-width:900px;
}

.section-title p{
    color:#9ca3af;
    font-size:20px;
}

.feature-card{
    background:linear-gradient(180deg, #111827, #090b12);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:34px;
    min-height:230px;
    transition:.25s;
}

.feature-card:hover{
    transform:translateY(-6px);
    border-color:rgba(239,35,60,.65);
}

.feature-card h3{
    font-size:28px;
    font-weight:900;
}

.feature-card p{
    color:#a1a1aa;
    font-size:17px;
}

.gallery-section{
    padding:40px 0 100px;
    background:#05070d;
}

.gallery-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:260px 260px;
    gap:20px;
}

.gallery-img{
    background-size:cover;
    background-position:center;
    border-radius:30px;
    min-height:260px;
    border:1px solid rgba(255,255,255,.08);
}

.gallery-img.big{
    grid-row:span 2;
}

/* BOOKING MODERNA DARK */

.booking-section{
    background:
        radial-gradient(circle at 15% 10%, rgba(239,35,60,.16), transparent 28%),
        radial-gradient(circle at 85% 35%, rgba(255,255,255,.08), transparent 25%),
        linear-gradient(180deg,#05070d 0%,#090b12 100%);
    color:white;
    padding:110px 0;
}

.section-title.light h2{
    color:white;
}

.section-title.light p{
    color:#9ca3af;
}

.event-card{
    background:linear-gradient(180deg,#111827,#080b13);
    border:1px solid rgba(255,255,255,.08);
    border-radius:34px;
    padding:38px;
    box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.event-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    border-bottom:1px solid rgba(255,255,255,.08);
    padding-bottom:26px;
    margin-bottom:26px;
}

.event-header h3{
    font-size:34px;
    font-weight:1000;
    color:white;
    letter-spacing:-1px;
}

.event-header p,
.event-description{
    color:#9ca3af;
}

.price-box{
    background:#ef233c;
    color:white;
    border-radius:24px;
    padding:18px 24px;
    text-align:right;
    min-width:150px;
    box-shadow:0 20px 45px rgba(239,35,60,.35);
}

.price-box span{
    display:block;
    color:#ffe4e6;
    font-size:13px;
}

.price-box strong{
    font-size:28px;
}

.slots-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:18px;
    margin-top:30px;
}

.slot-card{
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    padding:22px;
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:center;
    transition:.25s;
}

.slot-card:hover{
    transform:translateY(-4px);
    border-color:rgba(239,35,60,.65);
    background:rgba(239,35,60,.08);
}

.slot-card strong{
    display:block;
    color:white;
    font-size:19px;
}

.slot-card span{
    display:block;
    color:#9ca3af;
    font-size:14px;
    margin-top:5px;
}

.slot-card b{
    display:block;
    margin-bottom:10px;
    text-align:right;
    color:white;
}

.footer{
    background:#02040a;
    color:#9ca3af;
    padding:50px 0;
}

@media(max-width:768px){
    .nav-racing{
        padding:14px 0;
    }

    .event-header{
        flex-direction:column;
    }

    .price-box{
        text-align:left;
        width:100%;
    }

    .slot-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .slot-card b{
        text-align:left;
    }

    .gallery-grid{
        grid-template-columns:1fr;
        grid-template-rows:auto;
    }

    .gallery-img.big{
        grid-row:auto;
    }

    .hero-content h1{
        letter-spacing:-2px;
    }

    .hero-content p{
        font-size:18px;
    }
}

.event-list-clean{
    display:grid;
    gap:20px;
}

.event-row-card{
    background:linear-gradient(180deg,#111827,#080b13);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.event-row-card h3{
    color:white;
    font-size:30px;
    font-weight:1000;
    margin:14px 0 8px;
}

.event-row-card p{
    color:#9ca3af;
    margin:0;
}

.event-date-badge{
    display:inline-block;
    background:rgba(239,35,60,.12);
    border:1px solid rgba(239,35,60,.45);
    color:#fff;
    border-radius:999px;
    padding:8px 14px;
    font-weight:900;
    font-size:13px;
}

.back-link{
    color:#9ca3af;
    text-decoration:none;
    font-weight:700;
}

.back-link:hover{
    color:white;
}

.slots-clean-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:18px;
}

.slot-clean-card{
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    padding:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    transition:.25s;
}

.slot-clean-card:hover{
    transform:translateY(-4px);
    border-color:rgba(239,35,60,.65);
    background:rgba(239,35,60,.08);
}

.slot-time{
    display:block;
    color:white;
    font-size:24px;
    font-weight:1000;
}

.slot-clean-card p{
    color:#9ca3af;
    margin:6px 0 0;
}

.slot-action{
    text-align:right;
}

.slot-action strong{
    display:block;
    color:white;
    margin-bottom:10px;
}

@media(max-width:768px){
    .event-row-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .slot-clean-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .slot-action{
        text-align:left;
    }
}

.booking-form-section{
    min-height:100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(239,35,60,.18), transparent 28%),
        linear-gradient(180deg,#05070d,#090b12);
    color:white;
    padding:140px 0 90px;
}

.booking-form-grid{
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:28px;
    margin-top:30px;
}

.booking-summary-card,
.booking-form-card,
.success-card{
    background:linear-gradient(180deg,#111827,#080b13);
    border:1px solid rgba(255,255,255,.08);
    border-radius:32px;
    padding:34px;
    box-shadow:0 30px 90px rgba(0,0,0,.4);
}

.booking-summary-card h1,
.success-card h1{
    font-size:52px;
    font-weight:1000;
    letter-spacing:-2px;
    margin:22px 0 14px;
}

.booking-form-card h2{
    font-size:34px;
    font-weight:1000;
    letter-spacing:-1px;
    margin-bottom:26px;
}

.summary-line,
.summary-note{
    color:#9ca3af;
}

.summary-box{
    display:grid;
    gap:14px;
    margin:28px 0;
}

.summary-box div{
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:18px;
}

.summary-box span{
    display:block;
    color:#9ca3af;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:6px;
}

.summary-box strong{
    display:block;
    color:white;
    font-size:20px;
}

.booking-form-card label{
    display:block;
    color:#d1d5db;
    font-weight:800;
    margin:16px 0 8px;
}

.booking-form-card input,
.booking-form-card select,
.booking-form-card textarea{
    width:100%;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    color:white;
    border-radius:16px;
    padding:15px 16px;
    outline:none;
}

.booking-form-card input:focus,
.booking-form-card select:focus,
.booking-form-card textarea:focus{
    border-color:#ef233c;
    box-shadow:0 0 0 4px rgba(239,35,60,.14);
}

.booking-form-card option{
    color:#111827;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.terms-check{
    display:flex !important;
    gap:12px;
    align-items:flex-start;
    color:#9ca3af !important;
    font-weight:600 !important;
}

.terms-check input{
    width:auto;
    margin-top:4px;
}

.success-card{
    max-width:760px;
    margin:0 auto;
    text-align:center;
}

.success-icon{
    width:80px;
    height:80px;
    border-radius:50%;
    background:#22c55e;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:44px;
    font-weight:1000;
    margin:0 auto 20px;
    box-shadow:0 20px 50px rgba(34,197,94,.35);
}

.success-summary{
    text-align:left;
}

@media(max-width:900px){
    .booking-form-grid{
        grid-template-columns:1fr;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .booking-summary-card h1,
    .success-card h1{
        font-size:40px;
    }
}