@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.page-wrapper {
    max-width: 1368px;
    margin: 0 auto;
    position: relative;
}

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

.header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 30px;
    height: 30px;
}

.logo span {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    background-color: #83ea12;
    border: 3px solid #fff;
    border-radius: 60px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    box-shadow: 0px 0px 18px 0px rgba(131, 234, 18, 0.8);
}

.hero {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-image {
    flex-shrink: 0;
    width: 524px;
    height: 650px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    max-width: 710px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.hero-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 84px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    max-width: 594px;
}

.about-content h2 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.about-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.about-image {
    flex-shrink: 0;
    width: 630px;
    height: 637px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strengths {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 50px 84px;
}

.strengths-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1099px;
    margin-bottom: 30px;
}

.strengths-header h2 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.strengths-header p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.strengths-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.strengths-row {
    display: flex;
    gap: 20px;
}

.strength-card {
    width: 387px;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 20px;
    overflow: hidden;
}

.strength-card-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.strength-card-icon {
    width: 60px;
    height: 60px;
}

.strength-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strength-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.strength-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.popular {
    padding: 60px 84px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.popular-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1099px;
    text-align: center;
}

.popular-header h2 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.popular-header p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

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

.games-small {
    display: flex;
    gap: 15px;
}

.games-large {
    display: flex;
    gap: 20px;
}

.game-thumb-small {
    width: 140px;
    height: 140px;
    border: 3px solid #83ea12;
    border-radius: 26px;
    overflow: hidden;
    flex-shrink: 0;
}

.game-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-thumb-large {
    width: 275px;
    height: 275px;
    border: 3px solid #83ea12;
    border-radius: 26px;
    overflow: hidden;
    flex-shrink: 0;
}

.game-thumb-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog {
    padding: 20px 84px 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.catalog-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1099px;
    text-align: center;
}

.catalog-header h1 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.catalog-header p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.game-detail {
    padding: 20px 84px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.game-detail-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.game-detail-header h1 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.game-detail-header p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.game-detail-image {
    width: 275px;
    height: 275px;
    border: 3px solid #83ea12;
    border-radius: 26px;
    overflow: hidden;
    flex-shrink: 0;
}

.game-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-extra {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 50px 84px;
}

.game-extra-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    max-width: 1201px;
}

.game-extra-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1099px;
}

.game-extra-content h2 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.game-extra-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.policy {
    padding: 20px 84px 60px;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1098px;
}

.policy-content h1 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
}

.policy-text {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    white-space: pre-wrap;
}

.policy-text p {
    margin-bottom: 14px;
}

.policy-text p:last-child {
    margin-bottom: 0;
}

.join {
    position: relative;
    overflow: hidden;
}

.join-bg {
    width: 100%;
    object-fit: cover;
    opacity: 0.49;
    display: block;
}

.join-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 984px;
    max-width: calc(100% - 30px);
    background-color: #111;
    border: 2px solid #fff;
    border-radius: 40px;
    padding: 28px;
    overflow: hidden;
    text-align: center;
}

.join-card h2 {
    font-size: 50px;
    font-weight: 600;
    color: #83ea12;
    line-height: 1.1;
    margin-bottom: 20px;
}

.join-card .join-text {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.join-card .join-spacer {
    height: 14px;
}

.join-card .join-contact {
    font-size: 14px;
    font-weight: 700;
    color: #83ea12;
    line-height: normal;
}

.footer {
    padding: 20px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials img {
    width: 100%;
    height: 100%;
}

.footer-copy {
    font-size: 14px;
    font-weight: 400;
}

.cookie-banner {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 30px;
    margin: 0 auto;
    max-width: 970px;
    z-index: 1000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-card {
    background-color: #0a0a0a;
    border: 2px solid #83ea12;
    border-radius: 24px;
    box-shadow: 0px 0px 24px 0px rgba(131, 234, 18, 0.7);
    padding: 30px 40px 40px;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.cookie-card h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.cookie-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 24px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 30px;
    border-radius: 60px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-btn-accept {
    background-color: #83ea12;
    border: none;
    color: #111;
    box-shadow: 0px 0px 18px 0px rgba(131, 234, 18, 0.8);
}

.cookie-btn-manage {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
    }

    .cookie-card {
        padding: 24px 20px 30px;
    }

    .cookie-card h2 {
        font-size: 28px;
    }

    .cookie-card p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        gap: 20px;
    }

    .hero-image {
        width: 100%;
        height: 428px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .about {
        flex-direction: column;
        padding: 60px 15px;
        gap: 30px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-image {
        width: 100%;
        height: 349px;
    }

    .strengths {
        padding: 50px 15px;
    }

    .strengths-header h2 {
        font-size: 30px;
    }

    .strengths-row {
        flex-direction: column;
    }

    .strength-card {
        width: 100%;
    }

    .game-detail {
        padding: 20px 15px 0;
    }

    .game-detail-header h1 {
        font-size: 30px;
    }

    .game-extra {
        padding: 50px 15px;
    }

    .game-extra-content h2 {
        font-size: 30px;
    }

    .policy {
        padding: 20px 15px 60px;
    }

    .policy-content h1 {
        font-size: 30px;
    }

    .catalog {
        padding: 20px 15px 60px;
    }

    .catalog-header h1 {
        font-size: 30px;
    }

    .popular {
        padding: 60px 15px;
    }

    .popular-header h2 {
        font-size: 30px;
    }

    .popular-games,
    .catalog .popular-games {
        flex-direction: column;
        align-items: center;
    }

    .games-large {
        flex-direction: column;
        align-items: center;
    }

    .join-card {
        position: absolute;
        width: 330px;
        padding: 18px;
    }

    .join-card h2 {
        font-size: 30px;
    }

    .footer {
        padding: 20px 15px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===== Transitions, hover effects & animations ===== */

.btn,
.nav a,
.footer-nav a,
.footer-socials a,
.logo,
.strength-card,
.game-thumb-small,
.game-thumb-large,
.cookie-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease,
        background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0px 0px 28px 0px rgba(131, 234, 18, 1);
}

.btn:active {
    transform: translateY(0) scale(0.99);
}

.nav a:hover,
.footer-nav a:hover {
    color: #83ea12;
}

.logo:hover {
    transform: scale(1.04);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.strength-card:hover {
    transform: translateY(-6px);
    border-color: #83ea12;
    box-shadow: 0px 0px 22px 0px rgba(131, 234, 18, 0.45);
}

.game-thumb-small img,
.game-thumb-large img {
    transition: transform 0.4s ease;
}

.game-thumb-small:hover img,
.game-thumb-large:hover img {
    transform: scale(1.08);
}

.game-thumb-small:hover,
.game-thumb-large:hover {
    transform: translateY(-4px);
    box-shadow: 0px 0px 22px 0px rgba(131, 234, 18, 0.45);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0px 0px 26px 0px rgba(131, 234, 18, 1);
}

.cookie-btn-manage:hover {
    border-color: #83ea12;
    color: #83ea12;
}

/* Entrance animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero,
.about,
.strengths,
.popular,
.join,
.game-detail,
.game-extra,
.catalog,
.policy {
    animation: fadeInUp 0.8s ease both;
}

.cookie-banner:not(.hidden) {
    animation: fadeInUp 0.5s ease both;
}

.strength-card {
    animation: fadeIn 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
    *,
    .hero,
    .about,
    .strengths,
    .popular,
    .join,
    .game-detail,
    .game-extra,
    .catalog,
    .policy,
    .cookie-banner:not(.hidden),
    .strength-card {
        animation: none !important;
        transition: none !important;
    }
}
