body {
  margin: 0;
  font-family: Arial;
 overflow-x: hidden;
  overflow-y: visible;
  background: radial-gradient(circle at center, #3a0a5a, #120020);
  color: white;
  text-align: center;
}


/* 💎 БАЗОВИЙ GLOW */
.symbol-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  display: block;

  transition: transform 0.2s ease, filter 0.2s ease;

  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.6))
    drop-shadow(0 0 12px rgba(255,215,0,0.4));
}
/* 🔥 ПУЛЬС */
@keyframes gemGlow {
  0% {
    filter: drop-shadow(0 0 5px gold);
  }
  50% {
    filter: drop-shadow(0 0 20px gold) drop-shadow(0 0 35px orange);
  }
  100% {
    filter: drop-shadow(0 0 5px gold);
  }
}

/* клас для активних гемів */
.symbol.win .symbol-img {
  animation: gemGlow 0.8s infinite;
  transform: scale(1.2);
}

/* ✨ КРАСИВІ ВЕРТИКАЛЬНІ ЛІНІЇ */
.col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 2px;
  height: 100%;

  background: linear-gradient(
    to bottom,
    rgba(255, 215, 0, 0.2),
    #ffd700,
    #ffcc00,
    #ffd700,
    rgba(255, 215, 0, 0.2)
  );

  box-shadow:
    0 0 8px gold,
    0 0 12px rgba(255,215,0,0.6);

  z-index: 3;
  animation: glowLine 2s infinite alternate;
}

@keyframes glowLine {
  from {
    box-shadow: 0 0 5px gold;
  }
  to {
    box-shadow: 0 0 15px gold, 0 0 25px orange;
  }
}

/* ❌ прибираємо стару сіру лінію */
.col::after {
  display: none;
}

/* ФОН ВІДЕО */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ⚡ ЗЕВС */
.zeus {
  position: fixed;

  right: 40px;   /* було -30 */
  bottom: -60px;  /* було -100 */

  width: 440px;   /* 🔥 було 550 */

  z-index: 2;

  pointer-events: none;

  animation: floatZeus 3s ease-in-out infinite;
}

/* ✨ ПІДСВІТКА ПОЗАДУ */
.zeus::before {
  content: "";
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 180%;
  height: 180%;

  background: radial-gradient(
    circle,
    rgba(0, 150, 255, 0.7),
    rgba(0, 100, 255, 0.5),
    rgba(0, 50, 255, 0.3),
    transparent 70%
  );

  filter: blur(30px);
  z-index: -1;

  animation: zeusBluePulse 1.5s infinite alternate;
}

/* 🔄 ЛЕВІТАЦІЯ */
@keyframes floatZeus {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-25px); }
  100% { transform: translateY(0px); }
}

/* 💡 МИГАННЯ СВІТЛА */
@keyframes zeusGlow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* APP */
.app {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

/* ЛОГО */
.logo {
  font-size: 28px;
  color: gold;
  text-shadow:
    0 0 10px #ffd700,
    0 0 30px orange,
    0 0 50px gold;
}

/* 🎰 SLOT КОНТЕЙНЕР */
.slot {
  position: relative;
 left: -25px;
  
  width: 440px;
  height: 282px;
  margin: 60px auto;

  transform: scale(0.65); /* 🔥 було 0.8 → ще менше */
  transform-origin: top center;

  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(180deg, #6b1fa8, #3b0f5a);

  overflow: visible;
}
.slot-inner {
  width: 100%;
  height: 100%;

  display: flex;
  gap: 6px;

  background: linear-gradient(180deg, #6b1fa8, #3b0f5a);

  border-radius: 12px; /* 🔥 менше ніж рамка */
}
.slot::after {
  content: "";
  position: absolute;
  inset: -24px -18px;

  background: url("border.png") center/100% 100% no-repeat;

  z-index: 5;
  pointer-events: none;
}
/* 📦 КОЛОНКИ */
.col {
  flex: 1;
  height: 100%;
  overflow: hidden;

  background: linear-gradient(180deg, #7a2bb0, #3a0c5c);

  position: relative;
}

/* 🔥 ВЕРТИКАЛЬНІ РОЗДІЛЮВАЧІ (як у слоті) */
.col::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;

  background: rgba(255,255,255,0.15);
}

/* REEL */
.reel {
  position: absolute;
  top: 0; /* 🔥 ключовий фікс */
  left: 0;
  width: 100%;
  will-change: transform;
}

/* 🧩 СИМВОЛ */
.symbol {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box; /* 🔥 щоб border не додавав висоту */

  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent);
}
.symbol::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 80%;
  height: 1px;

  background: rgba(255,255,255,0.12);
}
/* 💎 КАРТИНКИ */
.symbol-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block; /* 🔥 прибирає мікро-зсуви */
}

/* 🎯 WIN LINE */
.win-line {
  position: absolute;
  top: 50%;
  left: -20px;
  width: calc(100% + 40px);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
}

/* 🔺 СТРІЛКИ */
.arrow {
  transform: scale(1.3);
  filter: drop-shadow(0 0 10px gold);
  animation: pulseArrow 1.2s infinite;
}

.arrow-left {
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 45px solid #ffd700;
}

.arrow-right {
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-right: 45px solid #ffd700;
}

@keyframes pulseArrow {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px gold);}
  50% { transform: scale(1.2); filter: drop-shadow(0 0 15px gold);}
  100% { transform: scale(1); filter: drop-shadow(0 0 5px gold);}
}

/* 🔘 КНОПКА */
/* 🎰 КНОПКА З КАРТИНКОЮ */
.spin-btn {
  position: relative;

  top: -120px; /* 🔥 піднімає вверх (чим більше мінус — тим вище) */

  width: 180px;  /* 🔥 було 160 → трохи більше */
  height: 70px;  /* 🔥 було 60 */

  background: url("button.png") center/contain no-repeat;
  border: none;

  cursor: pointer;

  z-index: 10;

  filter:
    drop-shadow(0 0 8px gold)
    drop-shadow(0 0 15px orange);

  animation: pulseBtn 1.2s infinite;

  transition: transform 0.15s ease;
}

@keyframes pulseBtn {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* 🟣 OVERLAY */
/* 🌌 OVERLAY (плавний) */
.overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.0); /* старт прозорий */
  backdrop-filter: blur(0px);  /* 🔥 blur */

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;

  transition: 
    background 0.5s ease,
    backdrop-filter 0.5s ease,
    opacity 0.5s ease;

  z-index: 9999;
}

/* 🔥 АКТИВНИЙ СТАН */
.overlay.show {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px); /* 🔥 розмиття */
  opacity: 1;
  pointer-events: all;
}

.hidden {
  display: none !important;
}

/* 🎉 POPUP */
.popup-box {
  text-align: center;

  transform: scale(0.6);
  opacity: 0;

  animation: popupIn 0.5s ease forwards;
}

/* ✨ текст */
.popup-box h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 32px;

  color: #ffd700;

  text-shadow:
    0 0 10px gold,
    0 0 20px orange,
    0 0 40px gold;

  animation: popText 0.6s ease;
}

@keyframes popText {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 🔘 кнопка */
#goBtn {
  margin-top: 20px;

  transform: scale(0.8);

  animation: btnPop 0.5s ease 0.2s forwards,
             pulseBtn 1.2s infinite 0.7s;
}

/* popup поява */
@keyframes popupIn {
  0% {
    transform: scale(0.6) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* текст пульсує */
@keyframes glowText {
  from { text-shadow: 0 0 10px gold; }
  to   { text-shadow: 0 0 25px gold, 0 0 50px orange; }
}

/* кнопка вилазить */
@keyframes btnPop {
  to {
    transform: scale(1);
  }
}

/* кнопка дихає */
@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* КНОПКА ЗАБРАТИ */
#goBtn {
  width: 85%;
  max-width: 320px;
  padding: 18px;
  font-size: 22px;
  border-radius: 20px;
  border: none;

  background: linear-gradient(to bottom, #ffd700, #ff9900);
  color: black;
  font-weight: bold;

  box-shadow:
    0 8px 0 #b8860b,
    0 0 30px gold;
}

#goBtn {
  font-family: 'Luckiest Guy', cursive;
  letter-spacing: 2px;

  background: linear-gradient(to bottom, #ffd700, #ff9900);

  box-shadow:
    0 8px 0 #b8860b,
    0 0 30px gold;

  animation: pulseBtn 1s infinite;
}

@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}


/* ===== ТЕКСТ (ЧИТАБЕЛЬНИЙ) ===== */
.popup-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 34px;

  color: #ffd700;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.8),
    0 0 10px rgba(255,215,0,0.8);

  letter-spacing: 1px;
}

/* ===== КНОПКА COBRAR ===== */
#goBtn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;

  font-size: 50px; /* 🔥 більше */
  letter-spacing: 2px;

  padding: 22px 40px;

  border-radius: 30px;
  border: none;

  background: linear-gradient(to bottom, #ffd700, #ff9900);
  color: black;

  box-shadow:
    0 8px 0 #b8860b,
    0 0 20px rgba(255,215,0,0.9);

  transition: 0.2s;
}

#goBtn:hover {
  transform: scale(1.05);
}
