@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #171817;
    --bg-soft: #20211f;
    --card: #242522;
    --card-hover: #2b2c29;
    --text: #f3f0e8;
    --text-soft: #b8b7b0;
    --muted: #777872;
    --accent: #d6a96c;
    --accent-light: #e6c28f;
    --border: rgba(243, 240, 232, 0.10);
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(23, 24, 23, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);
    height: 78px;
    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    letter-spacing: -0.4px;
}

.logo-text strong {
    color: var(--accent);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 25px;
    cursor: pointer;
}


/* =========================
   GENERAL
========================= */

.section {
    max-width: var(--max-width);
    margin: auto;
    padding: 130px 30px;
}

.section-label {
    display: inline-block;
    margin-bottom: 22px;

    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    max-width: var(--max-width);
    margin: auto;
    padding: 150px 30px 100px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    max-width: 650px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 600;
}

.hero h1 span {
    color: var(--accent);
}

.hero-content > p {
    max-width: 530px;
    margin-top: 30px;

    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 24px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #191a18;
}

.button-primary:hover {
    background: var(--accent-light);
}

.button-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.button-secondary:hover {
    border-color: rgba(243, 240, 232, 0.25);
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.hero-brand-logo {
    width: 58%;
    max-width: 280px;
    height: auto;
    object-fit: contain;

    filter: drop-shadow(
        0 20px 45px rgba(214, 169, 108, 0.18)
    );
}

.floating-badge {
    position: absolute;
    left: 0;
    bottom: 50px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 12px 17px;

    background: #292a27;
    border: 1px solid var(--border);
    border-radius: 100px;

    color: var(--text-soft);
    font-size: 12px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.floating-badge span {
    color: var(--accent);
}


/* =========================
   GAMES
========================= */

.games-section {
    border-top: 1px solid var(--border);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
    gap: 60px;

    margin-bottom: 65px;
}

.section-heading h2,
.about-content h2,
.contact-section h2,
.cta-section h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.section-heading h2 span,
.about-content h2 span,
.cta-section h2 span {
    color: var(--accent);
}

.section-heading > p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
    max-width: 430px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.game-card {
    overflow: hidden;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

.game-image {
    position: relative;
    height: 330px;
    padding: 18px;
}

.sudoku-image {
    background:
        radial-gradient(circle at 70% 25%, rgba(214, 169, 108, 0.22), transparent 30%),
        #222421;
}

.queens-image {
    background:
        radial-gradient(circle at 30% 65%, rgba(214, 169, 108, 0.18), transparent 32%),
        #222421;
}

.game-image-placeholder {
    height: 100%;

    border: 1px dashed rgba(243, 240, 232, 0.18);
    border-radius: 13px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
}

.game-symbol {
    font-family: "Space Grotesk", sans-serif;
    font-size: 70px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.75;
}

.game-tag {
    position: absolute;
    top: 30px;
    left: 30px;

    padding: 7px 10px;

    background: rgba(23, 24, 23, 0.75);
    border: 1px solid var(--border);
    border-radius: 6px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.game-info {
    padding: 28px 30px 30px;
}

.game-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-title-row h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 29px;
    letter-spacing: -1px;
}

.game-number {
    color: var(--muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
}

.game-info > p {
    min-height: 75px;
    margin-top: 14px;

    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 24px;
    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.platform {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.game-link {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.game-link span {
    font-size: 16px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 100px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 360px;
    height: 360px;

    border-radius: 30px;

    border: 1px solid var(--border);

    background:
        radial-gradient(circle at center, rgba(214, 169, 108, 0.13), transparent 55%),
        var(--bg-soft);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-content > p {
    max-width: 570px;
    margin-top: 23px;

    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    gap: 55px;

    margin-top: 45px;
    padding-top: 28px;

    border-top: 1px solid var(--border);
}

.about-stats div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.about-stats strong {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
}

.about-stats span {
    color: var(--muted);
    font-size: 11px;
}


/* =========================
   CTA
========================= */

.cta-section {
    margin: 0 30px;

    padding: 120px 30px;

    background:
        radial-gradient(circle at 50% 20%, rgba(214, 169, 108, 0.15), transparent 35%),
        var(--card);

    border: 1px solid var(--border);
    border-radius: 28px;

    text-align: center;
}

.cta-content {
    max-width: 650px;
    margin: auto;
}

.cta-section h2 {
    font-size: clamp(43px, 6vw, 70px);
}

.cta-section p {
    max-width: 480px;
    margin: 25px auto 35px;

    color: var(--text-soft);
    font-size: 15px;
}

.button-light {
    background: var(--text);
    color: var(--bg);
}

.button-light:hover {
    background: white;
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-section h2 {
    font-size: clamp(45px, 5vw, 65px);
}

.contact-section p {
    max-width: 470px;
    margin-top: 22px;

    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

.contact-details {
    border-top: 1px solid var(--border);
}

.contact-details a {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;

    padding: 24px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);
    font-size: 14px;
}

.contact-details a span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-details a b {
    color: var(--accent);
    font-size: 18px;
    font-weight: 400;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 55px 30px;

    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 60px;
}

.footer-brand p {
    margin-top: 13px;

    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.copyright {
    color: var(--muted);
    font-size: 11px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .nav-links {
        display: none;

        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;

        padding: 25px 30px;

        background: var(--bg);
        border-bottom: 1px solid var(--border);

        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 130px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}


@media (max-width: 520px) {

    .nav-container {
        padding: 0 20px;
    }

    .section {
        padding: 90px 20px;
    }

    .hero {
        padding: 120px 20px 70px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2.5px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 370px;
    }

    .floating-badge {
        left: 5px;
        bottom: 25px;
    }

    .game-image {
        height: 260px;
    }

    .game-info {
        padding: 23px;
    }

    .about-placeholder {
        width: 280px;
        height: 280px;
    }

    .about-stats {
        gap: 25px;
        flex-wrap: wrap;
    }

    .cta-section {
        margin: 0 15px;
        padding: 90px 20px;
    }

    .contact-details a {
        grid-template-columns: 75px 1fr auto;
        font-size: 13px;
    }

    .footer-container {
        padding: 45px 20px;
    }
}

/* PHONE MOCKUP */

.phone-mockup {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 190px;
    height: 350px;

    transform: translate(-50%, -50%);

    padding: 8px;

    background: #111210;
    border: 2px solid rgba(243, 240, 232, 0.18);
    border-radius: 28px;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);

    z-index: 2;
}

.phone-speaker {
    position: absolute;

    top: 7px;
    left: 50%;

    width: 48px;
    height: 5px;

    transform: translateX(-50%);

    background: #292a27;
    border-radius: 10px;

    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 21px;

    background: #1d1e1c;
}

.screen-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        radial-gradient(
            circle at center,
            rgba(214, 169, 108, 0.12),
            transparent 55%
        );

    color: var(--muted);
}

.screen-placeholder span {
    color: var(--accent);

    font-family: "Space Grotesk", sans-serif;
    font-size: 62px;
    font-weight: 600;

    line-height: 1;
}

.screen-placeholder small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
}

/* Slightly different angle for each game */

.sudoku-image .phone-mockup {
    transform: translate(-50%, -50%) rotate(-5deg);
}

.queens-image .phone-mockup {
    transform: translate(-50%, -50%) rotate(5deg);
}

/* MOBILE PHONE */

@media (max-width: 520px) {

    .phone-mockup {
        width: 155px;
        height: 285px;
        border-radius: 23px;
    }

    .phone-screen {
        border-radius: 17px;
    }

    .phone-speaker {
        width: 38px;
        height: 4px;
    }

    .screen-placeholder span {
        font-size: 50px;
    }
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   GAME DETAIL PAGE
========================= */

.game-detail-hero {
    max-width: var(--max-width);
    min-height: 720px;
    margin: auto;
    padding: 150px 30px 100px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.game-detail-content {
    max-width: 560px;
}

.back-link {
    display: inline-block;
    margin-bottom: 55px;

    color: var(--muted);
    font-size: 13px;

    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text);
}

.game-detail-title {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 28px;
}

.game-detail-icon {
    width: 82px;
    height: 82px;

    border-radius: 20px;

    object-fit: cover;

    border: 1px solid var(--border);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.game-detail-title h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -3px;
}

.game-detail-title span {
    display: block;
    margin-top: 8px;

    color: var(--muted);
    font-size: 13px;
}

.game-detail-content > p {
    max-width: 520px;

    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.85;
}

.game-detail-buttons {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 35px;
}

.detail-platform {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.game-detail-feature {
    position: relative;

    overflow: hidden;

    border-radius: 24px;
    border: 1px solid var(--border);

    background: var(--card);

    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.game-detail-feature img {
    width: 100%;
    display: block;
}


/* SCREENSHOTS */

.screenshots-section {
    border-top: 1px solid var(--border);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.screenshot-card {
    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 18px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 169, 108, 0.35);
}

.screenshot-card img {
    width: 100%;
    height: auto;

    display: block;
}


/* GAME DETAIL MOBILE */

@media (max-width: 850px) {

    .game-detail-hero {
        grid-template-columns: 1fr;
        gap: 55px;

        padding-top: 125px;
    }

    .game-detail-content {
        max-width: 650px;
    }

    .game-detail-feature {
        max-width: 650px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 520px) {

    .game-detail-hero {
        padding: 115px 20px 70px;
        min-height: auto;
    }

    .back-link {
        margin-bottom: 40px;
    }

    .game-detail-title {
        gap: 15px;
    }

    .game-detail-icon {
        width: 65px;
        height: 65px;
        border-radius: 16px;
    }

    .game-detail-title h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .game-detail-title span {
        font-size: 11px;
    }

    .game-detail-content > p {
        font-size: 14px;
    }

    .game-detail-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.game-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* =========================
   MOMMADE GAMES BRAND LOGO
========================= */

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.brand-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brand-logo {
    width: 58%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 45px rgba(214, 169, 108, 0.18));
}

.about-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}