:root {
    color-scheme: light;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --color-bg: #f6efe3;
    --color-bg-accent: #fef9f0;
    --color-surface: rgba(255, 255, 255, 0.92);
    --color-card: #fff8ed;
    --color-text: #2f2a24;
    --color-muted: #6c6257;
    --color-accent: #d6864f;
    --color-accent-strong: #aa6b36;
    --color-outline: rgba(146, 120, 88, 0.35);
    --shadow-soft: 0 24px 60px rgba(63, 49, 31, 0.18);
}

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

body {
    margin: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(241, 220, 188, 0.55), transparent 54%),
        radial-gradient(circle at 80% 6%, rgba(223, 236, 221, 0.42), transparent 52%),
        linear-gradient(180deg, var(--color-bg-accent) 0%, var(--color-bg) 68%, #eedfcf 100%);
    color: var(--color-text);
    overflow-x: hidden;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

main,
header,
footer {
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    padding: 96px clamp(24px, 6vw, 96px);
    align-items: center;
}

.hero-content {
    display: grid;
    gap: 18px;
    max-width: 520px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.5rem);
    margin: 0;
    line-height: 1.08;
    color: var(--color-text);
}

.tagline {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.badge {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(214, 134, 79, 0.12);
    color: var(--color-accent-strong);
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cta,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.cta {
    background: linear-gradient(130deg, var(--color-accent) 0%, #f2b97f 100%);
    color: #2c1405;
    box-shadow: 0 16px 34px rgba(189, 115, 58, 0.28);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(189, 115, 58, 0.32);
}

.secondary {
    border-color: rgba(138, 120, 100, 0.4);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.3);
}

.secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 120, 100, 0.6);
    background: rgba(255, 255, 255, 0.5);
}

.hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.carousel {
    position: relative;
    width: min(78vw, 360px);
    background: var(--color-card);
    border-radius: 32px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(44, 42, 39, 0.8), rgba(32, 31, 30, 0.9));
}

.carousel-track::before {
    content: "";
    display: block;
    padding-top: calc(19.5 / 9 * 100%);
}

.carousel-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-track img.active {
    opacity: 1;
}

@supports (aspect-ratio: 1 / 1) {
    .carousel-track {
        aspect-ratio: 9 / 19.5;
    }

    .carousel-track::before {
        content: none;
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(246, 239, 227, 0.9);
    color: var(--color-accent-strong);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(64, 49, 30, 0.25);
}

.carousel-control:hover {
    background: rgba(246, 239, 227, 1);
}

.carousel-control.prev {
    left: 18px;
}

.carousel-control.next {
    right: 18px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--color-outline);
    background: rgba(214, 134, 79, 0.18);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.carousel-dots .dot.active {
    background: var(--color-accent);
    border-color: rgba(214, 134, 79, 0.6);
    transform: scale(1.1);
}

button {
    font: inherit;
    color: inherit;
}

.highlight {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 64px clamp(24px, 6vw, 96px);
}

.highlight-card {
    background: var(--color-card);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    padding: 32px;
    line-height: 1.6;
    box-shadow: var(--shadow-soft);
    color: var(--color-text);
}

.highlight-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.32rem;
    color: var(--color-accent-strong);
}

.platforms {
    padding: 72px clamp(24px, 6vw, 96px) 32px;
    text-align: center;
}

.platforms h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.platforms-subtitle {
    max-width: 620px;
    margin: 0 auto 48px;
    color: var(--color-muted);
    line-height: 1.6;
}

.platform-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.platform-card {
    background: rgba(255, 255, 255, 0.78);
    border-radius: 26px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    text-align: left;
    border: 1px solid rgba(232, 209, 181, 0.7);
    box-shadow: var(--shadow-soft);
}

.platform-card header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.platform-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(214, 134, 79, 0.16);
    position: relative;
    display: grid;
    place-items: center;
}

.platform-icon::before,
.platform-icon::after {
    content: "";
    position: absolute;
    background: rgba(86, 67, 49, 0.75);
}

.platform-icon.ios::before {
    width: 18px;
    height: 24px;
    border-radius: 42% 42% 46% 46%;
}

.platform-icon.android::before {
    width: 28px;
    height: 24px;
    border-radius: 12px;
    top: 8px;
}

.platform-icon.android::after {
    width: 12px;
    height: 2px;
    top: 6px;
    border-radius: 999px;
}

.platform-icon.steam::before {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid rgba(86, 67, 49, 0.7);
}

.embed-placeholder {
    height: 180px;
    border-radius: 18px;
    border: 1px dashed rgba(145, 124, 98, 0.45);
    background: repeating-linear-gradient(
        135deg,
        rgba(239, 227, 209, 0.65) 0,
        rgba(239, 227, 209, 0.65) 12px,
        rgba(253, 249, 240, 0.8) 12px,
        rgba(253, 249, 240, 0.8) 24px
    );
    display: grid;
    place-items: center;
    color: var(--color-muted);
    font-size: 0.95rem;
    text-align: center;
    padding: 0 24px;
}

.press {
    padding: 72px clamp(24px, 6vw, 96px) 96px;
}

.press-card {
    margin: 0 auto;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(232, 209, 181, 0.7);
    box-shadow: var(--shadow-soft);
}

.press-card h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--color-accent-strong);
}

.press-card p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer {
    padding: 32px clamp(24px, 6vw, 96px);
    border-top: 1px solid rgba(204, 186, 166, 0.8);
    background: rgba(250, 243, 231, 0.9);
    text-align: center;
    display: grid;
    gap: 12px;
    color: var(--color-muted);
}

.footer nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer a {
    color: inherit;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 72px;
    }
}

@media (max-width: 680px) {
    .hero {
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .carousel {
        width: min(86vw, 340px);
    }
}
