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

:root {
    --gold: #C9952A;
    --gold-light: #F5E6C0;
    --gold-dark: #8B6510;
    --maroon: #7A1C2E;
    --maroon-dark: #4D0F1B;
    --cream: #FDF8F0;
    --dark: #1A1209;
    --text: #2E2010;
    --text-muted: #7A6A4F;
    --border: #E8D9B8;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    text-decoration: none;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-light);
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--maroon);
}

.nav-cta {
    background: var(--maroon) !important;
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--maroon-dark) !important;
}

/* ── HERO ── */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 2rem 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--maroon-dark);
    margin-bottom: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--gold);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 2.4rem;
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-scroll-hint a {
    color: var(--maroon);
    text-decoration: none;
    font-weight: 600;
}

.hero-scroll-hint a:hover {
    text-decoration: underline;
}

/* Hero decorative numbers strip */
.hero-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 3rem 0 0;
    flex-wrap: wrap;
}

.hero-num-bubble {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
}

.hero-num-bubble.gold {
    background: var(--gold-light);
    color: var(--gold-dark);
    border: 1.5px solid var(--gold);
}

.hero-num-bubble.maroon {
    background: rgba(122, 28, 46, 0.08);
    color: var(--maroon);
    border: 1.5px solid rgba(122, 28, 46, 0.2);
}

.hero-num-bubble.muted {
    background: var(--white);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

/* ── DIVIDER ── */
.divider {
    border: none;
    height: 1px;
    background: var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

/* ── SECTION COMMON ── */
section {
    padding: 72px 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--maroon-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 3rem;
}

/* ── ABOUT ── */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.stat-card .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--maroon);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ── FEATURES ── */
#features {
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(122, 28, 46, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: var(--maroon-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ── DIFFICULTY ── */
#difficulty {
    background: var(--maroon-dark);
}

#difficulty .section-title {
    color: var(--gold-light);
}

#difficulty .section-label {
    color: var(--gold);
}

#difficulty .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.difficulty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.diff-card {
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.diff-card:hover {
    transform: translateY(-4px);
}

.diff-card.easy {
    background: rgba(201, 149, 42, 0.15);
    border-color: rgba(201, 149, 42, 0.4);
}

.diff-card.medium {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.diff-card.hard {
    background: rgba(122, 28, 46, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.diff-badge {
    display: inline-block;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diff-card.easy .diff-badge {
    background: var(--gold);
    color: var(--maroon-dark);
}

.diff-card.medium .diff-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.diff-card.hard .diff-badge {
    background: rgba(255, 80, 80, 0.25);
    color: #ffb3b3;
}

.diff-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 4px;
}

.diff-range {
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.diff-card.easy .diff-range {
    color: var(--gold);
}

.diff-card.medium .diff-range {
    color: rgba(255, 255, 255, 0.9);
}

.diff-card.hard .diff-range {
    color: #ff9999;
}

.diff-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* ── HOW TO PLAY ── */
#howtoplay {
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}

.step {
    padding: 0 24px;
    position: relative;
    text-align: center;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: 36px;
    font-size: 24px;
    color: var(--border);
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--gold-dark);
    margin: 0 auto 16px;
}

.step h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--maroon-dark);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ── SCREENSHOTS ── */
#screenshots {
    background: var(--cream);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.screenshot-slot {
    aspect-ratio: 9/16;
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    position: relative;
}

/* PLACEHOLDER: Replace the inner .screenshot-ph div with <img src="yourfile.jpg" alt="..." style="width:100%;height:100%;object-fit:cover;" /> */
.screenshot-ph {
    text-align: center;
    padding: 16px;
}

.screenshot-ph .ph-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--border);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.screenshot-ph p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── CONTACT ── */
#contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gold-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item-text span {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

.contact-item-text a {
    color: var(--maroon);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.contact-item-text a:hover {
    text-decoration: underline;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
    .hero {
        padding: 64px 1.2rem 52px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .difficulty-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }

    .steps {
        gap: 32px;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}