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

body{
    font-family:'Exo 2',sans-serif;
    background:#050b16;
    color:white;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

header{

    position:fixed;

    width:100%;

    top:0;

    z-index:1000;

    background:rgba(0,0,0,.8);

    backdrop-filter:blur(10px);
}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:90px;
}

.logo{

    height:70px;

    filter:drop-shadow(0 0 15px #000000);
}

nav{

    display:flex;
    gap:20px;
}

nav a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

nav a:hover{

    color:#00ff88;
}

.hero{

    position:relative;

    height:100vh;

    background:url("../img/backgrounds/hero.webp");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.85)
    );
}

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;
}

.hero h1{

    font-size:80px;

    margin-bottom:20px;

    text-shadow:0 0 20px #00a3ff;
}

.hero p{

    font-size:24px;

    margin-bottom:30px;
}

.btn{

    display:inline-block;

    padding:16px 34px;

    border-radius:10px;

    background:
    linear-gradient(
    90deg,
    #00a3ff,
    #00ff88);

    color:#050b16;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

    box-shadow:
    0 0 25px rgba(0,255,136,.35);
}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 10px 35px rgba(0,255,136,.5);
}

section{

    padding:80px 10%;
}

h2{

    position:relative;

    display:inline-block;

    left:50%;

    transform:translateX(-50%);

    margin-bottom:60px;

    font-size:38px;

    font-weight:700;
}

h2::after{

    content:"";

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    bottom:-18px;

    width:80px;

    height:4px;

    border-radius:50px;

    background:
    linear-gradient(
    90deg,
    #00a3ff,
    #00ff88);
}

.cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.card{

    background:#151b25;

    padding:30px;

    border-radius:15px;

    border:1px solid #1f2937;

    transition:.3s;
}

.card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 0 25px rgba(0,255,136,.3);
}

table{

    width:100%;

    border-collapse:collapse;
}

th,td{

    border:1px solid #222;

    padding:15px;
}

th{

    background:#111827;
}

footer{

    padding:40px;

    text-align:center;

    background:#111827;
}

.pilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pilot-card {
    text-align: center;
}

.classes-section {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.classes-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.classes-list li {
    padding: 12px 25px;
    border: 2px solid #ffcc00;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
}

.championship-info,
.calendar-section,
.prize-section,
.standings-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.calendar-section {
    display: grid;
    gap: 20px;
}

.event-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
}

.event-card h3 {
    margin-bottom: 10px;
}

.completed {
    border-left: 4px solid #ff0000;
}

.upcoming {
    border-left: 4px solid #58ec03;
}

.event-card span {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
}

.table-wrapper {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table th,
.standings-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.standings-table th {
    background: #111;
}

.standings-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.contacts-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.contact-card h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: #ccc;
    line-height: 1.6;
}

.contact-card a {
    color: #ff2d2d;
    text-decoration: none;
}

.contact-cta {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 20px;
}

.contact-cta p {
    color: #ccc;
    margin-bottom: 30px;
}


.map-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-section iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 12px;
}

/* ==========================
   ШКОЛА КАРТИНГА
========================== */

.features{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:50px;
}

.feature{

    position:relative;

    background:#111827;

    border:1px solid rgba(0,255,136,.15);

    border-radius:18px;

    padding:35px;

    overflow:hidden;

    text-align:center;

    transition:.35s;
}

.feature::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    135deg,
    rgba(0,255,136,.08),
    transparent 70%);

    opacity:0;

    transition:.35s;
}

.feature:hover{

    transform:translateY(-8px);

    border-color:#00ff88;

    box-shadow:
    0 15px 40px rgba(0,255,136,.25);
}

.feature:hover::before{

    opacity:1;
}

.feature-icon{

    font-size:46px;

    margin-bottom:18px;
}

.feature h3{

    margin-bottom:15px;

    font-size:24px;
}

.feature p{

    color:#bfc7d5;

    line-height:1.6;
}

.program-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;
}

.program-item{

    background:#111827;

    padding:22px;

    border-radius:15px;

    text-align:center;

    font-weight:700;

    border:1px solid #1f2937;

    transition:.3s;
}

.program-item:hover{

    transform:translateY(-5px);

    border-color:#00ff88;

    box-shadow:
    0 0 25px rgba(0,255,136,.25);
}

.price-card{

    background:#111827;

    border-radius:18px;

    padding:40px;

    margin:25px auto;

    max-width:450px;

    text-align:center;

    border:1px solid rgba(0,255,136,.15);

    transition:.35s;
}

.price-card:hover{

    transform:translateY(-8px);

    border-color:#00ff88;

    box-shadow:
    0 20px 45px rgba(0,255,136,.25);
}

.price{

    font-size:42px;

    margin-top:15px;

    color:#00ff88;

    font-weight:800;
}

.about-school{

    background:#08111d;
}

.program{

    background:#050b16;
}

.school-types{

    background:#0b1220;
}

.prices{

    background:#050b16;
}

.cta{

    background:#08111d;
}

.page-header h1{

    text-align:center;

    line-height:1.1;

    font-size:72px;

    font-weight:800;

    text-transform:uppercase;
}

.page-header h1 span{

    display:block;

    font-size:32px;

    color:#00ff88;

    letter-spacing:10px;

    margin-bottom:15px;
}

.page-header h1::before,
.page-header h1::after{

    content:"";

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    width:120px;

    height:3px;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        transparent,
        #00ff88,
        transparent);
}

.page-header h1::before{

    top:0;
}

.page-header h1::after{

    bottom:0;
}

.page-header{

    text-align:center;
}

.page-header p{

    max-width:700px;

    margin:25px auto 40px;

    line-height:1.7;

    font-size:22px;

    color:#c8d2df;
}

.team-photo{

    position:relative;

    max-width:500px;

    margin:50px auto 0;
}

.team-photo img{

    width:100%;

    display:block;

    border-radius:20px;
}

.team-photo-caption{

    position:absolute;

    left:30px;
    bottom:25px;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(10px);

    padding:12px 22px;

    border-radius:12px;

    font-weight:700;

    color:#fff;

    border-left:4px solid #00ff88;
}

.event-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.event-card{
    transition:0.3s;
    cursor:pointer;
}

.event-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.stage-hero{

    position:relative;
    height:500px;
    overflow:hidden;

}

.stage-hero img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.stage-overlay{

    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.45);

    color:#fff;
    text-align:center;

}

.stage-overlay h1{

    font-size:48px;
    margin-bottom:15px;

}

.stage-overlay p{

    font-size:22px;

}

.stage-stats{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

}

.stat-card{

    background:#00c3ff;
    border-radius:15px;

    padding:35px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

    font-size:40px;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card h3{

    margin:15px 0;
    font-size:26px;

}

.stage-gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:20px;

    max-width:1200px;

    margin:auto;

    padding:40px 20px;

}

.stage-gallery img{

    width:100%;
    height:240px;

    object-fit:cover;

    border-radius:15px;

    transition:.3s;

}

.stage-gallery img:hover{

    transform:scale(1.03);

}

.gold{

    background:#ffe082;

}

.silver{

    background:#eeeeee;

}

.bronze{

    background:#f6c79f;

}

.back-events{

    text-align:center;

    margin:70px 0;

}