:root {
    --bg: #2b211b;
    --bg-alt: #3a2c23;
    --panel: #46362b;
    --gold: #FFE030;
    --text: #f1e6d6;
    --muted: #c9b8a3;
    --dark: #333333;
}

html {
    scroll-padding-top: 3.5rem;
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img, video {
    max-width: 100%;
}

h2, h3 {
    font-family: 'Lilita One', sans-serif;
    font-weight: normal;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.center {
    text-align: center;
    margin: auto;
}

/* Menu, matching the main Duck Forge site */
.menu {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 55px;
}
.menu img {
    height: 55px;
    display: block;
}
.menu .links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.menu .links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: var(--gold);
}
.menu .links a.buy {
    background: var(--gold);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Hero */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}
.hero .logo {
    width: 100%;
}
.hero .tagline {
    font-family: 'Lilita One', sans-serif;
    font-size: 28px;
    line-height: 1.25;
    color: var(--gold);
    margin: 0 0 12px;
}
.chips {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chips li {
    background: var(--panel);
    border: 1px solid #5c4737;
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 13px;
    font-weight: 600;
}
.steam iframe {
    display: block;
    max-width: 646px;
    margin: 0 auto;
}

/* Sections */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px;
}
.section.narrow {
    max-width: 760px;
}
.banner {
    display: block;
    margin: 0 auto 16px;
    width: 360px;
}

/* Carousel */
.carousel .stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}
.carousel .stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}
.carousel .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
.carousel .nav:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold);
}
.carousel .prev { left: 12px; }
.carousel .next { right: 12px; }
.carousel .thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.carousel .thumbs button {
    flex: 0 0 auto;
    width: 140px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s;
}
.carousel .thumbs button:hover,
.carousel .thumbs button.active {
    opacity: 1;
}
.carousel .thumbs button.active {
    border-color: var(--gold);
}
.carousel .thumbs img {
    display: block;
    width: 100%;
    border-radius: 2px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox[hidden] {
    display: none;
}
.lightbox img {
    max-width: 96vw;
    max-height: 96vh;
}

/* Features */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #45362b;
}
.feature:last-child {
    border-bottom: none;
}
.feature:nth-child(odd) > :first-child {
    order: 2;
}
.feature video,
.feature > img {
    width: 100%;
    border-radius: 6px;
    display: block;
}
.feature h2 {
    font-size: 28px;
    margin: 0;
}
.feature .sub {
    font-style: italic;
    color: var(--muted);
    margin-top: 0;
}
.classes img {
    height: 34px;
    display: block;
    margin-top: 10px;
}
.classes p {
    margin: 0 0 8px;
}

/* How to play */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.steps > div {
    flex: 1 1 180px;
    max-width: 240px;
    background: var(--panel);
    border-radius: 6px;
    padding: 16px 18px;
}
.steps h3 {
    font-size: 20px;
    margin: 0 0 6px;
}
.steps p {
    margin: 0;
    font-size: 14px;
}

blockquote {
    font-style: italic;
    color: var(--muted);
    margin: 24px 0;
}
blockquote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    margin-top: 6px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gold);
    padding: 20px 0;
}
.footer .socials img {
    width: 40px;
    padding: 10px;
}
.footer .logo {
    width: 80px;
}
.footer .small {
    font-size: 12px;
    margin: 4px 0 0;
}
.footer a {
    color: var(--gold);
}

@media (max-width: 800px) {
    .menu {
        padding: 0 16px;
    }
    .menu .links a:not(.buy) {
        display: none;
    }
    .menu img {
        height: 44px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px 10px;
        text-align: center;
    }
    .hero .logo {
        width: 200px;
        margin: 0 auto;
    }
    .hero .tagline {
        font-size: 22px;
    }
    .chips {
        justify-content: center;
    }
    .section {
        padding: 24px 16px;
    }
    .feature {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature:nth-child(odd) > :first-child {
        order: 0;
    }
    .carousel .nav {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    .carousel .thumbs button {
        width: 96px;
    }
}
