@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */

*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
    overflow-x:hidden;
}

/* =========================
   BODY BACKGROUND (F1 STYLE)
========================= */

body{
    font-family:'Inter',sans-serif;
    color:white;

    background: linear-gradient(to left, #910000 0%, #000000 70%);

    padding-top:110px;
}

/* =========================
   HEADER (FIXED BAR)
========================= */

.a{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:110px;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 30px;

    background: linear-gradient(to left, #910000 0%, #000000 70%);
    border-bottom:1px solid rgba(255,255,255,0.2);
}

/* =========================
   TITLE
========================= */

h1{
    font-size:50px;
    margin:0;
    color:red;
    text-shadow:2px 2px 3px black;
}

/* =========================
   NAV
========================= */

.nav-menu{
    display:flex;
    align-items:center;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:2em;
    color:white;
    cursor:pointer;
}

.menu-items{
    display:flex;
    list-style:none;
    gap:10px;
    margin:0;
    padding:0;
}

.menu-items li{
    padding:10px;
}

.nav-menu a{
    padding:5px 8px;
    border-radius:5px;

    color:red;
    border:3px solid red;
    text-decoration:none;

    transition:0.2s;
}

.nav-menu a:hover{
    background:red;
    color:white;
}

/* =========================
   WRAPPER
========================= */

.container{
    width:90%;
    max-width:1400px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:40px;
}

/* =========================
   HERO (PERFECT CROPPED BANNER)
========================= */

.hero-media{
    width: 100%;
    height: 520px;          /* стартова висота */

    overflow: hidden;
    border-radius: 20px;

    position: relative;

    transition: height 0.25s ease;
}

.hero-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;        /* ключ: рівний crop */
    object-position: center;

    display: block;
}
/* TEXT UNDER HERO */
.hero-text{
    padding:10px 5px;
}

.hero-text h1{
    font-size:56px;
    margin:0;
    color:red;
    text-shadow:2px 2px 3px black;
}

.version{
    font-size:18px;
    opacity:0.9;
    margin-top:6px;
}

.tagline{
    font-size:16px;
    color:rgba(255,255,255,0.85);
    margin-top:6px;
}

/* =========================
   OVERVIEW (2 COLUMN FIX)
========================= */

.overview{
    display:flex;
    gap:30px;
    align-items:stretch;
}

.overview-left{
    flex:3;
}

.overview-left p{
    line-height:1.8;
    color:rgba(255,255,255,0.85);
}

.download-panel{
    flex:1;
    background:rgba(31,41,55,0.8);
    padding:25px;
    border-radius:15px;
    text-align:center;

    border:1px solid rgba(255,255,255,0.1);
}

.download-panel button{
    width:100%;
    padding:15px;

    font-size:18px;
    font-weight:700;

    background:red;
    color:white;

    border:none;
    border-radius:10px;

    cursor:pointer;

    transition:0.2s;
}

.download-panel button:hover{
    transform:scale(1.03);
}

/* =========================
   TRAILER
========================= */

.trailer video{
    width:100%;
    border-radius:15px;
}

/* =========================
   CONTENT GRID
========================= */

.content{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.description p{
    line-height:1.9;
    font-size:16px;
    color:rgba(255,255,255,0.85);
}

.description img{
    width:100%;
    border-radius:15px;
    margin:20px 0;
}

/* =========================
   CARDS
========================= */

.features{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.card{
    background:rgba(31,41,55,0.8);
    padding:25px;
    border-radius:15px;

    border:1px solid rgba(255,255,255,0.1);
}

/* =========================
   FOOTER
========================= */

.footer-banner{
    text-align:center;
    margin-top:60px;
    padding:60px 20px;

    background:rgba(31,41,55,0.8);
    border-radius:20px;
}

.footer-banner h2{
    font-size:48px;
}

/* =========================
   LONG TEXT BLOCK
========================= */

.long-description{
    margin-top:25px;
    padding-top:20px;

    border-top:1px solid rgba(255,255,255,0.15);
}

.long-description p{
    font-size:16px;
    line-height:1.9;
    color:rgba(255,255,255,0.85);
}

/* =========================
   TABLES
========================= */

table{
    margin:0 auto;
    color:white;
}

td, th{
    padding:10px;
    border:1px solid red;
}

/* =========================
   MOBILE
========================= */

@media (max-width:1024px){

    .overview{
        flex-direction:column;
    }

    .content{
        grid-template-columns:1fr;
    }

    .menu-toggle{
        display:block;
    }

    .menu-items{
        display:none;
        flex-direction:column;

        position:absolute;
        top:100px;
        right:20px;

        background:black;
        border:1px solid white;

        width:240px;
        z-index:999;
    }

    .menu-items.show{
        display:flex;
    }
}

@media (max-width:768px){

    .hero-media{
        height:340px;
    }

    .hero-text h1{
        font-size:40px;
    }
}

@media (max-width:500px){

    body{
        padding-top:120px;
    }

    .hero-media{
        height:240px;
    }
}