/* ====================================================================
   ŽABA BRNO 2026 - Oficiální mobilní webová aplikace
   Design System & Styling
   Font: IBM Plex Mono
   Primary Theme: #021a0b (Forest Dark), #84cc16 (Frog Green)
   ==================================================================== */

/* IBM Plex Mono se načítá z vlastního serveru (css/fonts.css), ne z Googlu */

:root {
  --color-bg-dark: #021a0b;
  --color-card-bg: rgba(9, 36, 17, 0.92);
  --app-bg-image: url('../assets/images/bg.jpg');
  --app-bg-opacity: 0.45;
  
  /* Barevná paleta sekcí */
  --color-zaba-green: #84cc16;
  --color-zaba-green-glow: rgba(132, 204, 22, 0.4);
  
  --color-gold: #f59e0b;
  --color-gold-glow: rgba(245, 158, 11, 0.4);
  
  --color-orange: #fb923c;
  --color-orange-glow: rgba(251, 146, 60, 0.4);
  
  --color-yellow: #facc15;
  --color-yellow-glow: rgba(250, 204, 21, 0.4);
  
  --color-purple: #c084fc;
  --color-purple-glow: rgba(192, 132, 252, 0.4);
  
  --color-spotify: #4ade80;
  --color-spotify-glow: rgba(74, 222, 128, 0.4);
  
  --color-blue: #60a5fa;
  --color-blue-glow: rgba(96, 165, 250, 0.4);
  
  --color-teal: #2dd4bf;
  --color-teal-glow: rgba(45, 212, 191, 0.4);
  
  --color-red: #f87171;
  --color-red-glow: rgba(248, 113, 113, 0.4);
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --app-max-width: 440px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--app-bg-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: var(--app-bg-opacity);
  filter: contrast(1.15) brightness(0.85);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 20%, rgba(2, 26, 11, 0.88) 90%);
  z-index: 0;
  pointer-events: none;
}

.app-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--app-max-width);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 14px 14px 40px;
  display: flex;
  flex-direction: column;
}

/* Offline Banner */
.offline-banner {
  display: none;
  background: linear-gradient(135deg, #b45309, #78350f);
  color: #fef3c7;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.offline-banner.active { display: block; }

/* ====================================================================
   1. HLAVIČKA A LOGO (ZMENŠENÉ S ANIMACÍ)
   ==================================================================== */
.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 12px;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.logo-wrapper:active { transform: scale(0.92); }

.logo-img {
  width: 165px;
  max-width: 50vw;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
  animation: logoFloat 5s ease-in-out infinite;
}

.logo-wrapper.easter-egg .logo-img {
  animation: frogFlip 0.8s ease-in-out !important;
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: rgba(132, 204, 22, 0.12);
  border: 1px solid var(--color-zaba-green);
  color: var(--color-zaba-green);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.22, 0.8, 0.24, 1), box-shadow 0.2s ease, background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) { .event-date-badge:hover {
  transform: scale(1.05);
  box-shadow: none;
  background: rgba(132, 204, 22, 0.2);
} }

.event-date-badge:active {
  transform: scale(0.94);
}

.badge-bounce {
  animation: badgeBounceAnim 0.55s cubic-bezier(0.22, 0.8, 0.24, 1) !important;
}

@keyframes badgeBounceAnim {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  75% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.live-indicator-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-zaba-green);
  border-radius: 50%;
  box-shadow: none;
  animation: pulseDot 2s infinite;
}

/* ====================================================================
   SDÍLENÍ A INSTAGRAM
   ==================================================================== */
.actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-main);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px);
}
@media (hover: hover) and (pointer: fine) { .action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
} }
.action-btn:active { transform: scale(0.97); }

/* ====================================================================
   AKTUÁLNÍ ZPRÁVA ORGANIZÁTORŮ (VÝRAZNÁ DLAŽDICE Z CMS)
   ==================================================================== */
.announcement-card {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.85), rgba(6, 26, 12, 0.95));
  border: 1.5px solid var(--color-zaba-green);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: glowPulseCard 4s ease-in-out infinite;
}

/* 4.1: boční pruh odstraněn (redesign) */

.announcement-card.style-info {
  border-color: var(--color-zaba-green);
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.85), rgba(6, 26, 12, 0.95));
  box-shadow: none;
}
.announcement-card.style-info::before {
  background: var(--color-zaba-green);
}
.announcement-card.style-info .announcement-tag {
  color: var(--color-zaba-green);
}

.announcement-card.style-alert {
  border-color: var(--color-red);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.88), rgba(40, 10, 10, 0.96));
  box-shadow: none;
}
.announcement-card.style-alert::before {
  background: var(--color-red);
}
.announcement-card.style-alert .announcement-tag {
  color: #fca5a5;
}

.announcement-card.style-festive {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.88), rgba(45, 20, 5, 0.96));
  box-shadow: none;
}
.announcement-card.style-festive::before {
  background: linear-gradient(to bottom, #fbbf24, #d97706);
}
.announcement-card.style-festive .announcement-tag {
  color: #fbbf24;
}

.announcement-card.style-normal {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.96));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.announcement-card.style-normal::before {
  background: #94a3b8;
}
.announcement-card.style-normal .announcement-tag {
  color: #cbd5e1;
}

.announcement-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  text-align: center;
}

.announcement-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-text {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
}

/* ====================================================================
   DLAŽDICE: AUTOMATICKÉ SKLÁDÁNÍ (DENSE CSS GRID BEZ PRÁZDNÝCH MÍST)
   ==================================================================== */
.tiles-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
  margin-bottom: 24px;
}

/* Plná šířka (2 sloupce): Nominace, ŽABA QUEST, Program, Místo konání */
.tile-nomination,
.tile-quest,
.tile-program,
.tile-location {
  grid-column: 1 / -1;
}

/* Poloviční šířka (1 sloupec): Vstupné, Menu, Tombola, Playlist, Info, Feedback */
.tile-tickets,
.tile-menu,
.tile-raffle,
.tile-songs,
.tile-info,
.tile-feedback {
  grid-column: span 1;
}

/* Dynamické uspořádání dlaždic řízené z CMS */
.tile.tile-span-1 {
  grid-column: span 1 !important;
}

.tile.tile-span-2 {
  grid-column: 1 / -1 !important;
}

/* Dynamické animace ikon z CMS */
.anim-none { animation: none !important; }
.anim-float { animation: iconFloat 4s ease-in-out infinite !important; }
.anim-wiggle { animation: iconWiggle 3.5s ease-in-out infinite !important; }
.anim-pulse { animation: iconPulse 3s ease-in-out infinite !important; }
.anim-bell { animation: bellRing 3s ease-in-out infinite !important; }

/* Základní vzhled dlaždic */
.tile {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) { .tile:hover {
  transform: translateY(-2px);
} }
.tile:active {
  transform: scale(0.98);
}

.tile-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-top: 8px;
  line-height: 1.25;
}

.tile-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.2s ease;
}

/* 1. NOMINACE DLAŽDICE (Užší horizontální banner s CTA šipkou) */
.tile-nomination {
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  padding: 14px 16px;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.tile-nomination .nom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tile-nomination .tile-icon-box {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  animation: iconWiggle 3.5s ease-in-out infinite;
  flex-shrink: 0;
}
.tile-nomination .tile-title {
  color: #fbbf24;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.3;
}
.tile-nomination .nom-cta-arrow {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 1B. ŽABA QUEST DLAŽDICE (Vzhledově 1:1 k nominaci, zelený styl ŽABY) */
.tile-nomination.tile-quest {
  border: 1.5px solid rgba(132, 204, 22, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
}
@media (hover: hover) and (pointer: fine) { .tile-nomination.tile-quest:hover {
  border-color: var(--color-zaba-green);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
} }
.tile-nomination.tile-quest .tile-icon-box {
  background: rgba(132, 204, 22, 0.22);
  color: var(--color-zaba-green);
  animation: iconPulse 3s ease-in-out infinite;
}
.tile-nomination.tile-quest .tile-title {
  color: var(--color-zaba-green);
}
.tile-nomination.tile-quest .nom-cta-arrow {
  background: rgba(132, 204, 22, 0.2);
  color: var(--color-zaba-green);
  border: 1px solid rgba(132, 204, 22, 0.4);
}
@media (hover: hover) and (pointer: fine) { .tile-nomination.tile-quest:hover .nom-cta-arrow {
  background: var(--color-zaba-green);
  color: #020c05;
  box-shadow: none;
} }

/* 2. PROGRAM DLAŽDICE (Smart redesign s rohovým CTA a čistým odpočtem) */
.tile-program {
  border: 1.5px solid rgba(132, 204, 22, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}
.program-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.program-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.program-mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(132, 204, 22, 0.18);
  color: var(--color-zaba-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  animation: iconFloat 4s ease-in-out infinite;
}
.program-header-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 0;
}
.program-corner-cta {
  background: rgba(132, 204, 22, 0.15);
  color: var(--color-zaba-green);
  border: 1px solid rgba(132, 204, 22, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .tile-program:hover .program-corner-cta {
  background: var(--color-zaba-green);
  color: #021a0b;
  transform: translateX(2px);
} }
.program-tile-body {
  width: 100%;
}
.program-countdown-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 4px 0 2px !important;
  width: 100% !important;
}
.cd-unit-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(132, 204, 22, 0.25);
  border-radius: 8px;
  padding: 5px 8px;
  min-width: 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-val {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-zaba-green);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.cd-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.cd-colon {
  font-size: 16px;
  font-weight: 800;
  color: rgba(132, 204, 22, 0.5);
  margin-bottom: 8px;
}
.program-live-banner {
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid var(--color-zaba-green);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-zaba-green);
  text-align: center;
}

/* 3. VSTUPNÉ */
.tile-tickets {
  border: 1.5px solid rgba(192, 132, 252, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-tickets .tile-icon-box {
  background: rgba(192, 132, 252, 0.2);
  color: #c084fc;
  animation: iconFloat 4.2s ease-in-out infinite;
}

/* 4. MENU */
.tile-menu {
  border: 1.5px solid rgba(250, 204, 21, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-menu .tile-icon-box {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  animation: iconWiggle 4s ease-in-out infinite;
}

/* 5. TOMBOLA */
.tile-raffle {
  border: 1.5px solid rgba(251, 146, 60, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-raffle .tile-icon-box {
  background: rgba(251, 146, 60, 0.2);
  color: #fb923c;
  animation: iconPulse 3s ease-in-out infinite;
}

/* 6. PLAYLIST (SPOTIFY) */
.tile-songs {
  border: 1.5px solid rgba(74, 222, 128, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-songs .tile-icon-box {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  animation: iconFloat 4.5s ease-in-out infinite;
}

/* 7. INFORMACE */
.tile-info {
  border: 1.5px solid rgba(96, 165, 250, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-info .tile-icon-box {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  animation: iconFloat 4s ease-in-out infinite;
}

/* 8. ZPĚTNÁ VAZBA */
.tile-feedback {
  border: 1.5px solid rgba(45, 212, 191, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  min-height: 120px;
}
.tile-feedback .tile-icon-box {
  background: rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
  animation: iconPulse 3.5s ease-in-out infinite;
}

/* 9. MÍSTO KONÁNÍ (KOMPAKTNÍ HORIZONTÁLNÍ DLAŽDICE) */
.tile-location {
  border: 1.5px solid rgba(248, 113, 113, 0.6);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6);
  padding: 12px 16px;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.tile-location .loc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tile-location .tile-icon-box {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
  animation: iconFloat 3.8s ease-in-out infinite;
  width: 38px;
  height: 38px;
  font-size: 18px;
  flex-shrink: 0;
}
.tile-location .loc-text {
  display: flex;
  flex-direction: column;
}
.tile-location .tile-title {
  color: #ffffff;
  margin-top: 0;
  font-size: 13px;
}
.tile-location .loc-address {
  font-size: 11px;
  color: var(--color-text-muted);
}
.tile-location .loc-arrow {
  color: #f87171;
  font-size: 14px;
}

/* ====================================================================
   MODAL POPUP UPROSTŘED DISPLEJE (POPUP WINDOW)
   ==================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-popup {
  width: 100%;
  max-width: 420px;
  max-height: 84vh;
  background: #081e10;
  border: 1.5px solid var(--color-zaba-green);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.modal-overlay.open .modal-popup { transform: scale(1); }

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.popup-title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) { .popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
} }

.popup-content {
  padding: 16px 18px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(84vh - 65px);
}

.popup-content::-webkit-scrollbar { width: 4px; }
.popup-content::-webkit-scrollbar-thumb {
  background: rgba(132, 204, 22, 0.35);
  border-radius: 4px;
}

/* ====================================================================
   PROGRAM UVNITŘ MODALU (VĚTŠÍ ČASY, BEZ ČÁRY NA POZADÍ, CHEVRONY)
   ==================================================================== */
.program-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-card-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .program-card-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(132, 204, 22, 0.35);
} }

.program-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.program-time-badge {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-zaba-green);
  background: rgba(132, 204, 22, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(132, 204, 22, 0.3);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.program-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
  text-transform: uppercase;
}

.chevron-icon {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.expanded .chevron-icon {
  transform: rotate(180deg);
  color: var(--color-zaba-green);
}

.program-card-detail {
  display: none;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}
.program-card-row.expanded .program-card-detail {
  display: block;
}

/* Stavy v den akce */
.program-card-row.past { opacity: 0.45; }
.program-card-row.current {
  border-color: var(--color-zaba-green);
  background: rgba(132, 204, 22, 0.15);
  box-shadow: none;
}

/* ====================================================================
   VSTUPNÉ (BAREVNÉ VĚTŠÍ ČÁSTKY, ZLATÝ ŠIMMER U VIP, BOLD TEXTY)
   ==================================================================== */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-card {
  background: rgba(10, 36, 17, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ticket-card.color-orange {
  border-color: rgba(251, 146, 60, 0.6);
}
.ticket-card.color-orange .ticket-price-val { color: #fb923c; }

.ticket-card.color-green {
  border-color: rgba(132, 204, 22, 0.6);
}
.ticket-card.color-green .ticket-price-val { color: var(--color-zaba-green); }

/* Fancy zlatý animovaný gradient pro VIP */
.ticket-card.color-gold {
  border-color: rgba(245, 158, 11, 0.85);
  background: linear-gradient(110deg, #1c1917 10%, #451a03 25%, #78350f 45%, #451a03 65%, #1c1917 85%);
  background-size: 200% 100%;
  animation: shimmerGold 5s linear infinite;
  box-shadow: none;
}
.ticket-card.color-gold .ticket-price-val {
  color: #fbbf24;
  text-shadow: none;
}

/* Fancy platinový / stříbrný animovaný gradient pro VIP PLATINUM (decentní interval a vysoký kontrast pro čitelnost) */
@keyframes shimmerPlatinum {
  0% {
    background-position: 250% 0;
  }
  20% {
    background-position: -50% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

.ticket-card.color-platinum {
  border: 1.5px solid rgba(203, 213, 225, 0.7) !important;
  background: linear-gradient(115deg, #090d16 0%, #151f30 30%, #293548 45%, rgba(226, 232, 240, 0.35) 50%, #293548 55%, #151f30 70%, #090d16 100%) !important;
  background-size: 250% 100% !important;
  animation: shimmerPlatinum 10s ease-in-out infinite !important;
  box-shadow: 0 4px 20px rgba(148, 163, 184, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.08) !important;
}
.ticket-card.color-platinum .ticket-price-val {
  color: #f8fafc !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}
.ticket-card.color-platinum .ticket-name-big {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  letter-spacing: 0.05em;
}
.ticket-card.color-platinum .chevron-icon {
  color: #cbd5e1 !important;
}

/* Oznámení / zpráva nahoře v modalu (Vstupné, Menu, Tombola, Program) */
.modal-notice-banner {
  background: rgba(132, 204, 22, 0.12);
  border: 1px solid rgba(132, 204, 22, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #f1f5f9;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.modal-notice-banner i {
  color: var(--color-zaba-green);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.modal-notice-banner strong {
  color: #ffffff;
}

.ticket-head-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ticket-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticket-name-big {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}
.ticket-price-val {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ticket-card .chevron-icon {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}
.ticket-card.expanded .chevron-icon {
  transform: rotate(180deg);
}
.ticket-card.color-green.expanded .chevron-icon { color: var(--color-zaba-green); }
.ticket-card.color-orange.expanded .chevron-icon { color: #fb923c; }
.ticket-card.color-gold.expanded .chevron-icon { color: #fbbf24; }
.ticket-card.color-platinum.expanded .chevron-icon { color: #ffffff; }

.ticket-details {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  line-height: 1.5;
}
.ticket-card.expanded .ticket-details { display: block; }
.ticket-details strong { color: #ffffff; font-weight: 700; }

.ticket-perks-list {
  list-style: none;
  margin-top: 8px;
}
.ticket-perks-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
}
.ticket-perks-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-zaba-green);
  font-weight: 700;
}
.ticket-card.color-gold .ticket-perks-list li::before { color: #fbbf24; }
.ticket-card.color-platinum .ticket-perks-list li::before { color: #ffffff; }

/* Živý čítač návštěvnosti na ŽÁBĚ */
.attendees-live-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 9px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #86efac;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.15);
}
.attendees-live-counter strong {
  font-size: 16px;
  color: #ffffff;
  font-weight: 900;
  text-shadow: none;
}

/* Štítek kapacity a odpočítávání zbývajících kusů */
.ticket-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticket-stock-badge.sold-out {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.65);
  color: #fca5a5;
}
.ticket-card.is-sold-out {
  border-color: rgba(239, 68, 68, 0.45);
}

/* Zbývající kapacita pod výhodami - stejná velikost písma (12px), zarovnané vlevo, tučně */
.ticket-capacity-line {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  text-align: left;
  line-height: 1.4;
}

.ticket-capacity-line .ticket-stock-num {
  font-weight: 700;
}

.ticket-capacity-line .ticket-stock-num.stock-color-green {
  color: #22c55e !important;
  text-shadow: none;
}

.ticket-capacity-line .ticket-stock-num.stock-color-orange {
  color: #ff6a00 !important; /* Výrazná sytá oranžová, odlišná od zlaté */
  text-shadow: none;
}

.ticket-capacity-line .ticket-stock-num.stock-color-red {
  color: #ef4444 !important;
  text-shadow: none;
}
.tile-attendees-sub {
  font-size: 10.5px;
  color: var(--color-zaba-green);
  font-weight: 700;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ticket-cta-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: var(--color-zaba-green);
  color: #021a0b;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(132, 204, 22, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .ticket-cta-btn:hover {
  background: #a3e635;
  transform: translateY(-2px);
} }

/* ====================================================================
   MENU (3 ROVNOCENNÉ TABS PŘES CELOU ŠÍŘKU, ŽABAR ZVÝHODNĚNÝ)
   ==================================================================== */
.menu-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-tab-btn.tab-zabar {
  border-color: rgba(132, 204, 22, 0.45);
  color: #bef264;
  background: rgba(132, 204, 22, 0.08);
  font-weight: 800;
}

.menu-tab-btn.active.tab-zdarma {
  background: rgba(74, 222, 128, 0.25);
  border-color: #4ade80;
  color: #4ade80;
}
.menu-tab-btn.active.tab-zabar {
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.45), rgba(34, 197, 94, 0.35));
  border-color: var(--color-zaba-green);
  color: #ffffff;
  box-shadow: none;
}
.menu-tab-btn.active.tab-gril {
  background: rgba(251, 146, 60, 0.25);
  border-color: #fb923c;
  color: #fb923c;
}

.menu-category-pane {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.menu-category-pane.active { display: flex; }

.menu-subcategory-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-zaba-green);
  padding: 8px 6px 4px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(132, 204, 22, 0.25);
  margin-bottom: 2px;
}
.menu-subcategory-header i {
  color: var(--color-zaba-green);
  font-size: 12px;
}

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}
.menu-item-row.sold-out {
  opacity: 0.6;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.06);
}
.menu-item-name { font-size: 13px; font-weight: 700; color: #ffffff; }
.menu-item-desc { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.menu-item-price { font-size: 13px; font-weight: 700; color: var(--color-zaba-green); }
.sold-out-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ====================================================================
   TOMBOLA (1. ZLATÁ, 2. STŘÍBRNÁ, 3. BRONZOVÁ, BEZ OŠKLIVÝCH POPISKŮ)
   ==================================================================== */
.raffle-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(9, 36, 17, 0.85));
  border: 1px solid rgba(249, 115, 22, 0.55);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.raffle-price-tag {
  font-size: 18px;
  font-weight: 700;
  color: #fb923c;
  text-transform: uppercase;
}

.raffle-prizes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.raffle-prize-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

/* 1. cena - ZLATÁ */
.raffle-prize-row.prize-rank-1 {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.4));
  box-shadow: none;
}
.raffle-prize-row.prize-rank-1 .raffle-rank-badge {
  background: #f59e0b;
  color: #000000;
  font-weight: 800;
}

/* 2. cena - STŘÍBRNÁ */
.raffle-prize-row.prize-rank-2 {
  border-color: #cbd5e1;
  background: linear-gradient(135deg, rgba(203, 213, 225, 0.15), rgba(0, 0, 0, 0.4));
  box-shadow: none;
}
.raffle-prize-row.prize-rank-2 .raffle-rank-badge {
  background: #cbd5e1;
  color: #000000;
  font-weight: 800;
}

/* 3. cena - BRONZOVÁ */
.raffle-prize-row.prize-rank-3 {
  border-color: #d97706;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(0, 0, 0, 0.4));
  box-shadow: none;
}
.raffle-prize-row.prize-rank-3 .raffle-rank-badge {
  background: #d97706;
  color: #ffffff;
  font-weight: 800;
}

.raffle-rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.raffle-title { font-size: 13px; font-weight: 600; color: #ffffff; flex: 1; }

/* ====================================================================
   INFORMACE (HOTOVOST I KARTY BANNER, BAREVNÉ ACCORDIONY, CHEVRONY)
   ==================================================================== */
.info-payment-alert {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(6, 26, 12, 0.9));
  border: 1.5px solid var(--color-zaba-green);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: none;
}
.info-payment-alert i { font-size: 20px; color: var(--color-zaba-green); }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-accordion {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) { .info-accordion:hover { border-color: rgba(96, 165, 250, 0.4); } }

.info-accordion-head {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-accordion-body {
  padding: 0 14px 12px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}
.info-accordion.open .info-accordion-body { display: block; }
.info-accordion.open .chevron-icon { transform: rotate(180deg); color: #60a5fa; }

.info-link {
  color: var(--color-zaba-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
  word-break: break-all;
}
@media (hover: hover) and (pointer: fine) { .info-link:hover {
  color: #bef264;
  text-decoration: none;
} }

.info-highlight {
  background: rgba(132, 204, 22, 0.25);
  color: #bef264;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: none;
}

/* ====================================================================
   PUSH NOTIFIKACE POPUP BUBLINA (PŘÁTELSKÁ, PŘESVĚDČIVÁ)
   ==================================================================== */
.push-float-bubble {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 28px);
  max-width: 410px;
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.98), rgba(6, 26, 12, 0.98));
  border: 1.5px solid var(--color-zaba-green);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}
.push-float-bubble.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.push-bubble-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.push-bell-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.25);
  color: var(--color-zaba-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  animation: bellRing 2.5s infinite;
}
.push-bubble-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.push-bubble-desc {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 10px;
}
.push-bubble-actions {
  display: flex;
  gap: 8px;
}
.btn-push-allow {
  flex: 1;
  background: var(--color-zaba-green);
  color: #021a0b;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) { .btn-push-allow:hover { background: #a3e635; } }
.btn-push-later {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Toast */
.toast-msg {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid var(--color-zaba-green);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Zápatí s výrazně zeleně zářícím ŽABA BRNO */
.app-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-dim);
}
.footer-zaba-brand {
  color: var(--color-zaba-green);
  font-weight: 800;
  text-shadow: none;
  animation: neonGlow 2.5s ease-in-out infinite;
  display: inline-block;
  cursor: pointer;
}

/* ====================================================================
   KLÍČOVÉ ANIMACE
   ==================================================================== */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes frogFlip {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes neonGlow {
  0%, 100% {
    text-shadow: none;
    color: #a3e635;
  }
  50% {
    text-shadow: none;
    color: #ffffff;
  }
}

@keyframes shimmerGold {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-12deg); }
  20%, 40% { transform: rotate(12deg); }
  50% { transform: rotate(0deg); }
}

@keyframes glowPulseCard {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====================================================================
   ŽIVÝ ŽABA PASS & HLAVIČKA
   ==================================================================== */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-vip-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(132, 204, 22, 0.4);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (hover: hover) and (pointer: fine) { .header-vip-btn:hover {
  border-color: var(--color-zaba-green);
  color: var(--color-zaba-green);
  transform: scale(1.06);
} }

.header-vip-btn.active-granted {
  border-color: var(--color-zaba-green);
  background: rgba(132, 204, 22, 0.18);
  color: var(--color-zaba-green);
}

.vip-status-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: none;
  animation: pulseDot 1.8s infinite;
}

.header-vip-btn.active-granted .vip-status-dot {
  background: #22c55e;
  box-shadow: none;
  animation: none;
}

/* ====================================================================
   ŽIVÁ AKTIVITA / DYNAMIC ISLAND WIDGET
   ==================================================================== */
.live-activity-island {
  margin-bottom: 14px;
  background: rgba(4, 24, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--color-zaba-green);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.island-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) { .island-compact:hover {
  background: rgba(132, 204, 22, 0.1);
} }

.island-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-zaba-green);
  box-shadow: none;
  animation: pulseDot 1.4s infinite;
}

.island-status-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-zaba-green);
  text-transform: uppercase;
}

.island-center {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.island-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.island-timer {
  font-size: 11px;
  font-weight: 800;
  color: #fef08a;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 2px 7px;
  border-radius: 9999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.island-chevron {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.live-activity-island.expanded .island-chevron {
  transform: rotate(180deg);
}

/* Rozbalený stav */
.island-expanded {
  display: none;
  padding: 12px 14px;
  border-top: 1px solid rgba(132, 204, 22, 0.2);
  background: rgba(2, 18, 8, 0.65);
  animation: fadeIn 0.25s ease;
}

.live-activity-island.expanded .island-expanded {
  display: block;
}

.island-program-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.island-current-box,
.island-next-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.island-current-box {
  border-color: rgba(132, 204, 22, 0.3);
}

.island-next-box {
  border-color: rgba(250, 204, 21, 0.3);
}

.island-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.island-current-box .island-label {
  color: var(--color-zaba-green);
}

.island-next-box .island-label {
  color: #fbbf24;
}

.island-current-title,
.island-next-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.island-countdown-badge {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #fef08a;
  background: rgba(245, 158, 11, 0.2);
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  font-variant-numeric: tabular-nums;
}

/* Blesková hlášení v ostrově */
.island-alerts-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.island-alert-badge {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) { .island-alert-badge:hover {
  transform: translateY(-1px);
} }

.island-alert-badge.alert-promo {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(234, 88, 12, 0.9));
  border: 1px solid #fca5a5;
  color: #ffffff;
  box-shadow: none;
}

.island-alert-badge.alert-news {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.9));
  border: 1px solid #7dd3fc;
  color: #ffffff;
  box-shadow: none;
}

.btn-island-action {
  width: 100%;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.4);
  color: var(--color-zaba-green);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) { .btn-island-action:hover {
  background: var(--color-zaba-green);
  color: #021a0b;
} }

/* ====================================================================
/* ====================================================================
   UPOZORNĚNÍ Z AKCE (JEDNODUCHÝ A UHLAZENÝ POPUP)
   ==================================================================== */
.notify-modal-popup,
.vip-pass-popup {
  max-width: 410px;
  border: 1.5px solid var(--color-zaba-green);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
}

.notify-intro {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 14px;
}

.notify-points-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.notify-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

.notify-point-item i {
  color: var(--color-zaba-green);
  font-size: 14px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.notify-point-item strong {
  color: #ffffff;
}

/* Velké, výrazné tlačítko Zapnout upozornění */
.btn-notify-main-cta,
.btn-vip-activate {
  width: 100%;
  background: var(--color-zaba-green);
  color: #021a0b;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 15px 22px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 22px rgba(132, 204, 22, 0.45);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), background-color 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), border-color 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), color 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), box-shadow 0.25s cubic-bezier(0.22, 0.8, 0.24, 1);
  animation: notifyPulseGlow 2.5s infinite;
}

@media (hover: hover) and (pointer: fine) { .btn-notify-main-cta:hover,.btn-vip-activate:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(132, 204, 22, 0.65);
} }

.btn-notify-main-cta:active,
.btn-vip-activate:active {
  transform: scale(0.97);
}

@keyframes notifyPulseGlow {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow: none;
  }
}

.notify-secure-note,
.vip-secure-note {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notify-active-card {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid var(--color-zaba-green);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  text-align: center;
}

.notify-active-title {
  font-size: 14px;
  font-weight: 800;
  color: #86efac;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notify-active-desc {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-notify-test {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--color-zaba-green);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) { .btn-notify-test:hover {
  background: var(--color-zaba-green);
  color: #021a0b;
} }

/* iOS instrukce */
.ios-install-steps {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.ios-step-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 8px;
}

.ios-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ios-steps-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.35;
}

.ios-steps-list .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10px;
  flex-shrink: 0;
}

.ios-icon-share, .ios-icon-add {
  color: #38bdf8;
  margin: 0 2px;
}

/* Spodní Sticky Lišta ŽÁBA Pass */
.vip-pass-sticky-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 420px;
  background: rgba(6, 28, 14, 0.94);
  border: 1.5px solid var(--color-zaba-green);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 998;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  animation: slideUpFade 0.4s ease;
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sticky-bell-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.22);
  color: var(--color-zaba-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  animation: bellRing 2.5s infinite;
  flex-shrink: 0;
}

.sticky-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-text strong {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-text span {
  font-size: 10px;
  color: #86efac;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-sticky-activate {
  background: var(--color-zaba-green);
  color: #021a0b;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

@keyframes slideUpFade {
  0% { transform: translateX(-50%) translateY(30px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ====================================================================
   ŽABAREAL - POPUP OKNO A KAMERA ENGINE
   ==================================================================== */
.modal-zabareal-overlay,
.modal-zabareal-overlay input,
.modal-zabareal-overlay button,
.modal-zabareal-overlay span,
.modal-zabareal-overlay p,
.modal-zabareal-overlay h3,
.modal-zabareal-overlay h4,
.modal-zabareal-overlay div {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

/* Explicitní ochrana FontAwesome ikon před přepsáním písmem IBM Plex Mono */
.modal-zabareal-overlay i,
.modal-zabareal-overlay .fa,
.modal-zabareal-overlay .fa-solid,
.modal-zabareal-overlay .fa-regular,
.modal-zabareal-overlay .fa-brands,
.modal-zabareal-overlay [class*="fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", FontAwesome !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

.modal-zabareal-overlay {
  z-index: 2500 !important;
  background: #000000 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 601px) {
  .modal-zabareal-overlay {
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
}

.zabareal-modal-popup {
  width: 100%;
  max-width: 460px;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  background: #000000;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 601px) {
  .zabareal-modal-popup {
    height: 88vh;
    max-height: 760px;
    border-radius: 28px;
    border: 2px solid var(--color-zaba-green);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  }
}

.zabareal-top-bar {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60; /* Vždy nad všemi obrazovkami včetně idle (45) */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}
.zabareal-top-bar > * {
  pointer-events: auto;
}

.zabareal-top-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.zabareal-brand-centered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.zabareal-dot-pulse {
  width: 9px;
  height: 9px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: none;
  animation: dotPulse 1.2s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.zabareal-logo-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.zabareal-logo-text strong {
  color: var(--color-zaba-green);
}

.zabareal-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(234, 179, 8, 0.7);
  color: #fde047;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.zabareal-timer-pill.urgent {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #fca5a5;
  animation: pulseUrgent 0.7s infinite;
}

.zabareal-dismiss-btn {
  position: absolute;
  top: 0;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
@media (hover: hover) and (pointer: fine) { .zabareal-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.25);
} }

.zabareal-camera-stage {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  background: #000000;
  overflow: hidden;
}

.zabareal-view-main {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
}

.zabareal-view-main video,
.zabareal-captured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zabareal-flash-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.08s ease;
}
.zabareal-flash-overlay.flash {
  opacity: 0.95;
}

.zabareal-view-pip {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 86px;
  height: 115px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
  background: #111111;
  z-index: 12;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
}
.zabareal-view-pip:active {
  transform: scale(0.94);
}
.zabareal-view-pip video,
.zabareal-view-pip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zabareal-pip-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.zabareal-cam-controls {
  position: absolute;
  top: 72px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
}

.zabareal-floating-bottom {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  z-index: 25;
  pointer-events: none;
}
.zabareal-floating-bottom > * {
  pointer-events: auto;
}

.zabareal-cam-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.zabareal-cam-btn:active {
  background: rgba(132, 204, 22, 0.35);
  border-color: var(--color-zaba-green);
  color: #ffffff;
}
@media (hover: hover) and (pointer: fine) { .zabareal-cam-btn:hover {
  background: rgba(132, 204, 22, 0.35);
  border-color: var(--color-zaba-green);
  color: #ffffff;
} }
.zabareal-cam-btn.active {
  background: #facc15;
  border-color: #facc15;
  color: #000000;
}

.zabareal-capturing-state {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 24px;
  z-index: 28;
}

.zabareal-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-zaba-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.zabareal-cam-error {
  margin: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  z-index: 35;
}
.btn-fallback-cam {
  background: #ef4444;
  color: #ffffff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.zabareal-author-bar {
  width: 100%;
  max-width: 250px;
  margin: 0;
}
.zabareal-author-bar input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 9px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: border-color 0.15s, background 0.15s;
}
.zabareal-author-bar input:focus {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--color-zaba-green);
}
.zabareal-author-bar input::placeholder {
  color: rgba(255, 255, 255, 0.42) !important;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.zabareal-author-bar input:focus::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.zabareal-action-bar {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zabareal-shutter-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.zabareal-shutter-btn:active {
  transform: scale(0.92);
}
.zabareal-shutter-btn .shutter-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  transition: background 0.15s;
}
.zabareal-shutter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.zabareal-preview-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin-top: 6px;
  animation: fadeIn 0.2s ease;
}

.btn-zabareal-submit {
  background: var(--color-zaba-green, #84cc16);
  color: #022c22;
  font-family: inherit;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(132, 204, 22, 0.5);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  flex: 1;
}
.btn-zabareal-submit:active {
  transform: scale(0.96);
}
.btn-zabareal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-zabareal-retake {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-family: inherit;
  font-weight: 600;
  font-size: 11.5px;
  padding: 11px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0.72;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  flex: 0 0 auto;
}

.btn-zabareal-retake:active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
@media (hover: hover) and (pointer: fine) { .btn-zabareal-retake:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
} }

.zabareal-success-screen {
  position: absolute;
  inset: 0;
  background: #020c05;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: fadeIn 0.25s ease;
}

.zabareal-success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.zabareal-success-icon {
  font-size: 56px;
  color: var(--color-zaba-green);
  filter: none;
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.zabareal-success-card h4 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0;
}

.zabareal-success-card p {
  font-size: 13px;
  color: #cbd5e1;
  max-width: 280px;
  margin: 0;
  line-height: 1.4;
}

.zabareal-success-timer {
  font-size: 11px;
  color: var(--color-zaba-green);
  font-weight: 700;
  margin-top: 6px;
}

/* Obrazovka: ŽabaReal neprobíhá / Možnost bonusového focení (Requirement 4) */
.zabareal-idle-screen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #062310 0%, #000000 85%);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  animation: fadeIn 0.25s ease;
}

.zabareal-idle-card {
  width: 100%;
  max-width: 360px;
  background: rgba(14, 18, 14, 0.92);
  border: 1.5px solid rgba(132, 204, 22, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zabareal-idle-badge {
  font-size: 11px;
  font-weight: 700;
  color: #84cc16;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.zabareal-idle-icon {
  font-size: 46px;
  color: #84cc16;
  margin-bottom: 14px;
  filter: none;
}

.zabareal-idle-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.zabareal-idle-card p {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.5;
  margin: 0 0 22px 0;
}

.zabareal-idle-bonus-box {
  width: 100%;
  margin-bottom: 16px;
}

.btn-idle-bonus {
  width: 100%;
  background: #84cc16;
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  padding: 13px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(132, 204, 22, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-idle-bonus:active {
  transform: scale(0.97);
}

.zabareal-idle-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.btn-idle-gallery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease;
}


.btn-idle-gallery:active {
  background: rgba(255, 255, 255, 0.14);
}
@media (hover: hover) and (pointer: fine) { .btn-idle-gallery:hover {
  background: rgba(255, 255, 255, 0.14);
} }

.btn-idle-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}


.btn-idle-close:active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
@media (hover: hover) and (pointer: fine) { .btn-idle-close:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
} }
