/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   PAGE BASE
========================= */
html,
body {
  width: 100%;
  min-height: 100%;
  background:#070707;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto; /* Allow slight scroll for Safari UI */
  -webkit-overflow-scrolling: touch;
}

body {
  position: relative;
}

/* =========================
   MAIN CLICKABLE AREA
========================= */
.full-link {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  background:#070707;
  z-index: 5;
}

/* =========================
   MAIN IMAGE
========================= */
img {
  display: block;
  width: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center top;
  background: #0a0706;
  animation: none !important;
  transform: none !important;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  img {
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center top;
  }



  .notification {
    min-width: 210px;
    max-width: 82%;
    padding: 12px 16px;
  }

  .win-name {
    font-size: 16px;
  }

  .win-text {
    font-size: 13px;
  }

  .win-amount {
    font-size: 22px;
  }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 769px) {
  img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center top;
  }
}

/* =========================
   BROWN-GOLD PREMIUM GLOW (FIXED)
========================= */
.overlay-glow{
position: fixed;
inset: 0;
pointer-events: none;
z-index: 10;

background:
radial-gradient(circle at center,
rgba(255,200,120,0.16),
rgba(120,70,20,0.12) 35%,
transparent 75%
),
radial-gradient(circle at top right,
rgba(200,140,60,0.10),
transparent 60%
),
radial-gradient(circle at bottom left,
rgba(150,90,30,0.10),
transparent 60%
);

filter: blur(40px);
opacity:.85;

animation: glowPulse 6s ease-in-out infinite alternate;
}


/* =========================
   SHINE EFFECT (SOFT LIGHT)
========================= */
.shine{
position:fixed;
top:-50%;
left:-50%;
width:200%;
height:200%;
pointer-events:none;
z-index:9;

background:linear-gradient(
120deg,
transparent 40%,
rgba(255,255,255,.025) 50%,
transparent 60%
);

animation:shineMove 12s linear infinite;
}

/* =========================
   FALLING COINS
========================= */
.coin {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, gold, #b8860b);
  box-shadow: 0 0 6px gold;
  opacity: 0.28;
  pointer-events: none;
  z-index: 11;
  animation: fall linear forwards;
}

/* =========================
   WIN POPUP
========================= */
.notification {
  position: fixed;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.72);
  background: linear-gradient(
    135deg,
    rgba(18,18,18,0.38),
    rgba(38,38,38,0.38)
  );
  padding: 16px 22px;
  border-radius: 18px;
  border: 1.5px solid rgba(255,215,0,0.22);
  box-shadow:
    0 0 14px rgba(255,215,0,0.14),
    0 0 28px rgba(255,140,0,0.08),
    inset 0 0 14px rgba(255,255,255,0.02);
  backdrop-filter: blur(7px);
  z-index: 20;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  min-width: 240px;
  font-family: 'Cinzel', serif;
  opacity: 0.9;
  animation: chestWin 4.2s ease-out forwards;
}

.win-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.win-text {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 3px;
}

.win-amount {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

/* =========================
   WHITE SPARKLES
========================= */
.sparkle {
  position: fixed;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 12;
  box-shadow:
    0 0 8px white,
    0 0 16px rgba(255,255,255,0.6),
    0 0 24px rgba(255,255,255,0.25);
  animation: sparkleFloat 2.5s ease-out forwards;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes glowPulse {
  from { opacity: 0.28; }
  to { opacity: 0.7; }
}

@keyframes shineMove {
  from { transform: rotate(25deg) translateX(-35%); }
  to { transform: rotate(25deg) translateX(35%); }
}

@keyframes fall {
  to {
    transform: translateY(120vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-50px) scale(0.25);
    opacity: 0;
  }
}

@keyframes chestWin {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
  12% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.76);
  }
  22% {
    transform: translate(-50%, -50%) scale(0.72);
  }
  75% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
  }
}

body::before{
content:"";
position:fixed;
inset:0;
pointer-events:none;
z-index:1;

background:
radial-gradient(circle at 50% 120%,
rgba(160,60,255,0.12),
transparent 70%);

filter:blur(80px);
}