/* ============================================
   ХРАМ МУДРОСТИ - ГЛАВНАЯ СТРАНИЦА
   Цветовая палитра Олимпа
   ============================================ */

/* Цветовая палитра */
:root {
    --bg-dark: #0C101B;
    --bg-dark-secondary: #1B2735;
    --gold-primary: #D4AF37;
    --gold-bright: #FFD700;
    --gold-dark: #B8941F;
    --parchment: #F5E6C4;
    --lightning: #4EB9FF;
    --text-light: #E8E8E8;
    --text-white: #FFFFFF;
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold-bright: rgba(255, 215, 0, 0.5);
    --shadow-dark: rgba(0, 0, 0, 0.6);
}

/* Базовые стили */
body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, transparent 30%, transparent 70%, var(--bg-dark) 100%);
    z-index: 2;
}

/* Эффект молний */
.lightning-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 185, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(78, 185, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(78, 185, 255, 0.1) 0%, transparent 50%);
    animation: lightningPulse 4s ease-in-out infinite;
}

@keyframes lightningPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 80px; /* Отступ для фиксированного header на десктопе */
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-shadow: 
        0 0 20px var(--shadow-gold-bright),
        0 0 40px var(--shadow-gold),
        0 4px 8px var(--shadow-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            0 0 20px var(--shadow-gold-bright),
            0 0 40px var(--shadow-gold),
            0 4px 8px var(--shadow-dark);
    }
    50% { 
        text-shadow: 
            0 0 30px var(--shadow-gold-bright),
            0 0 60px var(--shadow-gold),
            0 4px 8px var(--shadow-dark);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--parchment);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.hero-bonus {
    font-size: 1.2rem;
    color: var(--lightning);
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(78, 185, 255, 0.5);
    padding: 1rem 1.5rem;
    background: rgba(78, 185, 255, 0.15);
    border: 2px solid var(--lightning);
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 0 20px rgba(78, 185, 255, 0.3);
    animation: bonusPulse 2s ease-in-out infinite;
}

@keyframes bonusPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(78, 185, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(78, 185, 255, 0.6);
        transform: scale(1.02);
    }
}

.hero-early-access {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(78, 185, 255, 0.2);
    border: 2px solid var(--lightning);
    border-radius: 30px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--lightning);
    box-shadow: 0 0 20px rgba(78, 185, 255, 0.3);
    animation: lightningBorder 2s ease-in-out infinite;
}

@keyframes lightningBorder {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(78, 185, 255, 0.3);
        border-color: var(--lightning);
    }
    50% { 
        box-shadow: 0 0 30px rgba(78, 185, 255, 0.6);
        border-color: #6EC5FF;
    }
}

.lightning-icon {
    display: none;
}

.hero-release {
    font-size: 1rem;
    color: var(--parchment);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #F7D04B 0%, #FFD95B 50%, #F1B400 100%);
    color: var(--bg-dark);
    box-shadow: 
        0 4px 15px var(--shadow-gold),
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 25px var(--shadow-gold-bright),
        0 0 40px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-bright);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-bright);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
}

.btn-icon {
    display: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(78, 185, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.marble-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(245, 230, 196, 0.1) 0%, rgba(245, 230, 196, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 
        0 10px 40px var(--shadow-dark),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-decoration {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright), var(--gold-primary));
    border-radius: 4px;
    box-shadow: 0 0 15px var(--shadow-gold);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold-bright);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 20px var(--shadow-gold);
    letter-spacing: 1px;
}

.about-content {
    text-align: center;
}

.about-text {
    font-size: 1.4rem;
    color: var(--parchment);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
}

/* ============================================
   MEMORY GAME SECTION
   ============================================ */

.memory-game-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.game-description {
    text-align: center;
    font-size: 1.3rem;
    color: var(--parchment);
    margin-bottom: 2rem;
}

.memory-game-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(27, 39, 53, 0.8) 0%, rgba(12, 16, 27, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow-dark);
}

.memory-game {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.memory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memory-card:hover::before {
    opacity: 1;
}

.memory-card.flipped {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px var(--shadow-gold);
    transform: scale(1.05);
}

.memory-card.matched {
    background: linear-gradient(135deg, rgba(78, 185, 255, 0.3) 0%, rgba(78, 185, 255, 0.1) 100%);
    border-color: var(--lightning);
    box-shadow: 0 0 25px rgba(78, 185, 255, 0.5);
    animation: matchPulse 0.5s ease;
}

@keyframes matchPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.memory-card.hidden {
    opacity: 0;
    pointer-events: none;
}

.memory-card .card-back,
.memory-card .card-front {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
}

.memory-card .card-back {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--shadow-gold);
}

.memory-card .card-front {
    color: var(--gold-bright);
    text-shadow: 0 0 15px var(--shadow-gold);
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--parchment);
    opacity: 0.8;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-shadow: 0 0 10px var(--shadow-gold);
}

.btn-reset {
    display: block;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--gold-bright);
    border: 2px solid var(--gold-primary);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.btn-reset:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px var(--shadow-gold);
    transform: translateY(-2px);
}

.game-invitation {
    text-align: center;
    font-size: 1.2rem;
    color: var(--parchment);
    margin-top: 2rem;
    font-style: italic;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-tablet {
    position: relative;
    background: linear-gradient(135deg, rgba(245, 230, 196, 0.15) 0%, rgba(245, 230, 196, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.feature-tablet::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright), var(--gold-primary));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-tablet:hover {
    transform: translateY(-10px);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.feature-tablet:hover::before {
    opacity: 0.3;
}

.tablet-icon {
    display: none;
}

.tablet-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--shadow-gold);
}

.tablet-description {
    font-size: 1.1rem;
    color: var(--parchment);
    line-height: 1.6;
}

/* ============================================
   TRIALS SECTION
   ============================================ */

.trials-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.trials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.trial-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.card-gold-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold-primary);
    border-radius: 20px;
    box-shadow: 
        0 0 20px var(--shadow-gold),
        inset 0 0 20px rgba(212, 175, 55, 0.2);
    z-index: 3;
    transition: all 0.4s ease;
    pointer-events: none;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.7) contrast(1.1);
}

.trial-card:hover .card-image img {
    transform: scale(1.1);
    filter: brightness(0.8) contrast(1.2);
}

.card-marble-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(245, 230, 196, 0.15) 0%, 
        rgba(245, 230, 196, 0.05) 50%,
        rgba(27, 39, 53, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 16, 27, 0.7) 50%, rgba(12, 16, 27, 0.9) 100%);
}

.trial-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.trial-card:hover .card-gold-frame {
    border-color: var(--gold-bright);
    box-shadow: 
        0 0 30px var(--shadow-gold-bright),
        inset 0 0 30px rgba(255, 215, 0, 0.3);
}

.card-icon {
    display: none;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--shadow-gold);
}

.card-type {
    font-size: 1rem;
    color: var(--lightning);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-description {
    font-size: 1.1rem;
    color: var(--parchment);
    line-height: 1.6;
}


/* ============================================
   TRIAL MODE SECTION
   ============================================ */

.trial-mode-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.trial-mode-panel {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(245, 230, 196, 0.1) 0%, rgba(245, 230, 196, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 
        0 10px 40px var(--shadow-dark),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trial-mode-text {
    font-size: 1.3rem;
    color: var(--parchment);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.trial-mode-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.trial-mode-list li {
    font-size: 1.2rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    padding-left: 1rem;
    text-shadow: 0 0 10px var(--shadow-gold);
}

.btn-activate {
    background: linear-gradient(135deg, rgba(78, 185, 255, 0.2) 0%, rgba(78, 185, 255, 0.1) 100%);
    color: var(--lightning);
    border: 2px solid var(--lightning);
    box-shadow: 0 0 20px rgba(78, 185, 255, 0.3);
    margin-top: 2rem;
}

.btn-activate:hover {
    background: rgba(78, 185, 255, 0.3);
    box-shadow: 0 0 30px rgba(78, 185, 255, 0.5);
}

/* ============================================
   VICTORY MESSAGE
   ============================================ */

.victory-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 16, 27, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.victory-content {
    background: linear-gradient(135deg, rgba(245, 230, 196, 0.2) 0%, rgba(27, 39, 53, 0.9) 100%);
    border: 3px solid var(--gold-bright);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 
        0 0 40px var(--shadow-gold-bright),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
    animation: victoryPulse 2s ease-in-out infinite;
}

@keyframes victoryPulse {
    0%, 100% { 
        box-shadow: 
            0 0 40px var(--shadow-gold-bright),
            inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 60px var(--shadow-gold-bright),
            inset 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.victory-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--shadow-gold-bright));
    animation: iconBounce 1s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.victory-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--shadow-gold);
}

.victory-content p {
    font-size: 1.3rem;
    color: var(--parchment);
    margin-bottom: 0.5rem;
}

.victory-stats {
    font-size: 1.5rem;
    color: var(--lightning);
    font-weight: 600;
    margin: 1rem 0;
    text-shadow: 0 0 15px rgba(78, 185, 255, 0.5);
}

.victory-invitation {
    font-size: 1.2rem;
    color: var(--gold-bright);
    font-style: italic;
    margin-top: 1.5rem;
    text-shadow: 0 0 15px var(--shadow-gold);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 0;
        margin-top: 0;
    }

    .hero-background {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 200px; /* Максимальный отступ для полной видимости картинки */
        padding-top: 1rem;
    }

    .hero-image {
        object-fit: contain;
        object-position: center top;
        width: 100%;
        height: auto;
        min-height: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .marble-panel,
    .trial-mode-panel {
        padding: 2rem 1.5rem;
    }
    
    .about-text {
        font-size: 1.2rem;
    }
    
    .memory-game {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .memory-card {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .trials-grid {
        grid-template-columns: 1fr;
    }
    
    .trial-card {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 0;
        margin-top: 0;
    }

    .hero-background {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 180px; /* Максимальный отступ для полной видимости картинки */
        padding-top: 1rem;
    }

    .hero-image {
        object-fit: contain;
        object-position: center top;
        width: 100%;
        height: auto;
        min-height: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-early-access {
        flex-direction: column;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .memory-game {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 1rem;
    }
}

