/* =========
   Base styles
   ========= */
:root {
    --bg: #0b0c10;
    --bg-soft: #11141c;
    --accent: #27ae60;     /* зелёный логотипа */
    --accent-soft: #2ecc71;
    --accent-warm: #ffb800; /* жёлтые точки */
    --text-main: #f5f5f5;
    --text-muted: #c5c5c5;
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --container-width: 1080px;
    --container2-width: 960px;
}

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top left, #182235 0, #050609 60%, #020307 100%);
    color: var(--text-main);
    min-height: 100%;
}

body {
    line-height: 1.6;
}

/* =========
   Layout
   ========= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
    border-top: 1px solid var(--border-soft);
}

/* =========
   Hero
   ========= */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--border-soft);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/morning_forest.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) brightness(0.9);
    opacity: 0.65;
    z-index: -2;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.4), transparent 50%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.5), transparent 55%);
    z-index: -1;
}

.hero-content {
    max-width: 520px;
    padding: 36px 40px 40px;
    border-radius: 24px;
    background: rgba(10, 12, 20, 0.88);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    text-align: left;
}

.logo {
    width: 96px;
    height: auto;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.4rem;
    margin: 0 0 12px;
}

.hero p {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: #050607;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* =========
   Headings
   ========= */
.section h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.section p {
    margin: 0;
    color: var(--text-muted);
}

/* =========
   About
   ========= */
.about .container {
    max-width: var(--container2-width);
}

.about p {
    font-size: 1.02rem;
}

/* =========
   Technology
   ========= */
.technology {
    background: radial-gradient(circle at top, rgba(255, 184, 0, 0.08), transparent 60%);
}

.tech-list {
    list-style: none;
    margin: 24px 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 20px;
}

.tech-list li {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(8, 10, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.96rem;
}

p.description {
    margin-top: 32px;
}

/* =========
   Game section
   ========= */

.game-media {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.game-media img {
    width: 240px;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: transform .3s ease;
}

.game-media img:hover {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .game-media img {
        width: 85%;
    }
}

.game-description {
    margin-bottom: 22px;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 6, 12, 0.9);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.store-button:hover {
    background: rgba(19, 27, 46, 0.96);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

/* =========
   Support
   ========= */
.support {
    background: rgba(5, 7, 12, 0.96);
}

.support p,
.support li {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.support h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.faq {
    margin: 0;
    padding-left: 20px;
}

.faq li + li {
    margin-top: 6px;
}

/* =========
   Footer
   ========= */
.footer {
    border-top: 1px solid var(--border-soft);
    padding: 18px 0 22px;
    font-size: 0.86rem;
    color: var(--text-muted);
    background: #050609;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: space-between;
}

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

.footer a:hover {
    color: var(--accent-soft);
}

/* =========
   Links
   ========= */
a {
    color: var(--accent-soft);
}

a:hover {
    color: var(--accent-warm);
}

/* =========
   Responsive
   ========= */
@media (max-width: 768px) {
    .hero {
        min-height: 78vh;
        padding: 32px 0 40px;
    }

    .hero-content {
        margin: 0 16px;
        padding: 28px 24px 26px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 52px 0;
    }

    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}
