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

:root {
    --gold-dark: #4a2e00;
    --gold-mid: #8a5e00;
    --white-a40: rgba(255, 255, 255, 0.40);
    --white-a60: rgba(255, 255, 255, 0.60);
    --white-a80: rgba(255, 255, 255, 0.80);
    --black-a15: rgba(0, 0, 0, 0.15);
    --transition: 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%;
}

body {
    background: linear-gradient(135deg, #eed5af, #f3bc6f);
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}

/* ── Sections ── */
section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 40px;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background: linear-gradient(160deg, #f3bc6f 0%, #e8a840 100%);
}

section:nth-child(even) {
    background: linear-gradient(160deg, #eed5af 0%, #f3bc6f 100%);
}

/* ── Section decorative blobs ── */
section::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: 40px;
    left: -40px;
    pointer-events: none;
}

/* ── Image placeholder / real image ── */
.game-image {
    flex-shrink: 0;
    width: min(220px, 60vw);
    aspect-ratio: 9 / 19;
    border-radius: 20px;
    border: 2px solid var(--white-a60);
    background: var(--white-a40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(74, 46, 0, 0.35);
    font-size: 14px;
    letter-spacing: 0.03em;
    overflow: hidden;
}

/* ── Typography ── */
h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: var(--gold-dark);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 600;
    color: var(--gold-dark);
    text-align: center;
    margin-bottom: 12px;
}

.tagline {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    color: rgba(74, 46, 0, 0.6);
    text-align: center;
    margin-top: 8px;
    margin-bottom: 28px;
}

.body-text {
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: rgba(74, 46, 0, 0.75);
    text-align: center;
    line-height: 1.65;
    max-width: 320px;
    margin: 0 auto;
}

/* ── Animated dots ── */
.dots span {
    display: inline-block;
    opacity: 0;
    animation: blink 1.5s infinite;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.25s;
}

.dots span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes blink {

    0%,
    70%,
    100% {
        opacity: 0;
    }

    35% {
        opacity: 1;
    }
}

/* ── Scroll hint arrow ── */
.scroll-hint {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-hint span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: rotate(45deg);
}

.scroll-hint span:nth-child(2) {
    opacity: 0.55;
    margin-top: -6px;
}

.scroll-hint span:nth-child(3) {
    opacity: 0.25;
    margin-top: -6px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ── Feature cards ── */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: min(360px, 90vw);
    margin: 24px auto 0;
}

.card {
    background: var(--white-a40);
    border: 1px solid var(--white-a60);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.card-icon {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
}

.card-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.card-desc {
    font-size: 11px;
    color: rgba(74, 46, 0, 0.6);
    line-height: 1.5;
}

/* ── Screenshots row ── */
.screenshots {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.screenshots::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex-shrink: 0;
    width: 130px;
    aspect-ratio: 9 / 19;
    border-radius: 16px;
    border: 2px solid var(--white-a60);
    background: var(--white-a40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(74, 46, 0, 0.3);
    font-size: 11px;
    overflow: hidden;
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Social / store badges row ── */
.badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.badge {
    background: var(--white-a40);
    border: 1.5px solid var(--white-a60);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.badge:hover {
    background: var(--white-a60);
}

/* ── Section fade-in on snap ── */
.section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    transition: .4s
}

header.hide {
    transform: translateY(-100%)
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center
}

button {
    color: #000;
}

.circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #000;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: .3s
}

.circle-btn:hover {
    background: rgba(0, 0, 0, .1)
}

.lang-container {
    position: relative
}

.lang-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 40px;
    border: 2px solid #000;
    display: none;
    flex-direction: column;
    gap: 10px
}

.lang-dropdown button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px
}

.title {
    background-color: transparent;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.btn-orange {
    background: orange;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
    animation: glow 1.5s infinite alternate
}

.btn-orange:hover {
    background: #cc7000
}

footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.08);
}

footer p {
    font-size: 12px;
    color: rgba(74, 46, 0, 0.55);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

@media(max-width:768px) {
    .btn-orange {
        width: 100%;
        max-width: 250px
    }
}