/* Game Header - Title, stats dashboard, and user section */
/* ======================================================= */

.game-header {
    background: linear-gradient(135deg, 
        rgba(0, 105, 148, 0.95) 0%, 
        rgba(70, 130, 180, 0.95) 50%, 
        rgba(135, 206, 235, 0.95) 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.game-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

/* Game Title Section */
/* =================== */

.game-title-section {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.main-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: titleFloat 2s ease-in-out infinite alternate;
}

.title-icon {
    font-size: 1.2em;
    animation: boatRock 1.5s ease-in-out infinite;
}

.title-text {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease-in-out infinite;
}

.title-wave {
    color: #87CEEB;
    animation: waveMotion 1s ease-in-out infinite;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* Stats Dashboard */
/* ================ */

.stats-dashboard {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 1.5em;
    animation: iconBounce 2s ease-in-out infinite;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.stat-value {
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Special stat card colors */
/* ======================== */

.score-card .stat-value {
    color: #FFD700;
}

.lives-card .stat-value {
    color: #FF69B4;
}

.level-card .stat-value {
    color: #00FF7F;
}

.coins-card .stat-value {
    color: #FFA500;
}

/* User Section */
/* ============= */

.user-section {
    position: relative;
    z-index: 2;
}

.user-profile {
    color: white;
    text-align: center;
    font-size: 14px;
}