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


body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    margin: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.wrapper {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(26, 14, 1, 1) 100%);
    width: 100%;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


header {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    text-transform: uppercase;
    font-size: 29px;
    font-weight: 800;
}

header nav {
    width: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    color: #fff;
    transition: 0.3s ease;
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: #DC7000;
    border-radius: 10px;
    margin-top: 8px;
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 3px solid #DC7000;
    padding-bottom: 3px;
}

header nav ul li.btn a {
    background: #FA9021;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

header nav ul li.btn a:hover {
    background: #3b2003;
}


.dropdown > a {
    transition: 0.3s ease;
}

.dropdown:hover > a {
    color: #FA8305;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f1f1f;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-top: 0;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #aaa;
    font-size: 16px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #2a2a2a;
    color: #fff;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.hero {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero img {
    filter: invert(1);
    position: absolute;
    top: -15px;
    right: 0;
    max-width: 500px;
}

.hero--info {
    width: 530px;
    max-width: 100%;
    padding-top: 70px;
}

.hero--info h2 {
    color: #E87D0E;
    font-size: 20px;
    font-weight: 600;
}

.hero--info h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
}

.hero--info p {
    font-weight: 500;
    line-height: 170%;
    margin: 30px 0;
}

.hero--info .btn {
    background: #FA8305;
    color: #fff;
    border-radius: 50px;
    padding: 15px 30px;
    border: 0;
    transition: all 0.3s ease;
}

.hero--info .btn:hover {
    cursor: pointer;
    transform: scale(1.05);
}


.trending {
    padding-top: 50px;
}

.trending h3 {
    font-weight: 600;
    font-size: 31px;
}

.trending .see-all {
    color: #fff;
    background: #25211D;
    border-radius: 5px;
    padding: 12px 23px;
    float: right;
    display: block;
    transition: all 0.3s ease;
}

.trending .see-all:hover {
    transform: scale(1.05);
}

.trending .games {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: nowrap;
    padding: 50px 0;
}

.trending .games .block {
    width: 251px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trending .games .block img {
    width: 251px;
    height: 277px;
    object-fit: contain;
}

.trending .games .block span {
    margin-top: 3px;
    text-align: center;
    color: #fff;
}


@media (max-width: 992px) {
    .container {
        width: 92%;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 50px;
    }

    .hero img {
        position: static;
        margin-top: 20px;
        max-width: 320px;
    }

    .hero--info {
        width: 100%;
        padding-top: 20px;
    }

    .hero--info h1 {
        font-size: 38px;
    }

    .trending .games {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 0;
    }

    header .logo {
        font-size: 24px;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    header nav ul li.active::after {
        width: 30px;
        height: 4px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero--info {
        text-align: center;
    }

    .hero--info h2 {
        font-size: 18px;
    }

    .hero--info h1 {
        font-size: 32px;
    }

    .hero--info p {
        font-size: 15px;
        margin: 20px 0;
    }

    .hero img {
        max-width: 250px;
    }

    .trending {
        padding-top: 30px;
    }

    .trending h3 {
        font-size: 24px;
        text-align: center;
    }

    .trending .see-all {
        float: none;
        margin: 0 auto 20px auto;
        width: fit-content;
    }

    .trending .games {
        gap: 20px;
        padding: 30px 0;
    }

    .trending .games .block {
        width: 140px;
    }

    .trending .games .block img {
        width: 140px;
        height: 160px;
    }

    .dropdown-menu {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        padding: 5px 0 0 15px;
        min-width: auto;
    }

    .dropdown-menu li a {
        padding: 8px 0;
        color: #ccc;
        font-size: 15px;
    }

    .dropdown-menu li a:hover {
        background: transparent;
        color: #FA8305;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero--info h1 {
        font-size: 26px;
    }

    .hero--info h2 {
        font-size: 16px;
    }

    .hero--info p {
        font-size: 14px;
    }

    .hero--info .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .trending .games .block {
        width: 120px;
    }

    .trending .games .block img {
        width: 120px;
        height: 140px;
    }
}