/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #0b0b0b;

    color: #ffffff;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}


a {
    text-decoration: none;
}



/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: absolute;

    top: 18px;
    left: 4%;

    width: 92%;

    min-height: 92px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 10px 30px;

    background: rgba(10, 10, 10, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 24px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.25);

    z-index: 100;
}


.logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.navbar-logo {
    display: block;

    width: auto;

    height: 68px;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.logo:hover .navbar-logo {
    transform: scale(1.025);

    opacity: 0.92;
}



/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 6px;
}


.desktop-nav a {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 500;

    opacity: 0.72;

    border-radius: 13px;

    transition:
        opacity 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.desktop-nav a:hover {
    opacity: 1;

    background: rgba(255, 255, 255, 0.07);

    transform: translateY(-1px);
}



/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    position: relative;

    z-index: 200;
}


.mobile-menu-button {
    width: 46px;

    height: 46px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;

    list-style: none;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}


.mobile-menu-button::-webkit-details-marker {
    display: none;
}


.mobile-menu-button::marker {
    content: "";
}


.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.13);
}


.mobile-menu-button span {
    display: block;

    width: 20px;

    height: 2px;

    background: #ffffff;

    border-radius: 5px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.mobile-menu[open] .mobile-menu-button span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


.mobile-menu[open] .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}


.mobile-menu[open] .mobile-menu-button span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


.mobile-menu-panel {
    position: absolute;

    top: 58px;

    right: 0;

    width: 190px;

    display: flex;

    flex-direction: column;

    padding: 8px;

    background: rgba(13, 13, 13, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.mobile-menu-panel a {
    display: flex;

    align-items: center;

    min-height: 48px;

    padding: 0 15px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    opacity: 0.78;

    border-radius: 12px;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


.mobile-menu-panel a:hover {
    background: rgba(255, 255, 255, 0.07);

    opacity: 1;
}



/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding: 140px 7% 80px;

    background:
        radial-gradient(
            circle at 76% 43%,
            rgba(255, 255, 255, 0.09),
            transparent 31%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255, 255, 255, 0.035),
            transparent 27%
        ),
        #0b0b0b;
}


.hero::before {
    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    right: -200px;

    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.035);

    box-shadow:
        0 0 0 100px rgba(255, 255, 255, 0.008),
        0 0 0 200px rgba(255, 255, 255, 0.006);

    pointer-events: none;
}


.hero-content {
    position: relative;

    z-index: 2;

    max-width: 970px;
}


.hero-small {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 4px;

    color: #888888;

    margin-bottom: 30px;
}


.hero-small::before {
    content: "";

    width: 36px;

    height: 1px;

    background: #777777;
}


.hero h1 {
    font-size: clamp(60px, 8vw, 118px);

    line-height: 0.94;

    letter-spacing: -6px;

    margin-bottom: 34px;

    max-width: 1000px;
}


.hero-description {
    font-size: 20px;

    line-height: 1.6;

    color: #9c9c9c;

    margin-bottom: 42px;
}


.hero-button {
    display: inline-flex;

    align-items: center;

    gap: 22px;

    min-height: 58px;

    padding: 0 27px;

    background: #ffffff;

    color: #0b0b0b;

    font-size: 14px;

    font-weight: 700;

    border-radius: 100px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.hero-button span {
    font-size: 17px;

    transition: transform 0.25s ease;
}


.hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(255, 255, 255, 0.12);
}


.hero-button:hover span {
    transform: translateY(3px);
}



/* =========================================================
   SHARED
========================================================= */

.section-label {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 60px;

    color: #777777;
}



/* =========================================================
   GAMES
========================================================= */

.games-section {
    min-height: 100vh;

    background: #f2f2f0;

    color: #111111;

    padding: 130px 7% 150px;
}


.game-card {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: center;
}


.game-info {
    max-width: 520px;
}


.game-number {
    display: block;

    font-size: 13px;

    color: #888888;

    margin-bottom: 25px;
}


.game-info h2 {
    font-size: clamp(55px, 7vw, 105px);

    line-height: 0.9;

    letter-spacing: -5px;

    margin-bottom: 35px;
}


.game-info p {
    max-width: 420px;

    font-size: 18px;

    line-height: 1.6;

    color: #666666;

    margin-bottom: 35px;
}



/* =========================================================
   GOOGLE PLAY
========================================================= */

.game-actions {
    display: flex;

    align-items: center;

    gap: 15px;
}


.google-play-button {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    min-width: 210px;

    min-height: 68px;

    padding: 10px 20px;

    background: #111111;

    color: #ffffff;

    border-radius: 13px;

    border: 1px solid #292929;
}


.google-play-icon {
    display: block;

    width: 34px;

    height: 34px;

    object-fit: contain;

    flex-shrink: 0;
}


.google-play-text {
    display: flex;

    flex-direction: column;

    justify-content: center;
}


.google-play-small {
    display: block;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.2px;

    opacity: 0.7;

    margin-bottom: 2px;
}


.google-play-title {
    display: block;

    font-size: 22px;

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.google-play-button.coming-soon {
    cursor: default;
}



/* =========================================================
   GAME IMAGE
========================================================= */

.game-visual {
    width: 100%;

    overflow: hidden;

    border-radius: 28px;

    background: #111111;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.18);
}


.game-image {
    display: block;

    width: 100%;

    aspect-ratio: 8 / 5;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.game-visual:hover .game-image {
    transform: scale(1.025);
}



/* =========================================================
   ABOUT
========================================================= */

.about-section {
    min-height: 80vh;

    padding: 120px 7%;

    background: #0b0b0b;

    color: #ffffff;
}


.about-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: start;
}


.about-section h2 {
    font-size: clamp(48px, 7vw, 95px);

    letter-spacing: -4px;

    line-height: 0.95;
}


.about-text {
    max-width: 520px;

    padding-top: 16px;
}


.about-text p {
    font-size: 19px;

    line-height: 1.8;

    color: #a2a2a2;

    margin-bottom: 28px;
}



/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    min-height: 85vh;

    padding: 120px 7%;

    background: #151515;

    color: #ffffff;
}


.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: start;
}


.contact-section h2 {
    font-size: clamp(48px, 7vw, 95px);

    letter-spacing: -4px;

    line-height: 0.95;

    margin-bottom: 30px;
}


.contact-description {
    max-width: 500px;

    font-size: 19px;

    line-height: 1.8;

    color: #a2a2a2;
}


.contact-cards {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.contact-card {
    border: 1px solid #2b2b2b;

    border-radius: 20px;

    padding: 28px;

    background: #111111;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.contact-card:hover {
    transform: translateY(-3px);

    border-color: #444444;
}


.contact-card span {
    display: block;

    font-size: 12px;

    letter-spacing: 3px;

    color: #777777;

    margin-bottom: 14px;
}


.contact-card a {
    color: #ffffff;

    font-size: 22px;

    font-weight: 600;

    word-break: break-word;
}



/* =========================================================
   FOOTER
========================================================= */

footer {
    display: grid;

    grid-template-columns: 1fr auto auto;

    gap: 40px;

    align-items: start;

    padding: 45px 7%;

    background: #0b0b0b;

    border-top: 1px solid #222222;
}


.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-logo-link {
    display: inline-flex;

    align-items: center;

    margin-bottom: 13px;
}


.footer-logo-image {
    display: block;

    width: auto;

    height: 48px;

    object-fit: contain;
}


.footer-brand p {
    color: #7d7d7d;

    font-size: 14px;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 18px 24px;

    max-width: 420px;
}


.footer-links a {
    color: #7d7d7d;

    font-size: 14px;

    transition: color 0.2s ease;
}


.footer-links a:hover {
    color: #ffffff;
}


.footer-copy {
    color: #7d7d7d;

    font-size: 13px;

    white-space: nowrap;

    align-self: end;
}



/* =========================================================
   LEGAL PAGE
========================================================= */

.legal-page {
    min-height: 100vh;

    background: #f4f4f1;

    color: #111111;
}


.legal-top {
    min-height: 130px;

    padding-top: 18px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 255, 255, 0.07),
            transparent 30%
        ),
        #0b0b0b;
}


.legal-navbar {
    position: relative;

    top: auto;

    left: auto;

    width: 92%;

    margin: 0 auto;
}



/* =========================================================
   LEGAL CONTENT
========================================================= */

.legal-wrapper {
    width: min(900px, 86%);

    margin: 0 auto;

    padding: 100px 0 130px;
}


.legal-kicker {
    color: #777777;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 22px;
}


.legal-title {
    font-size: clamp(52px, 7vw, 86px);

    letter-spacing: -4px;

    line-height: 0.95;

    margin-bottom: 22px;
}


.legal-game {
    color: #777777;

    font-size: 21px;

    margin-bottom: 15px;
}


.legal-updated {
    color: #999999;

    font-size: 14px;

    margin-bottom: 70px;
}


.legal-intro {
    font-size: 20px;

    line-height: 1.75;

    color: #444444;

    margin-bottom: 65px;

    max-width: 820px;
}


.legal-intro p {
    margin-bottom: 18px;
}


.legal-section {
    padding: 40px 0;

    border-top: 1px solid #d8d8d3;
}


.legal-section h2 {
    font-size: 28px;

    letter-spacing: -1px;

    margin-bottom: 20px;
}


.legal-section p {
    color: #555555;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 18px;
}


.legal-section ul {
    padding-left: 22px;

    color: #555555;

    margin-bottom: 20px;
}


.legal-section li {
    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 8px;
}


.legal-section strong {
    color: #222222;
}


.legal-section a {
    color: #111111;

    font-weight: 700;

    text-decoration: underline;

    text-underline-offset: 4px;
}


.legal-external-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    margin-top: 24px;
}


.legal-bottom-actions {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-top: 55px;

    padding-top: 35px;

    border-top: 1px solid #d8d8d3;
}


.legal-back,
.legal-secondary-link {
    color: #111111;

    font-size: 15px;

    font-weight: 700;

    transition: opacity 0.2s ease;
}


.legal-back:hover,
.legal-secondary-link:hover {
    opacity: 0.55;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .game-card,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .game-card {
        gap: 55px;
    }


    .contact-cards {
        margin-top: 10px;
    }


    footer {
        grid-template-columns: 1fr;
    }


    .footer-copy {
        white-space: normal;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        top: 12px;

        left: 3%;

        width: 94%;

        min-height: 72px;

        padding: 8px 12px 8px 14px;

        border-radius: 18px;
    }


    .navbar-logo {
        height: 46px;
    }


    .desktop-nav {
        display: none;
    }


    .mobile-menu {
        display: block;
    }



    /* HERO */

    .hero {
        min-height: 100svh;

        padding: 130px 6% 80px;
    }


    .hero::before {
        width: 400px;

        height: 400px;

        right: -260px;

        opacity: 0.8;
    }


    .hero-small {
        font-size: 10px;

        letter-spacing: 3px;

        margin-bottom: 25px;
    }


    .hero-small::before {
        width: 24px;
    }


    .hero h1 {
        font-size: clamp(52px, 14vw, 80px);

        line-height: 0.96;

        letter-spacing: -4px;

        margin-bottom: 28px;
    }


    .hero-description {
        font-size: 18px;

        margin-bottom: 36px;
    }


    .hero-button {
        min-height: 54px;

        padding: 0 22px;
    }



    /* SECTIONS */

    .games-section,
    .about-section,
    .contact-section {
        padding-left: 6%;

        padding-right: 6%;
    }


    .games-section {
        padding-top: 90px;

        padding-bottom: 90px;
    }


    .about-section,
    .contact-section {
        padding-top: 90px;

        padding-bottom: 90px;
    }


    .game-info h2,
    .about-section h2,
    .contact-section h2 {
        letter-spacing: -3px;
    }


    .game-visual {
        border-radius: 20px;
    }



    /* GOOGLE PLAY */

    .google-play-button {
        min-width: 200px;

        min-height: 64px;
    }


    .google-play-icon {
        width: 31px;

        height: 31px;
    }



    /* ABOUT / CONTACT */

    .about-text p,
    .contact-description {
        font-size: 17px;
    }


    .contact-card a {
        font-size: 18px;
    }



    /* FOOTER */

    footer {
        padding: 35px 6%;

        gap: 24px;
    }


    .footer-logo-image {
        height: 40px;
    }



    /* LEGAL */

    .legal-top {
        min-height: 102px;

        padding-top: 12px;
    }


    .legal-navbar {
        top: auto;

        left: auto;

        width: 94%;

        margin: 0 auto;
    }


    .legal-wrapper {
        width: 88%;

        padding: 70px 0 95px;
    }


    .legal-title {
        font-size: clamp(45px, 14vw, 65px);

        letter-spacing: -3px;
    }


    .legal-game {
        font-size: 18px;
    }


    .legal-updated {
        margin-bottom: 45px;
    }


    .legal-intro {
        font-size: 18px;

        margin-bottom: 45px;
    }


    .legal-section {
        padding: 32px 0;
    }


    .legal-section h2 {
        font-size: 24px;
    }


    .legal-section p,
    .legal-section li {
        font-size: 16px;
    }


    .legal-bottom-actions {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .navbar {
        padding:
            8px
            10px
            8px
            12px;
    }


    .navbar-logo {
        height: 42px;
    }


    .mobile-menu-button {
        width: 42px;

        height: 42px;

        border-radius: 12px;
    }


    .mobile-menu-panel {
        top: 54px;

        width: 175px;
    }


    .hero h1 {
        font-size: clamp(48px, 14vw, 66px);

        letter-spacing: -3px;
    }


    .legal-kicker {
        font-size: 10px;

        letter-spacing: 3px;
    }

}