:root {
    --primary-color: #06102b;
    --primary-color-light: #2891bb;
    --btn-dark-color: #33aada;

    --secondary-color: #00ff3a;
    --btn-secondary-color: #59ff00;
    --tertiary-color: #000;
    --third-color: #39a942;
}

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

body {
    font-family: 'Arial', sans-serif;
    min-height: 100dvh;
    position: relative;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    z-index: 1000;
}

.hero-banner {
    padding: 120px 20px 40px;
    background: var(--primary-color);
}

.hero-banner__link {
    display: block;
    text-decoration: none;
}

.hero-banner__media {
    position: relative;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-banner__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: 40px 60px;
    background: linear-gradient(90deg, rgba(6, 16, 43, 0.85) 0%, rgba(6, 16, 43, 0.25) 55%, rgba(6, 16, 43, 0) 100%);
}

.hero-banner__title {
    max-width: 760px;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 16px rgba(110, 233, 255, 0.7);
}

.hero-banner__subtitle {
    max-width: 660px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 0 14px rgba(106, 183, 255, 0.7);
}

.hero-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--btn-secondary-color);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.header-content {
    max-width: 1600px;
    padding: 10px 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1024px) {
    .hero-banner__media {
        height: 340px;
    }

    .hero-banner__overlay {
        padding: 32px 40px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 180px 16px 32px;
    }

    .hero-banner__media {
        height: 280px;
    }

    .hero-banner__overlay {
        padding: 24px 26px;
        gap: 12px;
    }

    .hero-banner__title {
        font-size: 36px;
    }

    .hero-banner__subtitle {
        font-size: 20px;
    }
}

/* Header Left Section */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-links {
    display: none;
    align-items: center;
    gap: 0px;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 12px;
}

.download-label {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.download-nav {
    display: flex;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: .7;
    border: 2px solid #fff;
    border-radius: 10px;
}

.download-link:hover {
    opacity: 0.8;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.download-link-text {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    background: #232e3f;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.download-link-text:hover {
    opacity: 0.8;
}
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 34px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(110deg, #ffffff 0%, #fff8c9 25%, #ffffff 50%, #7ad5ff 75%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: header-shimmer 3s linear infinite;
}

@keyframes header-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.logo-header-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}


.btn-icon {
    width: 100px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid #fff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    box-shadow: 0 1px 1px 0 hsla(0, 0%, 100%, .15) inset;
    text-decoration: none;
    color: #fff;

    
}

a.btn-login-icon {
    text-decoration: none;
}

.btn-icon:hover {
    background: var(--primary-color);
}

.icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}



/* Header Search Section */
.header-search {
    flex: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid #252b36;
    height: 50px;
}

.header-search-link {
    display: block;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.search-input::placeholder {
    color: #ffffff;
    opacity: 1;
}

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-right: 8px;

}

.search-btn .icon-img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(95%) saturate(1352%) hue-rotate(75deg) brightness(119%) contrast(119%);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signup {
    padding: 15px 17px;
    background: var(--btn-secondary-color);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}


.logo-img {
    object-fit: contain;
    height: 150px;
    width: 100%;
}

.form-container .logo {
    position: relative;
}

@media (max-width: 768px) {
    .download-links {
        display: flex;
    }

    .header {
        padding: 0px 10px;
    }

    .header-content {
        padding: 10px 0px;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }

    .header-search {
        max-width: none;
        min-width: 0;
    }

    .search-input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-signup {
        padding: 13px 12px;
        font-size: 14px;
    }
}


.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 80px 20px 0px 20px;
    box-shadow: inset 0 0 60px 80px var(--primary-color);
    background: var(--primary-color-light);

    @media (max-width: 768px) {
        align-items: center;
    }
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;

    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
}

.banner-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.banner-img {
    width: 75%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .banner-container {
        display: none;
    }
}

.logo {
    display: flex;
    justify-content: center;
}

.headline-1 {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.headline-2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;

    @media (max-width: 768px) {
        font-size: 25px;
    }
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: var(--btn-secondary-color);
    color: #000;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login {
    background: transparent;
    color: #000;
    font-weight: 600;
}

.btn-register:hover {
    transform: scale(1.02);
}

/* Content Section */
.content-section {
    position: relative;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    padding: 60px 20px;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.content-sidebar {
    background: rgba(10, 14, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 16px;
    position: sticky;
    top: 110px;
}

.content-sidebar-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.content-games {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow: auto;
}

.content-game-btn {
    width: 100%;
    text-align: left;
    background: #1b2230;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.content-game-btn:hover {
    background: #263247;
    transform: translateX(2px);
}

.content-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.content-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.content-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--third-color);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.content-btn:hover {
    transform: scale(1.05);
}

.text-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.text-content a {
    text-decoration: none;
}

.text-content p {
    margin-bottom: 25px;
}

.text-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .content-section {
        padding: 40px 20px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }

    .content-games {
        max-height: 240px;
    }

    .content-title {
        font-size: 24px;
    }

    .content-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .text-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .header-search {
        display: none;
    }

    .form-container {
        padding: 30px 40px 80px;
    }

    .logo-header-img {
        height: 70px;
    }
}

/* Footer */
.footer {
    background: #14161c;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

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

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer p:first-child {
    margin-bottom: 5px;
}

.footer-icons {
    padding: 16px 8px;
    background: #0b1834;
}

.footer-icons__row {
    max-width: 1400px;
margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
}

.footer-icon {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}


@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
    }

    .age-restriction-icon {
        width: 45px;
        height: 45px;
    }

    .age-number {
        font-size: 20px;
    }

    .age-plus {
        font-size: 9px;
        top: 7px;
        left: 28px;
    }

    .footer-disclaimer p {
        font-size: 12px;
    }


    .footer-icon {
        height: 22px;
    }
}





.form-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.btn-login-banner {
    width: 100%;
    padding: 18px;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid #ffffffab;
    transition: all 0.2s;
    
    &:hover {
        background: #ffffffab;
        color: #000;
    }
}

.btn-login-banner:hover {
    transform: scale(1.02);
}

/* Games Section */
.games-section {
    background: #0b1834;
    padding: 1px 20px;
}

.games-wrapper {
    max-width: 1200px;
    margin: 40px auto 0 auto;

    @media (max-width: 768px) {
        /* margin: 120px auto 0 auto; */
    }
}

.game-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.games-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.games-subtitle {
    color: rgba(255, 255, 255, 1);
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 900;
}

.games-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 20px;
    justify-items: center;
}

.game-card {
    width: 100%;
    max-width: 252px;
    background: #0b1224;
    border-radius: 8px;
    overflow: hidden;
}

.game-card-btn {
    width: 100%;
    height: auto;
    aspect-ratio: 252 / 344;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: block;
    text-align: center;
    padding: 12px;
    position: relative;
}

.game-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.game-card-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 700;
    padding: 0;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.game-card-cta {
    position: relative;
    z-index: 2;
    color: #ffffff;
    background: #0d6fde;
    border-radius: 6px;
    margin: 12px auto 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    width: fit-content;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
    box-shadow: 0 4px 12px rgba(13, 111, 222, 0.35);
}

.game-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(22, 25, 29, 0.37) 0%, rgba(13, 111, 222, 0.9) 100%);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.game-card-btn:hover::before,
.game-card-btn:focus-visible::before {
    opacity: 1;
}

.game-card-btn:hover .game-card-cta,
.game-card-btn:focus-visible .game-card-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.game-card-btn:hover .game-card-title,
.game-card-btn:focus-visible .game-card-title {
    opacity: 1;
    transform: translateY(0);
}

/* Game Modal */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.game-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.game-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.game-modal-content {
    position: relative;
    width: min(960px, 92vw);
    background: #0b1224;
    border-radius: 16px;
    padding: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-modal-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-right: 40px;
}

.game-modal-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    height: min(70vh, 600px);
    min-height: 360px;
}

.game-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.game-modal-close::before,
.game-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #ffffff;
    transform-origin: center;
}

.game-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.game-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {


    .games-title {
        font-size: 24px;
    }

    .games-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        justify-items: stretch;
    }

    .game-card {
        max-width: none;
    }

    .game-card-btn {
        aspect-ratio: 252 / 344;
    }

    .game-modal-content {
        padding: 16px;
    }

    .game-modal-title {
        font-size: 18px;
    }

    .game-modal-frame {
        height: 60vh;
        min-height: 300px;
    }
}
