/* ===========================
   GENERAL
=========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #08131f;
    color: #fff;
    font-family: Poppins, sans-serif;
}

section {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* ===========================
   HERO
=========================== */

.hero {

    padding: 140px 0 80px;
    text-align: center;

}

.tag {

    display: inline-block;
    background: #133a59;
    color: #57b7ff;

    padding: 10px 20px;
    border-radius: 40px;

    margin-bottom: 25px;

    font-weight: 600;

}

.hero h1 {

    font-size: 70px;
    margin-bottom: 20px;

}

.hero p {

    max-width: 700px;
    margin: auto;

    color: #b8c6d8;
    line-height: 1.8;

    font-size: 18px;

}

.game-info {

    display: flex;
    justify-content: center;
    gap: 18px;

    flex-wrap: wrap;

    margin: 40px 0;

}

.game-info span {

    background: #162433;

    padding: 12px 20px;

    border-radius: 40px;

}

.play-btn {

    display: inline-block;

    padding: 16px 45px;

    background: #00d4ff;

    color: #08131f;

    border-radius: 50px;

    font-weight: 700;

    text-decoration: none;

    transition: .3s;

}

.play-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 0 25px #00d4ff;

}

/* ===========================
   GAME
=========================== */

.game-section {

    margin-top: 70px;

}

.game-section h2 {

    text-align: center;
    margin-bottom: 35px;
    font-size: 40px;

}

.game-container {

    aspect-ratio: 16/9;
    width: 100%;
    max-width: 1400px;
    margin: auto;

    border-radius: 20px;

    overflow: hidden;

    border: 3px solid #00d4ff;

    box-shadow: 0 0 30px rgba(0, 212, 255, .35);

}


.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   CONTROLS
=========================== */

.controls {

    margin-top: 80px;

}

.controls h2 {

    text-align: center;

    margin-bottom: 40px;

    font-size: 38px;

}

.control-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}

.control-grid div {

    background: #162433;

    padding: 25px;

    border-radius: 15px;

    text-align: center;

    transition: .3s;

}

.control-grid div:hover {

    transform: translateY(-5px);

    background: #203447;

}

/* ===========================
   DESCRIPTION
=========================== */

.description {

    margin: 90px auto;

}

.description h2 {

    text-align: center;
    margin-bottom: 30px;
    font-size: 38px;

}

.description p {

    max-width: 900px;

    margin: auto;

    text-align: center;

    color: #b8c6d8;

    line-height: 2;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px) {

    .control-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .hero h1 {

        font-size: 55px;

    }

    .game-container iframe {

        height: 650px;

    }

}

@media(max-width:768px) {

    .hero {

        padding-top: 110px;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero p {

        font-size: 16px;

    }

    .control-grid {

        grid-template-columns: 1fr;

    }

    .game-container iframe {

        height: 500px;

    }

}

@media(max-width:480px) {

    .hero h1 {

        font-size: 34px;

    }

    .play-btn {

        width: 100%;

        text-align: center;

    }

    .game-container iframe {

        height: 420px;

    }

}

.game-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.game-actions button {
    padding: 15px 28px;
    border: none;
    border-radius: 50px;
    background: #00d4ff;
    color: #08131f;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.game-actions button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px #00d4ff;
}