/* main.css - główny styl dla całego projektu OZORA */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
  --background-color: #000;
  --card-background: #000;
  --text-color: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: #333;
  --button-border-color: #666;
  --ozora-stage-color: #E63946;
  --dragon-nest-color: #2A9D8F;
  --pumpui-color: #E9C46A;
  --the-dome-color: #8E7DBE;
      --visium-garden-color: #4a90e2;
    --cooking-groove-color: #FF6B35;
    --spotify-color: #1DB954;
  --like-color: #ff4d6d;
  --calendar-color: #4285F4;
  --psychedelic-gradient: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ffbe0b, #fb5607);
  --psychedelic-gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --psychedelic-gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --psychedelic-gradient-4: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --fluo-blue: #00e0ff;
  --timetable-orange: #FFA500;
  --radar-green: #2A9D8F;
  --favorites-red: #E63946;
}

html {
    scroll-behavior: smooth;
    background: var(--background-color);
}

body {
    margin: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--background-color);
    background-image: none;
    font-family: 'Funnel Display', serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
    height: 100%;
}

/* Top bar styles */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 1000;
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    gap: 12px;
}

/* Animacja oka w logo */
.eye-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.eye {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    animation: blink 3s infinite;
}

.iris {
    position: absolute;
    width: 27px;
    height: 27px;
    background: radial-gradient(circle at 30% 30%, #4a90e2, #4a90e2, #4a90e2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: eyeMove 4s infinite ease-in-out, irisPulse 3s infinite ease-in-out;
}

.pupil {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pupilDilate 15s infinite;
    transition: width 2s ease, height 2s ease;
}

.highlight {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 30%;
    left: 35%;
}

.eyelid-top {
    position: absolute;
    width: 40px;
    height: 20px;
    background: #000;
    top: 0;
    left: 0;
    border-radius: 0 0 20px 20px;
    transform-origin: center bottom;
    animation: blinkTop 3s infinite;
}

.eyelid-bottom {
    position: absolute;
    width: 40px;
    height: 20px;
    background: #000;
    bottom: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    transform-origin: center top;
    animation: blinkBottom 3s infinite;
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.05); }
}

@keyframes blinkTop {
    0%, 90%, 100% { transform: scaleY(0); }
    95% { transform: scaleY(1); }
}

@keyframes blinkBottom {
    0%, 90%, 100% { transform: scaleY(0); }
    95% { transform: scaleY(1); }
}

@keyframes eyeMove {
    0%, 20% { transform: translate(-50%, -50%); }
    25% { transform: translate(-40%, -50%); }
    50% { transform: translate(-60%, -50%); }
    75% { transform: translate(-45%, -45%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes pupilDilate {
    0%, 13% { width: 11px; height: 11px; }
    20% { width: 24px; height: 24px; }
    40% { width: 24px; height: 24px; }
    47% { width: 11px; height: 11px; }
    100% { width: 11px; height: 11px; }
}

@keyframes irisPulse {
    0%, 100% { 
        background: radial-gradient(circle at 30% 30%, #4a90e2, #4a90e2, #4a90e2);
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }
    50% { 
        background: radial-gradient(circle at 30% 30%, #5a9ee8, #4a90e2, #3a80d6);
        box-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
    }
}

/* Dodatkowe style dla różnych prędkości mrugania */
.fast-blink {
    animation: blink 0.5s infinite !important;
}

.fast-blink .eyelid-top {
    animation: blinkTop 0.5s infinite !important;
}

.fast-blink .eyelid-bottom {
    animation: blinkBottom 0.5s infinite !important;
}

.slow-blink {
    animation: blink 6s infinite !important;
}

.slow-blink .eyelid-top {
    animation: blinkTop 6s infinite !important;
}

.slow-blink .eyelid-bottom {
    animation: blinkBottom 6s infinite !important;
}

.logo-container:hover {
    transform: scale(1.05);
}

.festival-day-display {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.festival-day-display:hover {
    color: var(--text-color);
}

.current-day-display {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.festival-status {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-container {
    position: relative;
}

/* Ujednolicone style dla wszystkich przycisków */
.search-icon-btn {
    background: #000 !important;
    border: 1px solid var(--button-border-color);
    color: #fff !important;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 6px !important;
    box-shadow: none;
}

.search-icon-btn i {
    color: #fff !important;
    background: transparent !important;
}

.search-icon-btn:hover {
    background: #000 !important;
    border-color: #888 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.search-icon-btn:hover i {
    color: #fff !important;
    background: transparent !important;
}

.menu-button {
    background: transparent;
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 44px;
}

.menu-button:hover {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-button i {
    font-size: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px;
}

.dropdown-menu a:hover {
    background: var(--ozora-stage-color);
    color: white;
}

.install-menu-item {
    background: var(--psychedelic-gradient-2);
    color: white;
    font-weight: bold;
}

.install-menu-item:hover {
    background: var(--psychedelic-gradient-3);
    transform: translateY(-1px);
}

/* Search overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.show {
    opacity: 1;
    visibility: visible;
}

.search-overlay-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-overlay-input {
    flex: 1;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 16px 20px;
    border-radius: 25px;
    font-size: 18px;
    outline: none;
    transition: all 0.3s ease;
}

.search-overlay-input:focus {
    border-color: var(--ozora-stage-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-results {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.search-suggestion {
    padding: 12px 16px;
    background: var(--card-background);
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid var(--ozora-stage-color);
}

/* Stage-specific search suggestion colors */
.search-suggestion.ozora-stage {
    border-left-color: var(--ozora-stage-color);
}

.search-suggestion.dragon-nest {
    border-left-color: var(--dragon-nest-color);
}

.search-suggestion.pumpui {
    border-left-color: var(--pumpui-color);
}

.search-suggestion.the-dome {
    border-left-color: var(--the-dome-color);
}

.search-suggestion.visium-garden {
    border-left-color: var(--visium-garden-color);
}

.search-suggestion.cooking-groove {
    border-left-color: var(--cooking-groove-color);
}

.search-suggestion:hover {
    background: var(--ozora-stage-color);
    color: white;
}

.search-suggestion.ozora-stage:hover {
    background: var(--ozora-stage-color);
}

.search-suggestion.dragon-nest:hover {
    background: var(--dragon-nest-color);
}

.search-suggestion.pumpui:hover {
    background: var(--pumpui-color);
}

.search-suggestion.the-dome:hover {
    background: var(--the-dome-color);
}

.search-suggestion.visium-garden:hover {
    background: var(--visium-garden-color);
}

.search-suggestion.cooking-groove:hover {
    background: var(--cooking-groove-color);
}

.search-suggestion-artist {
    font-weight: bold;
    margin-bottom: 4px;
}

.search-suggestion-details {
    font-size: 14px;
    color: var(--text-muted);
}

/* Favorites Page Styles */
.favorites-container {
  width: 100%;
  max-width: none;
  padding: 0 0 120px 0;
  margin: 0;
}

.favorites-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #E63946;
  font-size: 2rem;
}

.favorites-info {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

.favorites-info p {
  margin: 10px 0;
}

.favorites-list {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.favorites-list .schedule-card {
  padding: 20px;
}

.favorite-item {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}

.favorite-item:hover {
  box-shadow: 0 4px 24px rgba(230,57,70,0.12);
}

.favorite-item h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.favorite-item .stage-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: inline-block;
}

.favorite-item .ozora-stage-color { color: var(--ozora-stage-color); }
.favorite-item .dragon-nest-color { color: var(--dragon-nest-color); }
.favorite-item .pumpui-color { color: var(--pumpui-color); }
.favorite-item .the-dome-color { color: var(--the-dome-color); }
.favorite-item .visium-garden-color { color: var(--visium-garden-color); }
.favorite-item .cooking-groove-color { color: var(--cooking-groove-color); }

/* Przyciski dni jak na timetable */
.favorites-day-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  margin-bottom: 16px;
  justify-content: flex-start;
  position: sticky;
  top: 64px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.95);
  padding: 8px 0 0 0;
}
.favorites-day-btn {
  background: transparent;
  border: 1px solid var(--button-border-color);
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.favorites-day-btn.active {
  background: transparent;
  color: var(--text-color);
  border-color: #888;
}
.favorites-warning {
  background: var(--pumpui-color);
  color: #E63946;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  border-radius: 16px;
  margin: 16px 24px 24px 24px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(255, 200, 0, 0.12);
  letter-spacing: 0.5px;
  border: 2px dashed #E63946;
}

/* Bottom menu - visible on all devices */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
    display: block;
    box-sizing: border-box;
}

.mobile-menu-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 60px;
    max-width: 80px;
    flex: 1;
    box-sizing: border-box;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: var(--ozora-stage-color);
    background: rgba(230, 57, 70, 0.1);
}

.mobile-menu-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 120px 16px;
    width: 100%;
    box-sizing: border-box;
}

#countdown-timer {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0 2rem 0;
    color: var(--text-color);
    padding: 1rem;
    background: var(--psychedelic-gradient);
    border-radius: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    100% {
        box-shadow: 0 8px 32px rgba(230, 57, 70, 0.4);
    }
}

#now-playing-container {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

#now-playing-container h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.now-playing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.now-playing-stage {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 24px 6px 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Gradienty dla każdej sceny */
.now-playing-stage.ozora-stage {
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.3) 0%, rgba(230, 57, 70, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage.dragon-nest {
    background: radial-gradient(circle at top right, rgba(42, 157, 143, 0.3) 0%, rgba(42, 157, 143, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage.pumpui {
    background: radial-gradient(circle at top right, rgba(233, 196, 106, 0.3) 0%, rgba(233, 196, 106, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage.the-dome {
    background: radial-gradient(circle at top right, rgba(142, 125, 190, 0.3) 0%, rgba(142, 125, 190, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage.visium-garden {
    background: radial-gradient(circle at top right, rgba(74, 144, 226, 0.3) 0%, rgba(74, 144, 226, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage.cooking-groove {
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.now-playing-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.8;
    z-index: -1;
}

.now-playing-stage.ozora-stage::before {
    background: var(--ozora-stage-color);
}

.now-playing-stage.dragon-nest::before {
    background: var(--dragon-nest-color);
}

.now-playing-stage.pumpui::before {
    background: var(--pumpui-color);
}

.now-playing-stage.the-dome::before {
    background: var(--the-dome-color);
}

.now-playing-stage.visium-garden::before {
    background: var(--visium-garden-color);
}

.now-playing-stage.cooking-groove::before {
    background: var(--cooking-groove-color);
}

.now-playing-stage strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: pulse-bar 1.5s infinite;
}

.now-playing-artist {
    font-size: 20px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.now-playing-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 6px;
    background-color: #333;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-inner {
    height: 100%;
    background: var(--psychedelic-gradient-4);
    transition: width 1s linear;
    border-radius: 3px;
}

/* Stage-specific progress bar colors */
.now-playing-stage.ozora-stage .progress-bar-inner {
    background: var(--ozora-stage-color);
}

.now-playing-stage.dragon-nest .progress-bar-inner {
    background: var(--dragon-nest-color);
}

.now-playing-stage.pumpui .progress-bar-inner {
    background: var(--pumpui-color);
}

.now-playing-stage.the-dome .progress-bar-inner {
    background: var(--the-dome-color);
}

.now-playing-stage.visium-garden .progress-bar-inner {
    background: var(--visium-garden-color);
}

.now-playing-stage.cooking-groove .progress-bar-inner {
    background: var(--cooking-groove-color);
}

/* Stage-specific header colors */
.now-playing-stage.ozora-stage strong {
    color: var(--ozora-stage-color);
}

.now-playing-stage.dragon-nest strong {
    color: var(--dragon-nest-color);
}

.now-playing-stage.pumpui strong {
    color: var(--pumpui-color);
}

.now-playing-stage.the-dome strong {
    color: var(--the-dome-color);
}

.now-playing-stage.visium-garden strong {
    color: var(--visium-garden-color);
}

.now-playing-stage.cooking-groove strong {
    color: var(--cooking-groove-color);
}

.time-remaining {
    display: block;
    font-size: 1rem;
    color: var(--like-color);
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.next-artist {
    padding-top: 0.5rem;
    border-top: 1px solid #3a3a3a;
}

.next-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.next-artist-name {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.next-artist-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.next-countdown {
    font-size: 0.7rem;
    color: var(--like-color);
    font-weight: bold;
    background: rgba(255, 77, 109, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.np-next {
    padding-top: 0.5rem;
    border-top: 1px solid #3a3a3a;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.no-performance {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ozora-stage-color {
    color: var(--ozora-stage-color);
}

.dragon-nest-color {
    color: var(--dragon-nest-color);
}

.pumpui-color {
    color: var(--pumpui-color);
}

.the-dome-color {
    color: var(--the-dome-color);
}

.visium-garden-color {
    color: var(--visium-garden-color);
}

.controls-panel {
    position: sticky;
    top: 60px; /* Wysokość header + padding */
    background: #000000;
    z-index: 999;
    padding: 1rem 0 0 0;
    margin-bottom: 20px;
    min-height: 100px;
}

.search-container {
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#search-input {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    background: var(--card-background);
    color: var(--text-color);
    box-sizing: border-box;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
}

#search-input:focus {
    outline: none;
    border-color: var(--ozora-stage-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

#search-input::placeholder {
    color: var(--text-muted);
}

.favorites-icon-btn {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.favorites-icon-btn:hover {
    background: var(--like-color);
    border-color: var(--like-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.favorites-icon-btn.active {
    background: var(--like-color);
    border-color: var(--like-color);
    color: white;
    box-shadow: 0 0 15px var(--like-color);
}

#stage-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.stage-btn,
#top-artists-btn {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--button-border-color);
    background: transparent;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stage-btn::before,
#top-artists-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stage-btn:hover::before,
#top-artists-btn:hover::before {
    left: 100%;
}

.stage-btn:hover,
#top-artists-btn:hover {
    transform: translateY(-1px);
    color: var(--text-color);
    border-color: #888;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stage-btn.active {
    color: var(--text-color);
    transform: translateY(-1px);
    border-color: #888;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#top-artists-btn.active {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
}

.stage-btn[data-stage="OZORA STAGE"].active {
    background: var(--ozora-stage-color) !important;
    border-color: var(--ozora-stage-color);
    animation: pulse-bar 1.5s infinite;
}

.stage-btn[data-stage="DRAGON NEST"].active {
    background: var(--dragon-nest-color) !important;
    border-color: var(--dragon-nest-color);
    animation: pulse-bar 1.5s infinite;
}

.stage-btn[data-stage="PUMPUI"].active {
    background: var(--pumpui-color) !important;
    border-color: var(--pumpui-color);
    color: #000000 !important;
    animation: pulse-bar 1.5s infinite;
}

.stage-btn[data-stage="THE DOME"].active {
    background: var(--the-dome-color) !important;
    border-color: var(--the-dome-color);
    animation: pulse-bar 1.5s infinite;
}

.stage-btn[data-stage="VISIUM GARDEN"].active {
    background: var(--visium-garden-color) !important;
    border-color: var(--visium-garden-color);
    animation: pulse-bar 1.5s infinite;
}

.stage-btn[data-stage="COOKING GROOVE"].active {
    background: var(--cooking-groove-color) !important;
    border-color: var(--cooking-groove-color);
    animation: pulse-bar 1.5s infinite;
}

#day-navigation-container {
    background: #000000;
    padding: 10px 0;
    margin-bottom: 20px;
    min-height: 50px;
}

.day-nav-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.day-nav-menu::-webkit-scrollbar {
    display: none;
}
.day-nav-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin: 0;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--button-border-color);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    white-space: nowrap;
    min-height: 44px;
}
.day-nav-btn:hover {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
    transform: translateY(-1px);
}
.day-nav-btn.active {
    background: var(--current-stage-color) !important;
    border-color: var(--current-stage-color);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulse-bar 1.5s infinite;
}

/* Specjalne kolory dla różnych scen */
body:not(.cooking-groove):not(.pumpui) .day-nav-btn.active {
    color: #ffffff !important;
}

/* Dla Cooking Groove - czarny tekst na pomarańczowym tle */
body.cooking-groove .day-nav-btn.active {
    color: #000000 !important;
}

/* Dla Pumpui - czarny tekst na żółtym tle */
body.pumpui .day-nav-btn.active {
    color: #000000 !important;
}

#schedule-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
    padding-bottom: 0;
    min-height: 2000px; /* Wymuś wysokość do scrollowania */
}

#schedule-container h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    text-align: center;
}

.day-group {
    position: relative;
    overflow: hidden;
}

.day-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--psychedelic-gradient);
}

.day-group h2 {
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.4rem;
    color: var(--text-color);
    text-align: left;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.schedule-card {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.8;
    z-index: -1;
}

.schedule-card:hover::before {
    transform: translateX(100%);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.schedule-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.3rem;
    line-height: 1.3;
}

.schedule-card h3 a {
    color: inherit;
    text-decoration: none;
}

.card-info {
    margin: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-info strong {
    color: var(--text-color);
}

.card-info .date-display {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.spotify-btn {
  background: #000000;
  color: #1DB954;
  border: 1px solid #1DB954;
  border-radius: 20px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 36px;
  flex-grow: 1;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  gap: 6px;
}
.spotify-btn i {
  font-size: 1.1em;
  color: #1DB954;
}
.spotify-btn span {
  font-size: 14px;
  color: #1DB954;
  font-weight: 500;
}
.spotify-btn:hover, .spotify-btn:focus {
  background: #1a1a1a;
  color: #1DB954;
  border-color: #1ed760;
  box-shadow: 0 2px 12px rgba(29, 185, 84, 0.3);
}

.calendar-btn {
  background: #000000;
  color: #4a90e2;
  border: 1px solid #4a90e2;
  border-radius: 20px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 36px;
  flex-grow: 1;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  gap: 6px;
}
.calendar-btn i {
  font-size: 1.1em;
  color: #4a90e2;
}
.calendar-btn span {
  font-size: 14px;
  color: #4a90e2;
  font-weight: 500;
}
.calendar-btn:hover, .calendar-btn:focus {
  background: #1a1a1a;
  color: #4a90e2;
  border-color: #5a9ee8;
  box-shadow: 0 2px 12px rgba(74, 144, 226, 0.3);
}

.favorite-btn {
  background: #000000;
  color: #ff4d6d;
  border: 1px solid #ff4d6d;
  border-radius: 20px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 36px;
  flex-grow: 1;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
  gap: 6px;
}
.favorite-btn i {
  font-size: 16px;
  color: #ff4d6d;
}
.favorite-btn span {
  font-size: 14px;
  color: #ff4d6d;
  font-weight: 500;
}
.favorite-btn:hover, .favorite-btn:focus {
  background: #1a1a1a;
  color: #ff4d6d;
  border-color: #ff6b8a;
  box-shadow: 0 2px 12px rgba(255, 77, 109, 0.3);
}

/* Nieaktywny stan - szary */
.favorite-btn:not(.favorited) {
  border-color: #666666;
  color: #666666;
}
.favorite-btn:not(.favorited) i {
  color: #666666;
}
.favorite-btn:not(.favorited) span {
  color: #666666;
}
.favorite-btn:not(.favorited):hover {
  border-color: #888888;
  color: #888888;
}
.favorite-btn:not(.favorited):hover i {
  color: #888888;
}
.favorite-btn:not(.favorited):hover span {
  color: #888888;
}

.favorite-btn .fa-star {
    font-size: 1.1em;
    transition: none;
}
.favorite-btn:hover,
.favorite-btn:focus {
    border-color: #888;
    color: var(--text-color);
    background: transparent;
}
.favorite-btn.favorited .fa-star {
    color: var(--text-color);
}
/* Usunięto powiększanie ikony i transformacje */

.schedule-card.ozora-stage {
    border-left-color: var(--ozora-stage-color);
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.3) 0%, rgba(230, 57, 70, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.ozora-stage h3 {
    color: var(--ozora-stage-color);
}

.schedule-card.dragon-nest {
    border-left-color: var(--dragon-nest-color);
    background: radial-gradient(circle at top right, rgba(42, 157, 143, 0.3) 0%, rgba(42, 157, 143, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.dragon-nest h3 {
    color: var(--dragon-nest-color);
}

.schedule-card.pumpui {
    border-left-color: var(--pumpui-color);
    background: radial-gradient(circle at top right, rgba(233, 196, 106, 0.3) 0%, rgba(233, 196, 106, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.pumpui h3 {
    color: var(--pumpui-color);
}

.schedule-card.the-dome {
    border-left-color: var(--the-dome-color);
    background: radial-gradient(circle at top right, rgba(142, 125, 190, 0.3) 0%, rgba(142, 125, 190, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.the-dome h3 {
    color: var(--the-dome-color);
}

.schedule-card.visium-garden {
    border-left-color: var(--visium-garden-color);
    background: radial-gradient(circle at top right, rgba(74, 144, 226, 0.3) 0%, rgba(74, 144, 226, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.visium-garden h3 {
    color: var(--visium-garden-color);
}

.schedule-card.cooking-groove {
    border-left-color: var(--cooking-groove-color);
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0.1) 30%, rgba(0, 0, 0, 0) 60%, #000 100%);
}

.schedule-card.cooking-groove h3 {
    color: var(--cooking-groove-color);
}

/* Timeline View Styles */
.timeline-layout {
    display: flex;
    gap: 1rem;
}

.time-ruler {
    flex: 0 0 60px;
    position: relative;
    border-right: 2px solid var(--border-color);
}

.time-marker {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    height: 1px;
}

.time-marker span {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-right: 0.5rem;
    transform: translateY(-50%);
}

.time-marker::after {
    content: '';
    display: block;
    width: 10px;
    height: 1px;
    background-color: var(--text-muted);
}

.time-marker.half-hour {
    justify-content: flex-end;
}

.time-marker.half-hour::after {
    width: 5px;
    background-color: var(--border-color);
}

.time-marker.half-hour span {
    display: none;
}

.timeline-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.timeline-content>.schedule-card {
    /* Usunięto position: absolute; i top */
    width: calc(100% - 4px);
    height: auto;
    min-height: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0.75rem;
}

.timeline-content>.schedule-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transform: scale(1.02);
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    .main-container {
        padding-top: 48px; /* wysokość headera */
    }
    /* Mobile bottom menu is now always visible */

    .now-playing-grid {
        grid-template-columns: 1fr;
    }

    #stage-filters {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .stage-btn {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 0.5rem 0;
        font-size: 1rem;
        white-space: nowrap;
    }

    .artist-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 6px 12px;
    }

    .festival-status {
        font-size: 11px;
    }

    .menu-button span {
        display: none;
    }

    .menu-button {
        padding: 8px 12px;
        min-width: 44px;
        height: 40px;
    }

    .search-icon-btn {
        width: 40px;
        height: 40px;
    }

    .festival-day-display {
        font-size: 12px;
        padding: 0 !important;
    }

    .logo-container {
        gap: 8px;
    }

    .current-day-display {
        font-size: 10px;
    }

    .card-actions {
        flex-direction: row;
        gap: 0.25rem;
    }

    .spotify-btn,
    .calendar-btn,
    .like-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-height: 32px;
        flex: 1;
    }

    .day-nav-menu {
        gap: 4px;
        padding-left: 2px;
        padding-right: 2px;
    }
    .day-nav-btn {
        min-width: 0;
        max-width: none;
        font-size: 1rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    #stage-filters {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: row;
        gap: 0.25rem;
    }

    .spotify-btn,
    .calendar-btn,
    .like-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
        min-height: 30px;
        flex: 1;
    }

    .now-playing-grid {
        grid-template-columns: 1fr;
    }
}

/* Show search container in controls panel */
.search-container {
    display: flex;
}

.mobile-menu-item.ozora-stage-menu {
    color: var(--ozora-stage-color);
}
.mobile-menu-item.dragon-nest-menu {
    color: var(--dragon-nest-color);
}
.mobile-menu-item.pumpui-menu {
    color: var(--pumpui-color);
}
.mobile-menu-item.the-dome-menu {
    color: var(--the-dome-color);
}
.mobile-menu-item.live-menu {
    color: var(--fluo-blue);
}
.mobile-menu-item.favorites-menu {
    color: var(--favorites-red);
}
.mobile-menu-item.ozora-stage-menu.active {
    background: rgba(230, 57, 70, 0.1);
}
.mobile-menu-item.dragon-nest-menu.active {
    background: rgba(42, 157, 143, 0.1);
}
.mobile-menu-item.pumpui-menu.active {
    background: rgba(233, 196, 106, 0.1);
}
.mobile-menu-item.the-dome-menu.active {
    background: rgba(142, 125, 190, 0.1);
}
.mobile-menu-item.live-menu.active {
    background: rgba(0,224,255,0.12);
    color: var(--fluo-blue);
}
.mobile-menu-item.favorites-menu.active {
    background: rgba(230,57,70,0.13);
    color: var(--favorites-red);
}

.menu-svg-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}
.menu-svg-wrap svg {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    transition: transform 0.7s linear;
}
.mobile-menu-item.active .menu-svg-wrap svg {
    animation: rotate360 1.2s linear infinite;
}
@keyframes rotate360 {
    100% { transform: rotate(360deg); }
}

.np-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}
.np-main {
    font-weight: bold;
    margin-bottom: 2px;
}
.np-artist { 
    font-weight: bold; 
    font-size: 20px;
}
.np-time { color: #aaa; font-size: 0.98em; }
.np-remaining { font-size: 0.9em; color: #888; margin-bottom: 2px; }
.time-remaining { float: right; color: #888; font-size: 0.9em; }
.np-next { 
    font-size: 0.95em; 
    margin-top: 2px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}
.next-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.next-label { 
    color: #888; 
    font-size: 0.9em; 
    font-weight: bold;
}
.next-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.next-artist-name { 
    font-weight: bold; 
    color: var(--text-color); 
    font-size: 14px;
}
.next-artist-time { 
    color: #aaa; 
    font-size: 0.9em; 
}
.np-next-when { font-size: 0.9em; color: #fff; justify-content: flex-end; }
.next-countdown { 
    color: #e23946; 
    font-size: 0.85em; 
    font-weight: bold;
}

.now-playing-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  user-select: none;
  touch-action: pan-x;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s;
}
.slider-dot.active {
  background: var(--ozora-stage-color);
  opacity: 1;
  width: 16px;
  height: 16px;
  box-shadow: 0 0 6px var(--ozora-stage-color);
}
.sticky-time-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}
.timeline-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}
.timeline-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@keyframes pulse-bar {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
  100% { filter: brightness(1); }
}
.progress-bar-inner.pulsing {
  animation: pulse-bar 1.5s infinite;
}

.remove-favorite-btn {
  background: #000000;
  color: #ffffff;
  border: 2px solid #ff4d6d;
  border-radius: 20px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 36px;
  flex-grow: 1;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  outline: none;
}
.remove-favorite-btn i {
  font-size: 1.1em;
  color: #ffffff;
}
.remove-favorite-btn:hover, .remove-favorite-btn:focus {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #ff6b8a;
  box-shadow: 0 2px 12px rgba(255, 77, 109, 0.3);
}

/* Ikona zegarka konfliktu */
.conflict-clock {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  color: #E63946;
  font-size: 1.2em;
  animation: clock-tap 1s infinite;
}
@keyframes clock-tap {
  0% { transform: rotate(-10deg); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.mobile-menu-item.active {
  color: #fff;
  box-shadow: 0 0 16px 0 rgba(0,0,0,0.18);
  font-weight: bold;
}
.mobile-menu-item.live-menu.active {
  background: rgba(0,224,255,0.12);
  color: var(--fluo-blue);
}
.mobile-menu-item.timetable-menu {
  color: var(--timetable-orange);
}
.mobile-menu-item.radar-menu {
  color: var(--radar-green);
}
.mobile-menu-item.favorites-menu {
  color: var(--favorites-red);
}
.mobile-menu-item.timetable-menu.active {
  background: rgba(255,165,0,0.13);
  color: var(--timetable-orange);
}
.mobile-menu-item.radar-menu.active {
  background: rgba(42,157,143,0.13);
  color: var(--radar-green);
}
.mobile-menu-item.favorites-menu.active {
  background: rgba(230,57,70,0.13);
  color: var(--favorites-red);
}

/* Animacje ikon */
.mobile-menu-item .menu-svg-wrap svg,
.mobile-menu-item .menu-svg-wrap i {
  transition: transform 0.3s;
}

/* Live: obrót + puls */
@keyframes pulse-rotate {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.12) rotate(72deg); }
  40% { transform: scale(0.96) rotate(144deg); }
  60% { transform: scale(1.10) rotate(216deg); }
  80% { transform: scale(0.98) rotate(288deg); }
  100% { transform: scale(1) rotate(360deg); }
}
.mobile-menu-item.live-menu.active .menu-svg-wrap svg,
.mobile-menu-item.live-menu.active .menu-svg-wrap i {
  animation: pulse-rotate 1.2s infinite linear;
}

/* Radar: pulsowanie */
@keyframes radar-pulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.18); filter: brightness(1.5); }
  100% { transform: scale(1); filter: brightness(1); }
}
.mobile-menu-item.radar-menu.active .menu-svg-wrap svg,
.mobile-menu-item.radar-menu.active .menu-svg-wrap i {
  animation: radar-pulse 1.1s infinite;
}

/* Favorites: obrót 3D */
@keyframes spin-3d {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.mobile-menu-item.favorites-menu.active .menu-svg-wrap svg,
.mobile-menu-item.favorites-menu.active .menu-svg-wrap i {
  animation: spin-3d 1.2s infinite linear;
}

#radar-wrap {
  width: 100%;
  max-width: 100vw;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
#radar-wrap svg#radar {
  width: 100%;
  height: auto;
  max-width: 100vw;
  max-height: 100vw;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  #radar-wrap {
    width: 100%;
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    border-radius: 0;
  }
  #radar-wrap svg#radar {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: 100vw;
  }
}

/* About page styles */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
}

.about-section {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.about-section h2 {
  color: #E63946;
  margin-bottom: 15px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h3 {
  color: #F4A261;
  margin: 20px 0 10px 0;
  font-size: 1.2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 20px;
}

.feature-list li:before {
  content: "✓";
  color: #2A9D8F;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

.privacy-highlight {
  background: rgba(42, 157, 143, 0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #2A9D8F;
  margin: 15px 0;
}

.back-button {
    background: transparent;
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.back-button:hover {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-button i {
    font-size: 16px;
}

/* Mobile styles for about page */
@media (max-width: 768px) {
  .about-container {
    padding: 10px;
  }
  
  .about-section {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .about-section h2 {
    font-size: 1.3rem;
  }
  
  .about-section h3 {
    font-size: 1.1rem;
  }
}

.install-instructions {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid #4285F4;
}

.install-instructions h3 {
  color: #4285F4;
  margin-top: 20px;
  margin-bottom: 10px;
}

.install-instructions h3:first-child {
  margin-top: 0;
}

.install-instructions ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.install-instructions li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.install-note {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 6px;
  padding: 15px;
  margin-top: 20px;
}

.install-note p {
  margin: 0;
  color: #FFC107;
}

.android-install-button {
  text-align: center;
  margin: 20px 0;
}

.install-btn {
    background: transparent;
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin: 8px 0;
}

.install-btn:hover {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.install-btn:active {
    transform: translateY(0);
}

.install-btn i {
    font-size: 16px;
}

.install-btn-note {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

.android-btn {
    background: transparent;
    border: 1px solid var(--button-border-color);
    color: var(--text-color);
}

.android-btn:hover {
    background: transparent;
    border-color: #888;
    color: var(--text-color);
}

/* Ukryj przycisk Install App na stronie About */
.about-container ~ .mobile-bottom-menu .install-menu-item,
.about-container ~ .dropdown-menu .install-menu-item,
.about-container ~ .menu-container .install-menu-item {
  display: none !important;
}

/* Alternatywnie - ukryj na stronie about.html */
body:has(.about-container) .install-menu-item {
  display: none !important;
}

body.cooking-groove #day-navigation-container {
    --current-stage-color: var(--cooking-groove-color);
}

/* Glitch effect for LIVE STAGES header */
.glitch {
    color: white;
    font-size: 1.3rem;
    position: relative;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}

@keyframes noise-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    15% { clip: rect(42px, 9999px, 73px, 0); }
    20% { clip: rect(63px, 9999px, 27px, 0); }
    25% { clip: rect(34px, 9999px, 55px, 0); }
    30% { clip: rect(86px, 9999px, 73px, 0); }
    35% { clip: rect(20px, 9999px, 20px, 0); }
    40% { clip: rect(26px, 9999px, 60px, 0); }
    45% { clip: rect(25px, 9999px, 66px, 0); }
    50% { clip: rect(57px, 9999px, 98px, 0); }
    55% { clip: rect(5px, 9999px, 46px, 0); }
    60% { clip: rect(82px, 9999px, 31px, 0); }
    65% { clip: rect(54px, 9999px, 27px, 0); }
    70% { clip: rect(28px, 9999px, 99px, 0); }
    75% { clip: rect(99px, 9999px, 38px, 0); }
    80% { clip: rect(61px, 9999px, 85px, 0); }
    85% { clip: rect(23px, 9999px, 68px, 0); }
    90% { clip: rect(85px, 9999px, 84px, 0); }
    95% { clip: rect(91px, 9999px, 51px, 0); }
    100% { clip: rect(60px, 9999px, 87px, 0); }
}

.glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 red;
    top: 0;
    color: white;
    background: black;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
    width: 100%;
    text-align: center;
}

@keyframes noise-anim-2 {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    5% { clip: rect(76px, 9999px, 86px, 0); }
    10% { clip: rect(25px, 9999px, 154px, 0); }
    15% { clip: rect(89px, 9999px, 98px, 0); }
    20% { clip: rect(83px, 9999px, 73px, 0); }
    25% { clip: rect(109px, 9999px, 27px, 0); }
    30% { clip: rect(29px, 9999px, 60px, 0); }
    35% { clip: rect(106px, 9999px, 99px, 0); }
    40% { clip: rect(137px, 9999px, 61px, 0); }
    45% { clip: rect(96px, 9999px, 123px, 0); }
    50% { clip: rect(15px, 9999px, 42px, 0); }
    55% { clip: rect(34px, 9999px, 73px, 0); }
    60% { clip: rect(66px, 9999px, 112px, 0); }
    65% { clip: rect(47px, 9999px, 145px, 0); }
    70% { clip: rect(17px, 9999px, 35px, 0); }
    75% { clip: rect(124px, 9999px, 29px, 0); }
    80% { clip: rect(79px, 9999px, 103px, 0); }
    85% { clip: rect(61px, 9999px, 85px, 0); }
    90% { clip: rect(23px, 9999px, 68px, 0); }
    95% { clip: rect(85px, 9999px, 84px, 0); }
    100% { clip: rect(91px, 9999px, 51px, 0); }
}

.glitch:before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 blue;
    top: 0;
    color: white;
    background: black;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
    width: 100%;
    text-align: center;
}

.now-playing-stage {
  position: relative;
}

.live-fav-heart {
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--like-color);
  font-size: 2em;
  z-index: 2;
  animation: heart-pulse 1.2s infinite;
  pointer-events: none;
  user-select: none;
}
.live-fav-heart::before {
  content: '❤';
  display: block;
}
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  20% { transform: scale(1.15); opacity: 0.9; }
  40% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.2); opacity: 1; }
  80% { transform: scale(0.9); opacity: 0.9; }
}

/* Workshops menu item */
.mobile-menu-item.workshops-menu {
    color: #8E7DBE;
}

.mobile-menu-item.workshops-menu.active {
    color: #8E7DBE;
}

/* Map menu item */
.mobile-menu-item.map-menu {
    color: #ffffff;
}

.mobile-menu-item.map-menu.active {
    color: #ffffff;
}

/* Coffee Section Styles */
.coffee-section {
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin: 20px 16px 0 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coffee-button {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
}

.coffee-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.coffee-button img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments for coffee section */
@media (max-width: 768px) {
    .coffee-section {
        padding: 20px 16px;
        margin: 15px 12px 0 12px;
    }
}

@media (max-width: 480px) {
    .coffee-section {
        padding: 15px 12px;
        margin: 10px 8px 0 8px;
    }
}

