/* ============================================================
   🎨 ZŁOTE KUBUSIE 2026 - DISCORD EVENING GALA DESIGN
   Szlachetny ciemny styl Discorda połączony ze złotem Oscarowej Gali!
   ============================================================ */

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

:root {
  /* Discord Dark & Gala Evening Paleta */
  --gp-bg-deep: #0d0e14;
  --gp-bg-light: #151620;
  --gp-panel-bg: #1e202b;
  --gp-panel-inner: #15161f;
  --gp-card-bg: #282a39;
  --gp-card-hover: #333647;
  
  /* Kolory Akcentów (Discord Blurple & Gala Gold) */
  --gp-discord: #5865F2;
  --gp-discord-hover: #4752C4;
  --gp-gold: #ffd700;
  --gp-gold-amber: #f59e0b;
  
  --gp-mint: #ffd700; /* Złoty akcent wyboru */
  --gp-mint-glow: rgba(255, 215, 0, 0.45);
  
  --gp-cyan: #5865F2;
  --gp-yellow: #ffd700;
  --gp-pink: #eb459e;
  --gp-orange: #f59e0b;
  
  /* 3D Cienie i Krawędzie w ciemnym stylu Discorda */
  --gp-border-color: #0c0d12;
  --gp-shadow-3d: 0 6px 0 var(--gp-border-color);
  --gp-shadow-3d-active: 0 2px 0 var(--gp-border-color);
  
  --font-main: 'Fredoka', system-ui, cursive, sans-serif;
  --radius-panel: 28px;
  --radius-card: 20px;
  --radius-pill: 100px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--gp-bg-deep);
  color: #f2f3f5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Wieczorny, galowy wzór gwiazd i świateł Discorda */
  background-image: 
    radial-gradient(circle, rgba(255, 215, 0, 0.12) 2px, transparent 2px),
    radial-gradient(circle, rgba(88, 101, 242, 0.14) 1.5px, transparent 1.5px),
    radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.22) 0%, transparent 65%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  background-size: 32px 32px, 16px 16px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* Górny pasek nawigacyjny */
.gp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.gp-back-btn {
  background: #232533;
  color: #f2f3f5;
  border: 2px solid #0c0d12;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 0 #0c0d12;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.gp-back-btn:hover {
  background: #2d3042;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #0c0d12;
  color: #ffd700;
}

.gp-back-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0c0d12;
}

/* Kreskówkowe Logo Gartic Phone Style w wersji Discord Gala */
.gp-badge-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #181924;
  color: #ffd700;
  padding: 6px 24px;
  border-radius: var(--radius-pill);
  border: 3.5px solid #ffd700;
  box-shadow: 0 6px 0 #0c0d12, 0 0 20px rgba(255, 215, 0, 0.22);
  transform: rotate(-1.5deg);
  user-select: none;
  animation: logoWobble 4s ease-in-out infinite;
}

@keyframes logoWobble {
  0%, 100% { transform: rotate(-1.5deg) scale(1); }
  50% { transform: rotate(1.5deg) scale(1.02); }
}

.gp-logo-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 2px 0 #000;
}

.gp-logo-sub {
  font-size: 0.74rem;
  font-weight: 900;
  color: #5865F2;
  text-transform: uppercase;
  letter-spacing: 2.2px;
}

/* Dźwięk & Muzyka - Kontrolka z Suwakiem (Discord Gala) */
.gp-audio-control-pill {
  background: #232533;
  border: 2px solid #0c0d12;
  box-shadow: 0 4px 0 #0c0d12;
  border-radius: var(--radius-pill);
  padding: 4px 14px 4px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.gp-audio-control-pill:hover {
  background: #2b2e40;
}

.gp-sound-btn {
  background: #5865F2;
  color: #fff;
  border: 2px solid #3c45a5;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 0 #2c3275;
  transition: all 0.15s ease;
}

.gp-sound-btn:hover {
  background: #4752c4;
  transform: scale(1.08);
}

.gp-sound-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #2c3275;
}

/* Suwak głośności w stylu Gartic Phone */
.gp-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 86px;
  height: 8px;
  border-radius: 8px;
  background: #14151f;
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gp-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #a38200;
  box-shadow: 0 2px 0 #000;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.gp-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #ffe34d;
}

.gp-volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #a38200;
  box-shadow: 0 2px 0 #000;
  cursor: pointer;
}


/* Główny kontener aplikacji */
.gp-main-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

/* Ekran (przełączany klasą .active) */
.gp-screen {
  display: none;
}

.gp-screen.active {
  display: block;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

/* Główna Konsola / Panel Gartic Phone */
.gp-console-box {
  background: var(--gp-panel-bg);
  border: 4px solid var(--gp-border-color);
  border-radius: var(--radius-panel);
  padding: 32px 28px;
  box-shadow: 0 12px 0 rgba(20, 4, 46, 0.6), 0 24px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* ============================================================
   EKRAN 1: LOGOWANIE SAMYM HASŁEM (PROSTE & INTUICYJNE)
   ============================================================ */
.gp-entry-card {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   KIWAJĄCE SIĘ STATUETKI ZŁOTE KUBUSIE (LEWO - PRAWO)
   ============================================================ */
.gp-statuettes-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 18px;
  position: relative;
  min-height: 180px;
  user-select: none;
}

.wobble-statuette {
  object-fit: contain;
  transform-origin: bottom center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.wobble-statuette:hover {
  filter: drop-shadow(0 14px 28px rgba(255, 208, 0, 0.55)) brightness(1.1);
  transform: scale(1.08) !important;
}

/* Środkowa statuetka */
.statuette-main {
  height: 180px;
  z-index: 2;
  animation: kubusSwayCenter 2.8s ease-in-out infinite;
}

/* Statuetki boczne */
.statuette-side-left {
  height: 120px;
  z-index: 1;
  opacity: 0.95;
  animation: kubusSwayLeft 3.4s ease-in-out infinite;
}

.statuette-side-right {
  height: 120px;
  z-index: 1;
  opacity: 0.95;
  animation: kubusSwayRight 3.1s ease-in-out infinite;
}

/* Wersja na ekranie sukcesu */
.celebration-stage .statuette-main {
  height: 220px;
  animation: kubusSwayCenter 2.3s ease-in-out infinite;
  filter: drop-shadow(0 14px 30px rgba(255, 208, 0, 0.65));
}

.celebration-stage .statuette-side-left {
  height: 140px;
  animation: kubusSwayLeft 2.7s ease-in-out infinite;
}

.celebration-stage .statuette-side-right {
  height: 140px;
  animation: kubusSwayRight 2.9s ease-in-out infinite;
}

/* Animacje kiwania lewo-prawo */
@keyframes kubusSwayCenter {
  0% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-6px); }
  100% { transform: rotate(-7deg) translateY(0); }
}

@keyframes kubusSwayLeft {
  0% { transform: rotate(-10deg) translateY(0) scale(0.96); }
  50% { transform: rotate(6deg) translateY(-3px) scale(1.03); }
  100% { transform: rotate(-10deg) translateY(0) scale(0.96); }
}

@keyframes kubusSwayRight {
  0% { transform: rotate(10deg) translateY(0) scale(0.96); }
  50% { transform: rotate(-6deg) translateY(-3px) scale(1.03); }
  100% { transform: rotate(10deg) translateY(0) scale(0.96); }
}

.gp-trophy-hero-avatar {
  display: none;
}

.gp-entry-title {
  font-size: 2.3rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 0 var(--gp-border-color);
  margin-bottom: 8px;
}

.gp-entry-desc {
  font-size: 1.15rem;
  font-weight: 600;
  color: #949ba4;
  margin-bottom: 24px;
}

/* Pole wpisywania hasła - Gartic Style */
.gp-input-box {
  background: var(--gp-panel-inner);
  border: 3px solid var(--gp-border-color);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.3);
}

.gp-input-field {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 1px;
}

.gp-input-field::placeholder {
  color: #626574;
}

/* Wielki przycisk START / GŁOSUJ */
.gp-btn-action {
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.15s ease;
  user-select: none;
}

.gp-btn-start {
  background: linear-gradient(180deg, #ffd700 0%, #e6a800 100%);
  color: #1a1200;
  border: 3px solid var(--gp-border-color);
  box-shadow: 0 6px 0 var(--gp-border-color), 0 0 16px rgba(255, 215, 0, 0.25);
}

.gp-btn-start:hover {
  background: linear-gradient(180deg, #ffe24d 0%, #f5b700 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--gp-border-color), 0 0 24px rgba(255, 215, 0, 0.4);
}

.gp-btn-start:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--gp-border-color);
}

/* Komunikat o błędzie */
.gp-alert-error {
  background: #ed4245;
  color: #fff;
  border: 3px solid var(--gp-border-color);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: none;
  animation: shake 0.35s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Pasek Sponsorów w stylu Gartic Phone */
.gp-sponsors-banner {
  background: var(--gp-panel-inner);
  border: 3px solid var(--gp-border-color);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin-top: 32px;
  text-align: center;
}

.gp-sponsors-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffd700;
  margin-bottom: 12px;
}

.gp-sponsors-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gp-sponsor-pill {
  background: #232533;
  color: #f2f3f5;
  border: 2px solid var(--gp-border-color);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 3px 0 var(--gp-border-color);
}

.gp-sponsor-pill img {
  height: 28px;
  max-width: 50px;
  object-fit: contain;
}

/* ============================================================
   EKRAN 2: ARENA GŁOSOWANIA (GARTIC PHONE STYLE)
   ============================================================ */

/* Pasek statusu u góry konsoli */
.gp-voting-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--gp-panel-inner);
}

.gp-category-counter-badge {
  background: #ffd700;
  color: #1a1200;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gp-border-color);
  box-shadow: 0 3px 0 var(--gp-border-color);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Szybki Skok - Kreskówkowy Select */
.gp-category-selector {
  background: var(--gp-panel-inner);
  color: #ffffff;
  border: 2px solid var(--gp-border-color);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  box-shadow: 0 3px 0 var(--gp-border-color);
}

.gp-category-selector option {
  background: #1e202b;
  color: #f2f3f5;
}

/* Tytuł & Opis Kategorii */
.gp-category-info-box {
  text-align: center;
  margin-bottom: 24px;
}

.gp-category-title {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 3px 0 var(--gp-border-color);
}

.gp-category-desc {
  font-size: 1.1rem;
  font-weight: 600;
  color: #b5bac1;
  max-width: 680px;
  margin: 0 auto;
}

.gp-pair-instruction {
  display: inline-block;
  background: #5865F2;
  color: #ffffff;
  border: 2px solid var(--gp-border-color);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 8px;
  box-shadow: 0 2px 0 var(--gp-border-color);
}

/* Siatka Kandydatów - Gartic Phone Presets Style */
.gp-nominees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .gp-nominees-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Karta Kandydata (Preset Card z obrazka Gartic Phone) */
.gp-nominee-card {
  background: var(--gp-card-bg);
  border: 3px solid var(--gp-border-color);
  border-radius: var(--radius-card);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--gp-border-color);
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.gp-nominee-card:hover {
  background: var(--gp-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--gp-border-color);
}

.gp-nominee-card:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--gp-border-color);
}

/* Stan Wybrany - Gala Gold Outline */
.gp-nominee-card.selected {
  background: #2b2e40;
  border-color: #ffd700 !important;
  box-shadow: 0 6px 0 var(--gp-border-color), 0 0 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-4px);
}

.gp-nominee-avatar-wrap {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--gp-border-color);
  box-shadow: 0 3px 0 var(--gp-border-color);
  overflow: hidden;
  margin-bottom: 10px;
  background: #14151f;
}

.gp-nominee-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-nominee-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

/* Znaczek Wyboru (Gala Gold Checkmark / Numer) */
.gp-card-select-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--gp-border-color);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  transition: all 0.15s ease;
}

.gp-nominee-card.selected .gp-card-select-badge {
  background: #ffd700;
  color: #1a1200;
  transform: scale(1.15);
}

/* Dolny pasek nawigacji (WSTECZ / DALEJ) */
.gp-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.gp-btn-nav {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 0 var(--gp-border-color);
  border: 3px solid var(--gp-border-color);
  transition: all 0.15s ease;
}

.gp-btn-prev {
  background: #232533;
  color: #ffffff;
}

.gp-btn-prev:hover:not(:disabled) {
  background: #2d3042;
  color: #ffd700;
  transform: translateY(-2px);
}

.gp-btn-prev:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.gp-btn-next {
  background: #5865F2;
  color: #ffffff;
}

.gp-btn-next:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--gp-border-color);
}

.gp-btn-finish {
  background: linear-gradient(180deg, #ffd700 0%, #e6a800 100%);
  color: #1a1200;
}

.gp-btn-finish:hover {
  background: linear-gradient(180deg, #ffe24d 0%, #f5b700 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 0 var(--gp-border-color), 0 0 20px rgba(255, 215, 0, 0.35);
}

/* ============================================================
   EKRAN 3: DZIĘKUJEMY ZA GŁOS (SUKCES)
   ============================================================ */
.gp-celebration-box {
  text-align: center;
  padding: 20px 10px;
}

.gp-trophy-huge {
  font-size: 78px;
  margin-bottom: 14px;
  display: inline-block;
  animation: bounceTrophy 2s ease infinite;
}

@keyframes bounceTrophy {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.08); }
}

.gp-celebration-title {
  font-size: 2.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 0 var(--gp-border-color);
  margin-bottom: 8px;
}

.gp-celebration-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gp-mint);
  margin-bottom: 24px;
}

/* Karta Bilet Gartic Phone */
.gp-ticket-card {
  background: var(--gp-panel-inner);
  border: 3px solid var(--gp-border-color);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  max-width: 600px;
  margin: 0 auto 28px;
  text-align: left;
  box-shadow: 0 6px 0 var(--gp-border-color);
}

.gp-ticket-header {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gp-yellow);
  text-transform: uppercase;
  border-bottom: 2px solid var(--gp-border-color);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.gp-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

.gp-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gp-ticket-cat {
  color: #cbd5e1;
  font-weight: 600;
}

.gp-ticket-val {
  color: var(--gp-mint);
  font-weight: 800;
}

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 640px) {
  .gp-top-bar {
    padding: 12px 16px;
  }
  .gp-console-box {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .gp-category-title {
    font-size: 1.6rem;
  }
  .gp-nominees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gp-bottom-actions {
    flex-direction: column-reverse;
  }
  .gp-btn-nav {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   KONTENER BALONIKÓW (FIXED, NIE POWODUJE SCROLLOWANIA STRONY)
   ============================================================ */
#balloons-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.floating-balloon {
  position: absolute !important;
  bottom: -140px !important;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  pointer-events: auto !important;
  cursor: pointer;
  box-shadow: inset -6px -6px 12px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.35);
  animation: balloonFloat linear forwards;
  transition: transform 0.15s ease;
}

.floating-balloon::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.5);
}

@keyframes balloonFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-60vh) translateX(var(--sway, 25px));
    opacity: 1;
  }
  100% {
    transform: translateY(-135vh) translateX(0);
    opacity: 0.95;
  }
}

.balloon-pop {
  animation: balloonPopAnimation 0.18s ease-out forwards !important;
}

@keyframes balloonPopAnimation {
  0% { transform: scale(1); opacity: 1; }
  60% { transform: scale(1.5); opacity: 0.6; }
  100% { transform: scale(0); opacity: 0; }
}

/* Cząsteczki iskier */
.sparkle-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #2bf7a8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 0 10px #2bf7a8;
}
