@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #050e2d;
    overflow-x: hidden;
}

/* Scroll Bar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: #1aeeef; border-radius: 6px; }

/* ============ HEADER ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 7px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
    z-index: 1000;
}

header.sticky {
    background: #1b2141;
    box-shadow: 0 5px 20px #1b2141;
}

header .logo {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    font-weight: 700;
    white-space: nowrap;
}

header .nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
    margin: 10px;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}

header ul li a:hover {
    background: #1aeeef;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

header .action .searchBx {
    padding: 5px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 5px;
}

header .action .searchBx i {
    font-size: 1.4em;
    margin: 5px;
    color: #222;
}

header .action .searchBx input {
    outline: none;
    border: none;
    font-size: 1em;
    color: #222;
    width: 140px;
}

/* ============ BANNER ============ */
.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner .bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-left: 100px;
    align-items: center;
    background: url(FIFA-23-Mbappe.jpg) no-repeat;
    background-size: 550px;
    background-position: right center;
    margin-right: 90px;
    display: flex;
}

.banner .bg .content {
    width: 50%;
    height: 100%;
}

.banner .bg .content h2 {
    font-size: 4em;
    color: #fff;
    letter-spacing: 1px;
}

.banner .bg .content p {
    font-size: 1em;
    color: #dbd9d9;
    letter-spacing: 1px;
}

.banner .bg .content a {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    border: 1px solid #1aeeef;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
}

.banner .bg .content a:hover {
    background: #1aeeef;
    border: none;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

/* ============ ABOUT ============ */
.about {
    position: relative;
    width: 100%;
    min-height: 75vh;
    padding: 60px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about .contentBx {
    width: 50%;
}

.about .contentBx h2 {
    font-size: 3em;
    font-weight: 700;
    color: #fff;
}

.about .contentBx p {
    max-width: 600px;
    text-align: justify;
    color: #dbd9d9;
    margin-top: 15px;
    line-height: 1.7;
}

.about .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    border: 1px solid #1aeeef;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
}

.about .contentBx a:hover {
    background: #1aeeef;
    border: none;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

.about img {
    height: 400px;
    width: 45%;
    object-fit: cover;
    border-radius: 10px;
    max-width: 100%;
}

/* ============ GAMES ============ */
.games {
    padding: 60px 100px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.games h2 {
    color: #fff;
    margin: 10px 0;
    font-size: 2em;
}

.games ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 5px;
}

.games ul li {
    list-style: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    color: #fff;
}

.games ul li.active {
    background: #1aeeef;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

.games .cardBx {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.games .cardBx .card {
    width: 280px;
    border-radius: 10px;
    background: #1b2141;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.games .cardBx .card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.games .cardBx .card .content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.games .cardBx .card .content h4 {
    color: #fff;
    margin: 15px 0;
}

.games .cardBx .card .progress-line {
    position: relative;
    height: 10px;
    width: 100%;
    background: #35407e;
    margin-bottom: 15px;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}

.games .cardBx .card .progress-line span {
    position: absolute;
    height: 100%;
    width: 80%;
    border-radius: 10px;
    background: #1aeeef;
    box-shadow: 0 0 10px #1aeeef;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}

@keyframes animate {
    100% { transform: scaleX(1); }
}

.games .cardBx .card .info {
    border-top: 2px solid #35407e;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.games .cardBx .card .info p {
    font-size: 1em;
    color: #fff;
}

.games .cardBx .card .info p span {
    color: #1aeeef;
}

.games .cardBx .card .info a {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border: 1px solid #1aeeef;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}

.games .cardBx .card .info a:hover {
    background: #1aeeef;
    border: none;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

.games .cardBx .card.hide {
    display: none;
}

/* ============ TOURNAMENTS ============ */
.tournaments {
    padding: 60px 100px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tournaments h2 {
    color: #fff;
    margin: 10px 0;
    font-size: 2em;
}

.tournaments .boxBx {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 20px;
}

.tournaments .boxBx .box {
    width: 350px;
    border-radius: 10px;
    background: #1b2141;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tournaments .boxBx .box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tournaments .boxBx .box .content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tournaments .boxBx .box .content h4 {
    color: #fff;
    margin-top: 15px;
}

.tournaments .boxBx .box .content h4 span {
    color: #1aeeef;
}

.tournaments .boxBx .box .content p {
    text-align: justify;
    color: #dbd9d9;
    margin-top: 10px;
    line-height: 1.6;
    flex: 1;
}

.tournaments .boxBx .box .content .btn {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.tournaments .boxBx .box .content .watch {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background: #1aeeef;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    color: #050e2d;
    letter-spacing: 1px;
    box-shadow: 0 0 10px #1aeeef;
}

.tournaments .boxBx .box .content .watch:hover {
    border: 1px solid #1aeeef;
    background: none;
    color: #fff;
    box-shadow: none;
}

.tournaments .boxBx .box .content .join {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border: 1px solid #1aeeef;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
}

.tournaments .boxBx .box .content .join:hover {
    background: #1aeeef;
    border: none;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

/* ============ CONTACT ============ */
.contact {
    padding: 60px 100px;
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.contact img {
    height: 500px;
    width: 45%;
    object-fit: cover;
    border-radius: 10px;
    max-width: 100%;
}

.contact .form {
    width: 50%;
}

.contact .form h1 {
    color: #fff;
}

.contact .form .inputBx {
    margin: 10px 0;
}

.contact .form .inputBx p {
    color: #fff;
}

.contact .form .inputBx input,
.contact .form .inputBx textarea {
    border: none;
    outline: none;
    padding: 10px;
    width: 100%;
    color: #fff;
    background: #1b2141;
    min-height: 15px;
    font-size: 1.1em;
    border-radius: 5px;
}

.contact .form .inputBx textarea {
    height: 150px;
    resize: vertical;
}

.contact .form .inputBx input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    margin: 15px 0;
    outline: none;
    background: transparent;
    border: 1px solid #1aeeef;
    text-decoration: none;
    font-weight: 700;
    width: 150px;
    border-radius: 5px;
    color: #fff;
    letter-spacing: 1px;
    cursor: pointer;
}

.contact .form .inputBx input[type="submit"]:hover {
    background: #1aeeef;
    border: none;
    color: #050e2d;
    box-shadow: 0 0 10px #1aeeef;
}

/* ============ FOOTER ============ */
footer {
    padding: 20px 100px;
    border-top: 1px solid #1b2141;
}

footer .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

footer .info .logo {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    font-weight: 700;
}

footer .info p {
    color: #dbd9d9;
}

footer .info ul {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

footer .info ul li {
    list-style: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #1aeeef;
}

footer .info ul li:hover {
    background: #1aeeef;
    border: none;
    box-shadow: 0 0 10px #1aeeef;
}

footer .info ul li a i {
    font-size: 1.5em;
    color: #fff;
}

footer .info ul li:hover a i {
    color: #050e2d;
}

/* ============ TOGGLE MENU BUTTON ============ */
.toggleMenu {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.toggleMenu span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.toggleMenu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.toggleMenu.active span:nth-child(2) {
    opacity: 0;
}

.toggleMenu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

/* Tablet — 991px and below */
@media (max-width: 991px) {
    header {
        padding: 15px 30px;
    }

    .toggleMenu {
        display: flex;
    }

    header .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #1b2141;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 1000;
    }

    header .nav.active {
        display: flex;
    }

    header .nav li {
        margin: 10px 0;
    }

    header .nav li a {
        font-size: 1.3em;
    }

    header .action {
        display: none;
    }

    /* Banner */
    .banner .bg {
        margin: 0;
        padding: 120px 30px 60px;
        background-size: 380px;
        background-position: right bottom;
        min-height: 100vh;
    }

    .banner .bg .content {
        width: 60%;
    }

    .banner .bg .content h2 {
        font-size: 2.8em;
    }

    /* About */
    .about {
        flex-direction: column;
        padding: 60px 30px;
        text-align: center;
    }

    .about .contentBx {
        width: 100%;
    }

    .about .contentBx p {
        max-width: 100%;
    }

    .about img {
        width: 100%;
        height: 300px;
    }

    /* Games */
    .games {
        padding: 60px 30px;
    }

    /* Tournaments */
    .tournaments {
        padding: 60px 30px;
    }

    .tournaments .boxBx .box {
        width: 45%;
        min-width: 280px;
    }

    /* Contact */
    .contact {
        flex-direction: column;
        padding: 60px 30px;
    }

    .contact img {
        width: 100%;
        height: 300px;
    }

    .contact .form {
        width: 100%;
        margin: 0;
    }

    /* Footer */
    footer {
        padding: 20px 30px;
    }

    footer .info {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile — 600px and below */
@media (max-width: 600px) {
    header {
        padding: 15px 20px;
    }

    header .logo {
        font-size: 1.5em;
    }

    /* Banner */
    .banner .bg {
        background: none;
        padding: 100px 20px 60px;
        justify-content: center;
    }

    .banner .bg .content {
        width: 100%;
        text-align: center;
    }

    .banner .bg .content h2 {
        font-size: 2em;
    }

    .banner .bg .content p {
        font-size: 0.9em;
    }

    /* About */
    .about {
        padding: 40px 20px;
    }

    .about .contentBx h2 {
        font-size: 2em;
    }

    .about img {
        height: 220px;
    }

    /* Games */
    .games {
        padding: 40px 20px;
    }

    .games .cardBx .card {
        width: 100%;
        max-width: 340px;
    }

    .games .cardBx .card img {
        height: 220px;
    }

    /* Tournaments */
    .tournaments {
        padding: 40px 20px;
    }

    .tournaments .boxBx .box {
        width: 100%;
        max-width: 400px;
    }

    /* Contact */
    .contact {
        padding: 40px 20px;
    }

    .contact img {
        height: 200px;
    }

    /* Footer */
    footer {
        padding: 20px;
    }
}
