/* ============================================================
   Лягух — Promotional Website Styles
   Theme: Space/Cosmic matching the game's visual identity
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --space-dark: #0B0B2B;
    --space-mid: #1A1A4E;
    --space-purple: #2D1B69;
    --neon-green: #7EE86C;
    --neon-blue: #4ECDC4;
    --neon-pink: #FF6B9D;
    --gold: #FFD700;
    --card-green: #6BCB4A;
    --card-blue: #4A9FEE;
    --card-purple: #A855F7;
    --card-orange: #FF9F43;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.85);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-display: 'Comfortaa', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --radius: 20px;
    --radius-lg: 30px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--space-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- Stars Canvas ---------- */
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Floating Syllable Bubbles ---------- */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    font-family: var(--font-display);
    font-size: 1.4rem;
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    opacity: 0;
    animation: riseBubble 12s linear infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes riseBubble {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-120px) rotate(20deg) scale(1);
        opacity: 0;
    }
}

/* ---------- Navigation ---------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s, box-shadow 0.4s;
}

nav.scrolled {
    background: rgba(11, 11, 43, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-green);
}

.btn-download-nav {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
    color: var(--space-dark) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(126, 232, 108, 0.3);
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-download-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(126, 232, 108, 0.5);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 120px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-family: var(--font-display);
    margin-bottom: 20px;
}

.hero .line1 {
    display: block;
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.8s ease-out;
}

.hero .line2 {
    display: block;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--gold), var(--card-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.4));
    animation: slideDown 0.8s ease-out 0.2s both;
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeUp 1s ease-out 0.4s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--neon-green), #3DBB6E);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 0 #2A8B4F, 0 10px 40px rgba(126, 232, 108, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: fadeUp 1s ease-out 0.6s both;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #2A8B4F, 0 15px 50px rgba(126, 232, 108, 0.4);
}

.btn-hero:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #2A8B4F;
}

.btn-icon {
    font-size: 1.6rem;
}

.hero-mascot {
    flex: 0 0 auto;
    animation: floatMascot 4s ease-in-out infinite;
}

.mascot-img {
    width: 350px;
    max-width: 40vw;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: fadeUp 1s ease-out 0.3s both;
}

@keyframes floatMascot {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

/* Floating syllable cards in hero */
.hero-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.syllable-card {
    position: absolute;
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: 10px 20px;
    border-radius: 14px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.sc-1 {
    top: 20%;
    left: 8%;
    background: var(--card-green);
    animation-delay: 0s;
}

.sc-2 {
    top: 30%;
    right: 12%;
    background: var(--card-blue);
    animation-delay: 1s;
}

.sc-3 {
    bottom: 25%;
    left: 15%;
    background: var(--card-purple);
    animation-delay: 2s;
}

.sc-4 {
    top: 15%;
    left: 45%;
    background: var(--card-orange);
    animation-delay: 0.5s;
}

.sc-5 {
    bottom: 35%;
    right: 8%;
    background: var(--neon-pink);
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* ---------- Sections Common ---------- */
section {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.accent {
    background: linear-gradient(135deg, var(--gold), var(--card-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent2 {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- FEATURES ---------- */
.features {
    padding: 80px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 105, 0.4) 100%);
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 40px rgba(126, 232, 108, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--neon-green);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---------- GAME MODES ---------- */
/* ---------- GAME MODES UI PREVIEWS ---------- */
.mode-preview {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    pointer-events: none;
}

.ui-slots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ui-slot {
    width: 35px;
    height: 45px;
    background: rgba(245, 245, 245, 0.9);
    border: 2px solid #ccc;
    border-radius: 8px;
}

.ui-cards {
    display: flex;
    gap: 15px;
}

.ui-card {
    width: 48px;
    height: 60px;
    background: var(--simpsons-yellow);
    border: 3px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #000;
    font-size: 1.3rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    font-family: var(--font-display);
}

.card-syllable-1 {
    background: #FF6464;
    color: #fff;
    transform: rotate(-5deg);
    margin-right: -10px;
}

.card-syllable-2 {
    background: #009DDC;
    color: #fff;
    transform: rotate(5deg);
    margin-left: -10px;
    z-index: 1;
}

/* Frog Mode Preview */
.ui-frog-container {
    position: absolute;
    bottom: 40px;
    left: 30px;
    animation: frogJump 4s infinite ease-in-out;
}

.ui-frog {
    width: 70px;
    height: auto;
}

@keyframes frogJump {

    0%,
    100% {
        transform: translateY(0);
    }

    10%,
    40% {
        transform: translateY(0);
    }

    /* Wait on platform */
    25% {
        transform: translateY(-70px) rotate(10deg);
    }

    /* Jump */
    60%,
    90% {
        transform: translate(150px, 0);
    }

    /* Jump to second platform? Simplification */
    75% {
        transform: translate(75px, -80px) rotate(-10deg);
    }
}

.ui-platform {
    position: absolute;
    min-width: 65px;
    height: 35px;
    background: #4caf50;
    border: 3px solid #1b5e20;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-family: var(--font-display);
    box-shadow: 0 4px 0 #1b5e20;
}

.p1 {
    bottom: 35px;
    left: 30px;
}

.p2 {
    top: 70px;
    right: 40px;
    background: #2196f3;
    border-color: #0d47a1;
    box-shadow: 0 4px 0 #0d47a1;
}

/* Space Mode Preview */
.ui-space-syllable {
    position: absolute;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    animation: spaceFly 4s infinite linear;
}

.s1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.s2 {
    top: 50%;
    left: 40%;
    animation-delay: -1.5s;
    font-size: 3rem;
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
}

.s3 {
    bottom: 20%;
    right: 10%;
    animation-delay: -3s;
}

@keyframes spaceFly {
    0% {
        transform: scale(0.2) translateZ(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: scale(3) translateZ(0);
        opacity: 0;
    }
}

/* Base styles for modes */
.modes {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.modes-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modes-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.mode-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.mode-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
}

.mode-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.6s ease;
}

.mode-card:hover .mode-bg {
    transform: scale(1.1);
}

.mode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.mode-info {
    padding: 20px 24px;
}

.mode-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--gold);
}

.mode-info p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ---------- VIDEO TOP (Full-width trailer) ---------- */
.video-top {
    padding: 20px 0 50px;
    background: black;
    margin-top: 70px;
    position: relative;
}

.video-top .video-container {
    position: relative;
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.video-cta-container {
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

.video-top video {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(11, 11, 43, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center the mute toggle */
    pointer-events: none;
}

.mute-toggle {
    pointer-events: auto;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.8s ease, transform 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.mute-toggle:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--neon-green);
}

.mute-toggle.hidden {
    opacity: 0;
    pointer-events: none;
}

.mute-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.mute-btn-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 0;
}

.mute-btn-corner:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    border-color: var(--neon-green);
}

.mute-btn-corner span {
    font-size: 1.5rem;
}

/* Replaced .video-bottom-info with .video-info-block */
.video-info-block {
    text-align: center;
    padding: 30px 20px 10px;
    position: relative;
    z-index: 2;
}

.video-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--white);
    background: linear-gradient(135deg, #fff 30%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.video-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- VIDEO ---------- */
.video-section {
    padding: 80px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 105, 0.5) 100%);
}

.video-container {
    max-width: 850px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--glass-border);
    box-shadow: 0 20px 80px rgba(126, 232, 108, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-pink), var(--gold));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.6;
}

video {
    width: 100%;
    display: block;
}

/* ---------- PRICING ---------- */
.pricing {
    padding: 80px 40px;
    background: linear-gradient(180deg, rgba(45, 27, 105, 0.3) 0%, transparent 100%);
}

.pricing-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.price-card-bonus {
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.15);
}

.price-card-year {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 159, 67, 0.08));
}

.price-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--card-orange));
    color: var(--space-dark);
    font-family: var(--font-display);
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.price-card-bonus .price-popular {
    background: linear-gradient(135deg, var(--neon-pink), #E040A0);
    color: white;
}

.price-badge {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 12px;
    margin-top: 8px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-card-year .price-amount {
    background: linear-gradient(135deg, var(--gold), var(--card-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-features li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ---------- VK PROMO SECTION ---------- */
.vk-promo {
    padding: 100px 40px;
    background: linear-gradient(180deg, transparent, rgba(0, 119, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.vk-container {
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.vk-3d-icon-wrap {
    flex: 0 0 160px;
    height: 160px;
    position: relative;
    perspective: 1000px;
}

/* CSS-ONLY 3D VK LOGO (No fake transparency!) */
.vk-logo-3d {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0077FF, #0055DD);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    animation: vkFloat3d 6s infinite ease-in-out;
    box-shadow:
        0 15px 35px rgba(0, 119, 255, 0.4),
        inset 0 -8px 15px rgba(0, 0, 0, 0.2),
        inset 0 8px 15px rgba(255, 255, 255, 0.3);
}

.vk-label {
    font-family: Arial, sans-serif;
    /* For the VK look */
    font-weight: 900;
    font-size: 80px;
    color: white;
    transform: translateZ(30px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.vk-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 119, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.vk-content {
    flex: 1;
}

.vk-content h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.vk-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Premium VK Button (RuStore Style) */
.btn-vk {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #0077FF, #005CBF);
    color: white;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 1.25rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 0 #0044BB, 0 10px 30px rgba(0, 119, 255, 0.3);
    overflow: hidden;
}

.btn-vk::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 4s infinite;
}

.btn-vk:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 0 #0044BB, 0 15px 40px rgba(0, 119, 255, 0.5);
}

.btn-vk:active {
    transform: translateY(4px);
    box-shadow: none;
}

@keyframes vkFloat3d {

    0%,
    100% {
        transform: translateY(0) rotateY(-15deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-25px) rotateY(15deg) rotateX(-10deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    20%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@media (max-width: 900px) {
    .vk-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
        gap: 40px;
    }

    .vk-content h2 {
        font-size: 2.2rem;
    }

    .vk-content p {
        font-size: 1.1rem;
    }
}

/* ---------- DOWNLOAD ---------- */
.download {
    padding: 80px 40px;
    text-align: center;
}

.download-inner {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
}

.download-mascot {
    width: 180px;
    margin-bottom: 20px;
    animation: floatMascot 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.download h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.download p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.store-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rustore-btn {
    background: linear-gradient(135deg, var(--neon-green), #3DBB6E);
    color: white;
    box-shadow: 0 4px 0 #2A8B4F;
}

.rustore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #2A8B4F, 0 10px 30px rgba(126, 232, 108, 0.3);
}

.rustore-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.pwa-btn {
    background: linear-gradient(135deg, #FFD90F, #FF9F1C);
    color: #1A1A40;
    box-shadow: 0 4px 0 #B36A00;
}

.pwa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #B36A00, 0 10px 30px rgba(255, 217, 15, 0.35);
}

.pwa-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* ---------- FOOTER ---------- */
footer {
    padding: 30px 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---------- Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero .line1 {
        font-size: 2rem;
    }

    .hero .line2 {
        font-size: 3rem;
    }

    .hero-sub {
        margin: 0 auto 30px;
    }

    .mascot-img {
        width: 200px;
        max-width: 60vw;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-links a:not(.btn-download-nav) {
        display: none;
    }

    .syllable-card {
        display: none;
    }

    .features,
    .modes,
    .video-section,
    .download {
        padding: 60px 20px;
    }
}