/* Chiptune Challenge 2026 - May Theme: Platformer / Cheerful */
/* Spring in full bloom. Bouncy, precise, momentum. Jump for joy. */
/* LIGHT THEME - overrides dark-assuming defaults throughout */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&family=Baloo+2:wght@500;700&display=swap');

:root {
    /* Primary Colors */
    --chiptune-primary: #7CB342;
    --chiptune-primary-hover: #689F38;
    --chiptune-secondary: #42A5F5;
    --chiptune-accent: #F48FB1;

    /* Backgrounds - LIGHT theme (bright sky) */
    --chiptune-bg: #E3F2FD;
    --chiptune-header-bg: rgba(66, 165, 245, 0.92);
    --chiptune-card-bg: #FFFFFF;
    --chiptune-surface: rgba(124, 179, 66, 0.08);
    --chiptune-player-bg: rgba(255, 255, 255, 0.95);

    /* Text - DARK on light */
    --chiptune-text: #1565C0;
    --chiptune-text-secondary: #546E7A;

    /* Borders & Effects */
    --chiptune-border: rgba(124, 179, 66, 0.35);
    --chiptune-glow: rgba(124, 179, 66, 0.35);
    --chiptune-secondary-glow: rgba(244, 143, 177, 0.35);

    /* May effects */
    --may-shadow-bounce: 0 8px 0 rgba(124, 179, 66, 0.3);
    --may-shadow-soft: 0 4px 12px rgba(21, 101, 192, 0.15);
    --may-gradient-sky: linear-gradient(180deg, #42A5F5 0%, #90CAF9 50%, #E3F2FD 100%);
    --may-gradient-rainbow: linear-gradient(90deg, #EF5350, #FFD54F, #7CB342, #42A5F5, #F48FB1);
    --may-coin-gold: #FFD54F;
    --may-star-yellow: #FFEE58;

    /* Player Handle - Coin style */
    --chiptune-handle-size: 22px;
    --chiptune-handle-bg: radial-gradient(circle at 35% 35%, #FFF59D, #FFD54F 60%, #F57F17);
    --chiptune-handle-radius: 50%;
    --chiptune-handle-icon-size: 12px;
    --chiptune-handle-icon-color: #1565C0;
    --chiptune-handle-icon-shadow: 0 0 3px rgba(255, 213, 79, 0.7);
    --chiptune-handle-glow: rgba(255, 213, 79, 0.55);

    /* Volume Handle */
    --chiptune-volume-handle-size: 16px;
    --chiptune-volume-handle-bg: radial-gradient(circle at 35% 35%, #FFF59D, #FFD54F 60%, #F57F17);
    --chiptune-volume-handle-radius: 50%;
    --chiptune-volume-handle-icon-size: 10px;
    --chiptune-volume-handle-icon-color: #1565C0;
    --chiptune-volume-handle-icon-shadow: 0 0 3px rgba(255, 213, 79, 0.6);
    --chiptune-volume-handle-glow: rgba(255, 213, 79, 0.5);
}

/* =============================================================================
   BODY & BACKGROUND - Cheerful platformer landscape
   ============================================================================= */

body.chiptune-theme-may {
    background-color: #90CAF9;
    background-image:
        linear-gradient(
            180deg,
            rgba(227, 242, 253, 0.18) 0%,
            rgba(227, 242, 253, 0.05) 35%,
            rgba(227, 242, 253, 0.0)  65%,
            rgba(124, 179, 66, 0.08)  100%
        ),
        url('/static/sites/zimventures/chiptune/images/may/may-platform-bg.jpg');
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, fixed;
    color: #1565C0;
}

body.chiptune-theme-may .chiptune-app {
    background: transparent;
    color: #1565C0;
}

/* =============================================================================
   HEADER - Sunny sky gradient with floating clouds
   ============================================================================= */

.chiptune-theme-may .chiptune-header {
    background: linear-gradient(180deg, #42A5F5 0%, #64B5F6 60%, #90CAF9 100%);
    border-bottom: 4px solid #7CB342;
    box-shadow: 0 4px 0 rgba(124, 179, 66, 0.3);
    position: relative;
    overflow: hidden;
}

.chiptune-theme-may .chiptune-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 110px 32px at 12% 50%, rgba(255, 255, 255, 0.85) 0%, transparent 70%),
        radial-gradient(ellipse 80px  26px at 32% 30%, rgba(255, 255, 255, 0.75) 0%, transparent 70%),
        radial-gradient(ellipse 100px 30px at 58% 60%, rgba(255, 255, 255, 0.8)  0%, transparent 70%),
        radial-gradient(ellipse 90px  28px at 82% 40%, rgba(255, 255, 255, 0.75) 0%, transparent 70%);
    animation: header-clouds-drift 70s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.chiptune-theme-may .chiptune-header > * {
    position: relative;
    z-index: 1;
}

@keyframes header-clouds-drift {
    0%   { transform: translateX(0); }
    100% { transform: translateX(220px); }
}

/* =============================================================================
   LIGHT THEME TEXT OVERRIDES
   ============================================================================= */

.chiptune-theme-may,
.chiptune-theme-may .chiptune-app,
.chiptune-theme-may .chiptune-content,
.chiptune-theme-may p,
.chiptune-theme-may span,
.chiptune-theme-may li {
    color: #1565C0;
}

.chiptune-theme-may .chiptune-logo .logo-text {
    color: #FFFFFF;
    text-shadow:
        2px 2px 0 rgba(124, 179, 66, 0.8),
        4px 4px 0 rgba(21, 101, 192, 0.25);
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.chiptune-theme-may .chiptune-logo .logo-icon {
    color: #FFFFFF;
}

.chiptune-theme-may .chiptune-nav a,
.chiptune-theme-may .chiptune-nav .nav-link {
    color: #FFFFFF;
    font-family: 'Nunito', 'Arial', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .chiptune-nav a:hover,
.chiptune-theme-may .chiptune-nav .nav-link:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.chiptune-theme-may .chiptune-nav a.active,
.chiptune-theme-may .chiptune-nav .nav-link.active {
    color: #FFFFFF;
    border-bottom-color: #F48FB1;
}

.chiptune-theme-may .auth-link {
    color: #FFFFFF;
    font-weight: 700;
}

.chiptune-theme-may .profile-menu {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 16px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .profile-menu-item {
    color: #1565C0;
    font-family: 'Nunito', 'Arial', sans-serif;
    font-weight: 600;
}

.chiptune-theme-may .profile-menu-item:hover {
    background: rgba(124, 179, 66, 0.15);
    color: #689F38;
}

/* =============================================================================
   PAGE HEADERS
   ============================================================================= */

.chiptune-theme-may .page-header h1,
.chiptune-theme-may .page-header h2 {
    color: #1565C0;
    text-shadow:
        2px 2px 0 rgba(124, 179, 66, 0.4),
        4px 4px 0 rgba(124, 179, 66, 0.2);
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-weight: 700;
    letter-spacing: 1px;
}

.chiptune-theme-may .page-header p,
.chiptune-theme-may .page-header .subtitle {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

/* =============================================================================
   SONG CARDS - Bouncy rounded white blocks
   ============================================================================= */

.chiptune-theme-may .song-card {
    background: #FFFFFF;
    border: 4px solid #7CB342;
    border-radius: 20px;
    box-shadow: var(--may-shadow-bounce);
    padding: 16px;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.2s ease;
}

.chiptune-theme-may .song-card .song-title,
.chiptune-theme-may .song-card .song-name {
    color: #1565C0;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-weight: 600;
}

.chiptune-theme-may .song-card .song-artist,
.chiptune-theme-may .song-card .song-date,
.chiptune-theme-may .song-card .song-duration-text,
.chiptune-theme-may .song-card .song-meta {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 0 rgba(124, 179, 66, 0.3);
    border-color: #689F38;
}

.chiptune-theme-may .song-card.is-playing {
    border-color: #F48FB1;
    box-shadow: 0 8px 0 rgba(244, 143, 177, 0.35);
    animation: may-bounce-subtle 1.2s ease-in-out infinite;
}

@keyframes may-bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* Triple-click star jump must override is-playing's animation,
   so it lives here (loaded after pixel-art.css) */
.chiptune-theme-may .song-card.may-card-jump {
    animation: mayCardJump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes mayCardJump {
    0%   { transform: translateY(0) rotate(0); }
    25%  { transform: translateY(-22px) scale(1.04) rotate(2deg); }
    50%  { transform: translateY(-28px) rotate(-2deg); }
    75%  { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0); }
}

.chiptune-theme-may .song-card.is-today {
    border-color: #FFD54F;
    background: linear-gradient(135deg, #FFFFFF 60%, rgba(255, 213, 79, 0.25));
    box-shadow: 0 8px 0 rgba(255, 213, 79, 0.4);
}

.chiptune-theme-may .song-card.is-winner {
    border-color: #FFEE58;
    box-shadow: 0 0 24px rgba(255, 238, 88, 0.55), 0 8px 0 rgba(255, 213, 79, 0.35);
}

.chiptune-theme-may .song-card.is-winner::after {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: url('/static/sites/zimventures/chiptune/images/may/star.svg') no-repeat center / contain;
    animation: may-star-spin 4s linear infinite;
    pointer-events: none;
}

@keyframes may-star-spin {
    0%   { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.chiptune-theme-may .song-card.is-future {
    opacity: 0.55;
    border-style: dashed;
    box-shadow: none;
}

.chiptune-theme-may .song-cover .play-btn {
    background: rgba(21, 101, 192, 0.85);
    color: #FFFFFF;
}

.chiptune-theme-may .song-cover .song-duration {
    background: rgba(21, 101, 192, 0.85);
    color: #FFFFFF;
}

/* Round cover-art treatment */
.chiptune-theme-may .song-cover,
.chiptune-theme-may .song-card img.cover-art,
.chiptune-theme-may .song-card .cover-art {
    border-radius: 14px;
    border: 3px solid #42A5F5;
    overflow: hidden;
}

/* =============================================================================
   VOTE & LIKE BUTTONS
   ============================================================================= */

.chiptune-theme-may .vote-btn,
.chiptune-theme-may .song-card .vote-btn {
    background: #42A5F5;
    border: 3px solid #1976D2;
    color: #FFFFFF;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 0 rgba(25, 118, 210, 0.4);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

.chiptune-theme-may .vote-btn:hover:not(:disabled),
.chiptune-theme-may .song-card .vote-btn:hover:not(:disabled) {
    background: #1E88E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(25, 118, 210, 0.4);
    color: #FFFFFF;
}

.chiptune-theme-may .vote-btn:active,
.chiptune-theme-may .song-card .vote-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(25, 118, 210, 0.4);
}

.chiptune-theme-may .vote-btn.voted,
.chiptune-theme-may .song-card .vote-btn.voted {
    background: linear-gradient(135deg, #F48FB1, #F06292);
    border-color: #C2185B;
    color: #FFFFFF;
    box-shadow: 0 4px 0 rgba(194, 24, 91, 0.4);
}

.chiptune-theme-may .like-btn {
    color: #546E7A;
}

.chiptune-theme-may .like-btn.liked {
    color: #F48FB1;
}

.chiptune-theme-may .like-btn.liked .like-icon {
    animation: may-heart-bounce 0.6s ease;
}

@keyframes may-heart-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.25); }
    50%  { transform: scale(0.95); }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chiptune-theme-may .vote-count-badge {
    background: #1565C0;
    color: #FFFFFF;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .vote-btn-overlay.voted {
    color: #FFFFFF;
}

/* =============================================================================
   DAY & CARD BADGES
   ============================================================================= */

.chiptune-theme-may .day-badge {
    background: #1565C0;
    color: #FFFFFF;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .card-badge-weekly {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .card-badge-monthly {
    background: linear-gradient(135deg, #FFD54F, #FFB300);
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .today-badge {
    position: absolute;
    background: #FFD54F;
    color: #1565C0;
    padding: 6px 18px;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 999px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 0 rgba(245, 127, 23, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================================================
   PLAYER BAR - White surface with green pipe top edge
   ============================================================================= */

.chiptune-theme-may .chiptune-player {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 4px solid #7CB342;
    box-shadow: 0 -8px 20px rgba(124, 179, 66, 0.2);
}

.chiptune-theme-may .chiptune-player,
.chiptune-theme-may .player-info,
.chiptune-theme-may .player-song-title,
.chiptune-theme-may .player-song-artist {
    color: #1565C0;
}

.chiptune-theme-may .player-time,
.chiptune-theme-may .player-duration {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .player-btn {
    color: #1565C0;
}

.chiptune-theme-may .player-btn:hover {
    color: #689F38;
}

.chiptune-theme-may .player-btn.play-pause {
    background: #F48FB1;
    border: 3px solid #C2185B;
    color: #FFFFFF;
    box-shadow: 0 4px 0 rgba(194, 24, 91, 0.4);
}

.chiptune-theme-may .player-btn.play-pause:hover {
    background: #F06292;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(194, 24, 91, 0.4);
}

.chiptune-theme-may .player-btn.play-pause:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(194, 24, 91, 0.4);
}

/* Pipe-style striped progress bar */
.chiptune-theme-may .player-progress-bar {
    background: #BBDEFB;
    border-radius: 8px;
    border: 2px solid #7CB342;
    overflow: hidden;
}

.chiptune-theme-may .player-progress-fill {
    background: repeating-linear-gradient(
        90deg,
        #7CB342,
        #7CB342 10px,
        #8BC34A 10px,
        #8BC34A 20px
    );
    border-radius: 6px;
}

/* Stats panel */
.chiptune-theme-may .stats-panel {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 16px;
    box-shadow: var(--may-shadow-soft);
    color: #1565C0;
}

/* =============================================================================
   WEEK NAVIGATION
   ============================================================================= */

.chiptune-theme-may .week-nav {
    background: linear-gradient(
        90deg,
        rgba(124, 179, 66, 0.1),
        rgba(66, 165, 245, 0.1),
        rgba(244, 143, 177, 0.1)
    );
    border-bottom: 2px solid rgba(124, 179, 66, 0.25);
}

.chiptune-theme-may .week-nav a,
.chiptune-theme-may .week-nav span {
    color: #1565C0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .week-nav a:hover {
    color: #689F38;
}

.chiptune-theme-may .week-nav-current .week-label {
    color: #1565C0;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(124, 179, 66, 0.3);
    letter-spacing: 1px;
    animation: none;
}

.chiptune-theme-may .week-nav-current .week-year {
    color: #F48FB1;
    font-weight: 700;
}

.chiptune-theme-may .week-nav-current .week-dates {
    color: #546E7A;
    font-size: 0.85rem;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .week-nav-theme-icon {
    filter: none;
}

.chiptune-theme-may .week-nav-theme-name {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .week-nav-btn {
    color: #1565C0;
    border-radius: 50%;
    transition: transform 0.15s ease, background 0.15s ease;
}

.chiptune-theme-may .week-nav-btn:hover:not(.disabled) {
    background: rgba(124, 179, 66, 0.15);
    color: #689F38;
    transform: translateY(-2px);
}

/* =============================================================================
   THEME BANNER & VOTE BANNERS
   ============================================================================= */

.chiptune-theme-may .theme-banner {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 18px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .theme-banner::before {
    display: none;
}

.chiptune-theme-may .theme-banner .theme-icon {
    filter: none;
}

.chiptune-theme-may .theme-banner .theme-name {
    color: #1565C0;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    text-shadow: 2px 2px 0 rgba(124, 179, 66, 0.3);
}

.chiptune-theme-may .theme-banner .theme-tagline {
    color: #F48FB1;
    font-family: 'Baloo 2', cursive;
    font-size: 1.15rem;
    font-weight: 700;
}

.chiptune-theme-may .theme-banner .theme-description {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .theme-banner .theme-link {
    color: #1565C0;
    border: 2px solid #7CB342;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .theme-banner .theme-link:hover {
    color: #FFFFFF;
    background: #7CB342;
    border-color: #689F38;
    box-shadow: 0 4px 0 rgba(104, 159, 56, 0.4);
}

.chiptune-theme-may .vote-banner {
    background: linear-gradient(135deg, #42A5F5, #1976D2);
    border: 3px solid #1565C0;
    border-radius: 18px;
    box-shadow: 0 6px 0 rgba(21, 101, 192, 0.35);
}

.chiptune-theme-may .vote-banner-content {
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .voting-open-banner {
    background: #FFFFFF;
    border: 3px solid #F48FB1;
    border-radius: 18px;
    box-shadow: 0 6px 0 rgba(244, 143, 177, 0.35);
}

.chiptune-theme-may .voting-open-banner .vote-btn {
    color: #FFFFFF;
}

/* =============================================================================
   TROPHY & WINNER BANNERS
   ============================================================================= */

.chiptune-theme-may .trophy-badge {
    background: rgba(255, 213, 79, 0.25);
    border: 2px solid #FFD54F;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    color: #1565C0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .winner-banner,
.chiptune-theme-may .month-winner-banner {
    background: #FFFFFF;
    border: 4px solid #FFEE58;
    border-radius: 18px;
    box-shadow: 0 0 30px rgba(255, 238, 88, 0.45), 0 8px 0 rgba(255, 213, 79, 0.35);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.chiptune-theme-may .winner-banner .winner-text strong {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .winner-icon {
    font-size: 2rem;
}

.chiptune-theme-may .winner-info h3 {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

/* =============================================================================
   STAT CARDS / HALL OF FAME / THEME CARDS
   ============================================================================= */

.chiptune-theme-may .stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.chiptune-theme-may .stat-card {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 16px;
    box-shadow: var(--may-shadow-bounce);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chiptune-theme-may .stat-card:hover {
    transform: translateY(-4px);
}

.chiptune-theme-may .stat-card h3 {
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    color: #1565C0;
}

.chiptune-theme-may .stat-card .stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.chiptune-theme-may .stat-card .stat-value {
    font-size: 1.7rem;
    color: #689F38;
    display: block;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-weight: 700;
}

.chiptune-theme-may .stat-card .stat-label {
    font-size: 0.8rem;
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .hof-card {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--may-shadow-bounce);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chiptune-theme-may .hof-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 0 rgba(124, 179, 66, 0.3);
}

.chiptune-theme-may .hof-card.year-card {
    border-color: #FFEE58;
    box-shadow: 0 0 18px rgba(255, 238, 88, 0.4), 0 8px 0 rgba(255, 213, 79, 0.3);
}

.chiptune-theme-may .hof-card.month-card {
    border-color: #42A5F5;
    box-shadow: 0 8px 0 rgba(66, 165, 245, 0.3);
}

.chiptune-theme-may .hof-card-badge.week {
    background: #1565C0;
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .hof-label.purple {
    background: #F48FB1;
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .hof-play-btn {
    background: #1565C0;
    color: #FFFFFF;
}

.chiptune-theme-may .hof-btn {
    background: linear-gradient(135deg, #7CB342, #689F38);
    border: 3px solid #558B2F;
    color: #FFFFFF;
    border-radius: 999px;
    font-family: 'Fredoka', cursive;
    font-weight: 700;
    box-shadow: 0 4px 0 rgba(85, 139, 47, 0.4);
}

.chiptune-theme-may .hof-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(85, 139, 47, 0.4);
}

.chiptune-theme-may .theme-card {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 16px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .theme-card.locked {
    background: rgba(187, 222, 251, 0.5);
    border-style: dashed;
    box-shadow: none;
    opacity: 0.7;
}

.chiptune-theme-may .theme-card-header .current-badge {
    background: #F48FB1;
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .liked-song-play:hover {
    color: #7CB342;
}

.chiptune-theme-may .placeholder-static {
    background: rgba(187, 222, 251, 0.6);
}

.chiptune-theme-may .question-mark {
    color: #90CAF9;
}

.chiptune-theme-may .current-vote-notice strong {
    color: #689F38;
}

/* =============================================================================
   BRACKET COMPONENTS
   ============================================================================= */

.chiptune-theme-may .bracket-slot {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 14px;
    box-shadow: 0 4px 0 rgba(124, 179, 66, 0.25);
}

.chiptune-theme-may .bracket-vote-btn:hover:not(:disabled) {
    background: #42A5F5;
    color: #FFFFFF;
}

.chiptune-theme-may .bracket-vote-btn.voted {
    background: linear-gradient(135deg, #F48FB1, #F06292) !important;
    color: #FFFFFF;
}

.chiptune-theme-may .bracket-play-btn {
    background: #1565C0;
    color: #FFFFFF;
}

.chiptune-theme-may .bracket-login-link:hover {
    color: #689F38;
}

.chiptune-theme-may .bracket-status.voting p {
    color: #1565C0;
}

.chiptune-theme-may .slot-title {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

/* =============================================================================
   CHAMPION & YEARLY CARDS
   ============================================================================= */

.chiptune-theme-may .champion-card {
    background: #FFFFFF;
    border: 4px solid #FFEE58;
    border-radius: 18px;
    box-shadow: 0 0 24px rgba(255, 238, 88, 0.45), 0 8px 0 rgba(255, 213, 79, 0.3);
}

.chiptune-theme-may .champion-card-title,
.chiptune-theme-may .champion-info h3 {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .champion-play-btn {
    background: #1565C0;
    color: #FFFFFF;
}

.chiptune-theme-may .past-champion-badge {
    background: #FFD54F;
    color: #1565C0;
    font-family: 'Fredoka', cursive;
    font-weight: 700;
}

.chiptune-theme-may .song-nav-btn {
    color: #546E7A;
}

.chiptune-theme-may .song-nav-btn:hover:not(.disabled) {
    color: #689F38;
}

.chiptune-theme-may .play-btn-large {
    background: linear-gradient(135deg, #F48FB1, #F06292);
    border: 4px solid #C2185B;
    color: #FFFFFF;
    box-shadow: 0 6px 0 rgba(194, 24, 91, 0.4);
}

.chiptune-theme-may .play-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(194, 24, 91, 0.4);
}

.chiptune-theme-may .like-btn-large.liked {
    color: #F48FB1;
}

.chiptune-theme-may .vote-badge-float {
    background: #1565C0;
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .week-check {
    background: rgba(124, 179, 66, 0.12);
    border: 2px solid rgba(124, 179, 66, 0.3);
    border-radius: 8px;
}

.chiptune-theme-may .chiptune-toast {
    background: #1565C0;
    color: #FFFFFF;
    border: 2px solid #42A5F5;
    border-radius: 12px;
    box-shadow: 0 4px 0 rgba(21, 101, 192, 0.4);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.chiptune-theme-may .modal-close-btn {
    background: rgba(21, 101, 192, 0.8);
    color: #FFFFFF;
    border-radius: 50%;
}

.chiptune-theme-may .modal-theme-name {
    color: #689F38;
    font-family: 'Fredoka', cursive;
}

/* Discord brand-color elements stay dark */
.chiptune-theme-may .discord-login-btn,
.chiptune-theme-may .discord-floating-badge,
.chiptune-theme-may .discord-invite-header h2,
.chiptune-theme-may .discord-invite-join {
    color: white;
}

/* =============================================================================
   PAUSE MENU - Bouncy bordered card
   ============================================================================= */

.chiptune-theme-may .pause-menu-content {
    background: #FFFFFF;
    border: 4px solid #7CB342;
    border-radius: 20px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .pause-menu-content::before {
    border-color: rgba(124, 179, 66, 0.3);
}

.chiptune-theme-may .pause-menu-scanlines {
    display: none;
}

.chiptune-theme-may .pause-menu-header {
    border-bottom-color: rgba(124, 179, 66, 0.25);
}

.chiptune-theme-may .pause-menu-title {
    color: #1565C0;
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    text-shadow: 2px 2px 0 rgba(124, 179, 66, 0.3);
}

.chiptune-theme-may .pause-menu-subtitle {
    color: #F48FB1;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

.chiptune-theme-may .pause-menu-item {
    color: #1565C0;
    border-bottom-color: rgba(124, 179, 66, 0.15);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.chiptune-theme-may .pause-menu-item:hover {
    background: rgba(124, 179, 66, 0.12);
    color: #689F38;
}

.chiptune-theme-may .pause-menu-item.active {
    color: #689F38;
    background: rgba(124, 179, 66, 0.15);
}

.chiptune-theme-may .pause-menu-cursor {
    color: #F48FB1;
}

.chiptune-theme-may .pause-menu-item-detail {
    border-bottom-color: rgba(124, 179, 66, 0.15);
}

.chiptune-theme-may .pause-menu-item-detail p {
    color: #546E7A;
}

.chiptune-theme-may .pause-menu-item-detail p strong {
    color: #1565C0;
}

.chiptune-theme-may .pause-menu-cta {
    background: #7CB342;
    border: 3px solid #558B2F;
    color: #FFFFFF;
    border-radius: 999px;
    font-family: 'Fredoka', cursive;
    box-shadow: 0 4px 0 rgba(85, 139, 47, 0.4);
}

.chiptune-theme-may .pause-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(85, 139, 47, 0.4);
}

.chiptune-theme-may .pause-menu-resume-btn {
    color: #546E7A;
}

.chiptune-theme-may .pause-menu-resume-btn:hover {
    color: #1565C0;
}

.chiptune-theme-may .newhere-floating-badge:hover {
    color: #689F38;
}

/* =============================================================================
   YEARLY BRACKET OVERRIDES
   ============================================================================= */

.chiptune-theme-may .phase-step {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 12px;
    box-shadow: 0 4px 0 rgba(124, 179, 66, 0.25);
}

.chiptune-theme-may .phase-dot {
    background: #7CB342;
}

.chiptune-theme-may .champion-play-overlay {
    background: rgba(21, 101, 192, 0.7);
}

.chiptune-theme-may .entry-play-btn {
    background: #1565C0;
    color: #FFFFFF;
}

.chiptune-theme-may .champion-title {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .champion-stats .stat-value {
    color: #689F38;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .wildcard-entry .song-name,
.chiptune-theme-may .champion-card .song-title {
    color: #1565C0;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may .group-box {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 14px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .group-entry {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(124, 179, 66, 0.4);
    border-radius: 10px;
}

.chiptune-theme-may .group-entry .song-name {
    color: #1565C0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.chiptune-theme-may .vote-counter .vote-pip {
    background: rgba(124, 179, 66, 0.25);
}

.chiptune-theme-may .yearly-matchup {
    background: #FFFFFF;
    border: 3px solid #7CB342;
    border-radius: 14px;
    box-shadow: var(--may-shadow-bounce);
}

.chiptune-theme-may .yearly-bracket-slot {
    background: #FFFFFF;
    border: 2px solid rgba(124, 179, 66, 0.4);
    border-radius: 10px;
}

.chiptune-theme-may .yearly-bracket-slot.empty {
    background: rgba(187, 222, 251, 0.5);
    border-style: dashed;
}

.chiptune-theme-may .yearly-bracket-slot .slot-title {
    color: #1565C0;
}

.chiptune-theme-may .yearly-bracket-play-btn {
    background: #1565C0;
    color: #FFFFFF;
}

.chiptune-theme-may .yearly-bracket-vote-btn.voted {
    background: linear-gradient(135deg, #F48FB1, #F06292);
    color: #FFFFFF;
}

.chiptune-theme-may .yearly-champ-play {
    background: #1565C0;
    color: #FFFFFF;
}

/* =============================================================================
   PIXEL BACKGROUND - hidden (the body uses may-platform-bg.jpg directly)
   ============================================================================= */

.chiptune-theme-may .pixel-bg {
    background: none;
}

/* =============================================================================
   FONTS
   ============================================================================= */

.chiptune-theme-may h1,
.chiptune-theme-may h2,
.chiptune-theme-may h3 {
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
}

.chiptune-theme-may .player-song-title {
    font-family: 'Fredoka', 'Comic Sans MS', cursive;
    font-weight: 600;
}

.chiptune-theme-may .player-song-artist {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

/* =============================================================================
   SCROLLBAR
   ============================================================================= */

.chiptune-theme-may ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.chiptune-theme-may ::-webkit-scrollbar-track {
    background: #BBDEFB;
    border-radius: 6px;
}

.chiptune-theme-may ::-webkit-scrollbar-thumb {
    background: #7CB342;
    border: 2px solid #BBDEFB;
    border-radius: 6px;
}

.chiptune-theme-may ::-webkit-scrollbar-thumb:hover {
    background: #689F38;
}

.chiptune-theme-may .likes-list::-webkit-scrollbar-track {
    background: rgba(187, 222, 251, 0.5);
}

/* =============================================================================
   SELECTION
   ============================================================================= */

.chiptune-theme-may ::selection {
    background: #FFD54F;
    color: #1565C0;
}

/* =============================================================================
   VOTER AVATAR / LINKS / FOOTER
   ============================================================================= */

.chiptune-theme-may .voter-avatar-placeholder {
    background: #7CB342;
    color: #FFFFFF;
    font-family: 'Fredoka', cursive;
}

.chiptune-theme-may a {
    color: #1976D2;
}

.chiptune-theme-may a:hover {
    color: #689F38;
}

.chiptune-theme-may .chiptune-footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 3px solid #7CB342;
    box-shadow: 0 -4px 0 rgba(124, 179, 66, 0.2);
}

.chiptune-theme-may .chiptune-footer,
.chiptune-theme-may .chiptune-footer p,
.chiptune-theme-may .chiptune-footer span {
    color: #546E7A;
    font-family: 'Nunito', sans-serif;
}

.chiptune-theme-may .chiptune-footer a {
    color: #1976D2;
}

.chiptune-theme-may .chiptune-footer a:hover {
    color: #689F38;
}

/* =============================================================================
   ACCESSIBILITY - Reduced motion
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .chiptune-theme-may .chiptune-header::after {
        animation: none;
    }

    .chiptune-theme-may .song-card.is-playing,
    .chiptune-theme-may .song-card.is-winner::after,
    .chiptune-theme-may .song-card.may-card-jump {
        animation: none;
    }

    .chiptune-theme-may .song-card:hover,
    .chiptune-theme-may .stat-card:hover,
    .chiptune-theme-may .hof-card:hover,
    .chiptune-theme-may .vote-btn:hover:not(:disabled),
    .chiptune-theme-may .player-btn.play-pause:hover,
    .chiptune-theme-may .week-nav-btn:hover:not(.disabled),
    .chiptune-theme-may .pause-menu-cta:hover,
    .chiptune-theme-may .play-btn-large:hover,
    .chiptune-theme-may .hof-btn:hover {
        transform: none;
    }
}

/* =============================================================================
   BACKDROP-FILTER FALLBACK
   ============================================================================= */

@supports not (backdrop-filter: blur(1px)) {
    .chiptune-theme-may .chiptune-player {
        background: #FFFFFF;
    }

    .chiptune-theme-may .chiptune-footer {
        background: #FFFFFF;
    }
}
