/* ==========================================
   ZEN GARDEN - HOME PAGE STYLES
   Цветовая палитра Zen Bahçesi 550FS
   ========================================== */

/* CSS Variables - Цветовая палитра */
:root {
    /* Основной фон */
    --bg-primary: #061A17;
    --bg-secondary: #0A2B25;
    
    /* Акценты */
    --accent-mint: #00FFB2;
    --accent-light-green: #66FF99;
    --accent-cyan: #00E6FF;
    --accent-purple: #7A5FFF;
    
    /* Цвета листвы */
    --foliage-dark: #145C41;
    --foliage-light: #39A87F;
    --foliage-neon: #00FF9D;
    
    /* Текст */
    --text-primary: #E6FFF8;
    --text-secondary: #A0CFC4;
    
    /* Эффекты */
    --glow-mint: rgba(0, 255, 178, 0.3);
    --glow-cyan: rgba(0, 230, 255, 0.3);
    --shadow-zen: rgba(0, 255, 178, 0.2);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 26, 23, 0.4) 0%,
        rgba(10, 43, 37, 0.3) 50%,
        rgba(20, 92, 65, 0.2) 100%
    );
    z-index: 2;
    margin: 0;
    padding: 0;
}

.hero-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.hero-button {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-cyan));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px var(--glow-mint);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px var(--glow-mint);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
}

.hero-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Аудио контроль - удалено */
/* .hero-audio-control {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 4;
}

.audio-toggle {
    background: rgba(0, 255, 178, 0.2);
    border: 2px solid var(--accent-mint);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.audio-toggle:hover {
    background: rgba(0, 255, 178, 0.3);
    box-shadow: 0 0 15px var(--glow-mint);
}

.audio-icon {
    font-size: 1.2rem;
} */

/* Анимация падающих капель */
.water-drops-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.water-drop {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 230, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.5);
    animation: waterDrop 3s linear infinite;
}

@keyframes waterDrop {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0;
    }
}

/* ==========================================
   GAME SECTION - ZEN DROPS
   ========================================== */

.game-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 4rem 2rem;
    min-height: 80vh;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-mint);
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.game-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 178, 0.1);
    border: 2px solid var(--accent-mint);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-mint);
}

.score-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.game-pause {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-pause:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--glow-cyan);
}

.game-pause.paused {
    background: var(--accent-light-green);
    color: var(--bg-primary);
    border-color: var(--accent-light-green);
}

.game-pause.paused:hover {
    background: var(--accent-mint);
    border-color: var(--accent-mint);
    box-shadow: 0 0 15px var(--glow-mint);
}

.game-restart {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-restart:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(122, 95, 255, 0.5);
}

.game-field {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(10, 43, 37, 0.8), rgba(20, 92, 65, 0.6));
    border-radius: 20px;
    border: 2px solid var(--accent-mint);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 40px var(--shadow-zen);
}

.pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 26, 23, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.pause-message {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 178, 0.1);
    border: 2px solid var(--accent-mint);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.pause-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.pause-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
}

.drop {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-cyan), var(--accent-mint));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    cursor: pointer;
    animation: dropFall 3s linear infinite;
    box-shadow: 0 0 20px var(--glow-cyan);
    transition: transform 0.2s ease;
}

.drop:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--glow-cyan);
}

.drop.clicked {
    animation: ripple 0.6s ease-out forwards;
}

@keyframes dropFall {
    0% {
        top: -50px;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0.5;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.game-instructions {
    text-align: center;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* ==========================================
   CALM SECTION - DİNGİNLİK ALANI
   ========================================== */

.calm-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    padding: 4rem 2rem;
    overflow: hidden;
}

.calm-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.calm-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.calm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(6, 26, 23, 0.8) 0%,
        rgba(10, 43, 37, 0.7) 100%
    );
    z-index: 2;
}

.calm-container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.calm-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.calm-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.quote-card {
    background: rgba(0, 255, 178, 0.1);
    border: 2px solid var(--accent-mint);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-mint);
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.breathing-animation-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--accent-mint);
    background: rgba(0, 255, 178, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: breathe 4s ease-in-out infinite;
    box-shadow: 0 0 40px var(--glow-mint);
}

.breathing-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.breathing-button {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-light-green));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px var(--glow-mint);
}

.breathing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-mint);
}

/* ==========================================
   TASKS SECTION - GÜNLÜK GÖREVLER
   ========================================== */

.tasks-section {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
}

.tasks-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tasks-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-mint);
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.tasks-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.task-item {
    background: rgba(0, 255, 178, 0.05);
    border: 2px solid var(--accent-mint);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.task-item:hover {
    background: rgba(0, 255, 178, 0.1);
    box-shadow: 0 5px 20px var(--glow-mint);
}

.task-info {
    flex: 1;
    min-width: 200px;
}

.task-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.task-reward {
    font-size: 1rem;
    color: var(--accent-light-green);
    font-family: 'Poppins', sans-serif;
}

.task-progress {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(20, 92, 65, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-cyan));
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--glow-mint);
}

.task-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
}

.task-complete {
    background: var(--accent-purple);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.task-complete:disabled {
    background: rgba(122, 95, 255, 0.3);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.task-complete:not(:disabled):hover {
    background: var(--accent-purple);
    box-shadow: 0 0 15px rgba(122, 95, 255, 0.5);
    transform: translateY(-2px);
}

/* ==========================================
   TOURNAMENT SECTION
   ========================================== */

.tournament-section {
    background: var(--bg-primary);
    padding: 4rem 2rem;
}

.tournament-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tournament-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.tournament-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.tournament-timer {
    margin-bottom: 3rem;
}

.timer-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.timer-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 20px var(--glow-cyan);
}

.leaderboard {
    background: rgba(0, 255, 178, 0.05);
    border: 2px solid var(--accent-mint);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.leaderboard-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
}

.leaderboard-table thead {
    background: rgba(0, 255, 178, 0.1);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    color: var(--accent-mint);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-mint);
}

.leaderboard-table td {
    padding: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 255, 178, 0.2);
}

.leaderboard-table tbody tr:hover {
    background: rgba(0, 255, 178, 0.1);
}

.tournament-join {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-cyan));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px var(--glow-mint);
}

.tournament-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-mint);
}

/* ==========================================
   NATURE JOURNAL SECTION
   ========================================== */

.nature-journal-section {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
}

.nature-journal-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.nature-journal-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.nature-journal-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.journal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.journal-card {
    background: rgba(0, 255, 178, 0.05);
    border: 2px solid var(--accent-mint);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-mint);
}

.journal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 178, 0.05);
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.journal-card:hover .journal-image img {
    transform: scale(1.1);
}

.journal-content {
    padding: 1.5rem;
}

.journal-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.journal-card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

.journal-read-all {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.journal-read-all:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(122, 95, 255, 0.5);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    background: var(--bg-primary);
    padding: 4rem 2rem;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px var(--glow-mint);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-main-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lotus-illustration {
    position: relative;
    width: 200px;
    height: 200px;
}

.lotus-petal {
    position: absolute;
    width: 60px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-light-green));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.lotus-petal:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%) rotate(0deg); animation-delay: 0s; }
.lotus-petal:nth-child(2) { top: 15%; right: 10%; transform: rotate(45deg); animation-delay: 0.3s; }
.lotus-petal:nth-child(3) { top: 50%; right: 0; transform: rotate(90deg); animation-delay: 0.6s; }
.lotus-petal:nth-child(4) { bottom: 15%; right: 10%; transform: rotate(135deg); animation-delay: 0.9s; }
.lotus-petal:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%) rotate(180deg); animation-delay: 1.2s; }
.lotus-petal:nth-child(6) { bottom: 15%; left: 10%; transform: rotate(225deg); animation-delay: 1.5s; }

.lotus-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-cyan), var(--accent-mint));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow-cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--rotate, 0deg)); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-background-image img {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        transform: scale(1.05);
    }
    
    .hero-content {
        padding: 1rem;
        position: absolute;
        z-index: 3;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    /* .hero-audio-control {
        top: 1rem;
        right: 1rem;
        position: fixed;
        z-index: 1000;
    }
    
    .audio-text {
        display: none;
    } */
    
    .game-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-controls {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .game-pause,
    .game-restart {
        flex: 1;
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .game-field {
        height: 400px;
    }
    
    .pause-message {
        padding: 1.5rem;
    }
    
    .pause-message h3 {
        font-size: 1.5rem;
    }
    
    .pause-message p {
        font-size: 1rem;
    }
    
    .calm-section {
        min-height: 100vh;
        padding: 2rem 1rem;
    }
    
    .calm-background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .calm-background-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
    
    .calm-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .calm-quotes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .task-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        text-align: center;
    }
    
    .journal-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        margin: 0;
    }
    
    .hero-background-image {
        margin: 0;
        padding: 0;
    }
    
    .hero-background-image img {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        transform: scale(1.05);
    }
    
    .hero-content {
        padding: 0.75rem;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .game-title,
    .calm-title,
    .tasks-title,
    .tournament-title,
    .nature-journal-title,
    .about-title {
        font-size: 2rem;
    }
    
    .tournament-section {
        padding: 2rem 1rem;
    }
    
    .leaderboard {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem;
        margin: 0 -1rem 2rem -1rem;
        width: calc(100% + 2rem);
    }
    
    .leaderboard-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .leaderboard-table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    .leaderboard-table th:first-child,
    .leaderboard-table td:first-child {
        padding-left: 1rem;
    }
    
    .leaderboard-table th:last-child,
    .leaderboard-table td:last-child {
        padding-right: 1rem;
    }
    
    .game-field {
        height: 300px;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-pause,
    .game-restart {
        width: 100%;
        font-size: 0.85rem;
    }
    
    .pause-message {
        padding: 1rem;
        margin: 1rem;
    }
    
    .pause-message h3 {
        font-size: 1.2rem;
    }
    
    .pause-message p {
        font-size: 0.9rem;
    }
}

