/* ===== Menu and Navigation Styles ===== */
/* Reusable menu components for all games */

/* ===== Main Menu Styles ===== */
#main-menu {
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}

#main-menu.active {
    display: flex;
}

.menu-container {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.game-title {
    font-size: 56px;
    font-weight: bold;
    color: var(--primary-color, #FF8B6A);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 24px;
    color: var(--text-light, #666);
    margin-bottom: 40px;
}

.difficulty-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.difficulty-btn {
    background: linear-gradient(135deg, #7A9CB8 0%, #6B8BA8 100%);
    border: none;
    border-radius: 15px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.difficulty-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #8AACC8 0%, #7B9BB8 100%);
}

.difficulty-btn:active {
    transform: translateY(-2px) scale(1.01);
}

.difficulty-name {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.difficulty-info {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.stars {
    font-size: 22px;
    margin-top: 5px;
}

.footer-text {
    font-size: 18px;
    color: #888;
    font-style: italic;
}

/* ===== Game Header Styles ===== */
#game-board {
    padding: 0;
    min-height: 100vh;
}

.game-header {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-btn {
    background: var(--secondary-color, #7A9CB8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-btn:hover {
    background: #6B8BA8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-btn.circular {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light, #666);
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    color: var(--primary-color, #FF8B6A);
    font-weight: bold;
}

/* ===== Responsive Menu Styles ===== */

/* Tablet */
@media (max-width: 1024px) {
    .game-title {
        font-size: 48px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-container {
        padding: 40px 25px;
    }

    .game-title {
        font-size: 40px;
    }

    .subtitle {
        font-size: 20px;
    }

    .difficulty-btn {
        padding: 20px 25px;
    }

    .difficulty-name {
        font-size: 24px;
    }

    .difficulty-info {
        font-size: 16px;
    }

    .game-header {
        padding: 15px 20px;
        justify-content: center;
    }

    .stats-container {
        gap: 20px;
        justify-content: center;
    }

    .stat-label,
    .header-btn {
        font-size: 16px;
    }

    .stat-value {
        font-size: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .game-title {
        font-size: 32px;
    }

    .difficulty-name {
        font-size: 20px;
    }

    .difficulty-info {
        font-size: 14px;
    }

    .stars {
        font-size: 18px;
    }
}
