/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   PAGE BASE
========================= */
html,
body {
  width: 100%;
  min-height: 100%;
  background: #070707;
  font-family: 'Orbitron', Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  -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: #070707;
  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;
  }

  .full-link {
    min-height: 102vh;
  }

  .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;
  }
}

/* =========================
   AVIATOR GLOW OVERLAY
========================= */
.overlay-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,0,0,0.08), transparent 60%),
    radial-gradient(circle at top right, rgba(255,0,0,0.05), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255,0,0,0.04), transparent 40%);
  pointer-events: none;
  z-index: 10;
  animation: glowPulse 5s ease-in-out infinite alternate;
}

/* =========================
   SHINE EFFECT
========================= */
.shine {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,0,0,0.05) 50%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 9;
  animation: shineMove 10s linear infinite;
}

/* =========================
   AVIATOR PARTICLES
========================= */
.coin {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle,#ff3b3b,#8a0000);
  box-shadow:
      0 0 10px rgba(255,0,0,0.6),
      0 0 20px rgba(255,0,0,0.35);
  opacity: 0.35;
  pointer-events: none;
  z-index: 11;
  animation: fall linear forwards;
}

/* =========================
   WIN POPUP (AVIATOR STYLE)
========================= */
.notification {
  position: fixed;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.72);

  background: linear-gradient(
    135deg,
    rgba(15,15,15,0.85),
    rgba(25,25,25,0.85)
  );

  padding: 16px 22px;
  border-radius: 14px;

  border: 1px solid rgba(255,0,0,0.45);

  box-shadow:
    0 0 25px rgba(255,0,0,0.28),
    inset 0 0 12px rgba(255,0,0,0.08);

  backdrop-filter: blur(6px);

  z-index: 20;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  min-width: 240px;

  font-family: 'Orbitron', sans-serif;

  opacity: 0.92;
  animation: chestWin 4.2s ease-out forwards;
}

.win-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ff3b3b;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.win-text {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3px;
}

.win-amount {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

/* =========================
   WHITE SPARKLES
========================= */
.sparkle {
  position: fixed;
  background: rgba(255,80,80,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 12;
  box-shadow:
    0 0 10px rgba(255,0,0,0.8),
    0 0 20px rgba(255,0,0,0.5);
  animation: sparkleFloat 2.5s ease-out forwards;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes glowPulse {
  from { opacity: 0.3; }
  to { opacity: 0.8; }
}

@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.95;
    transform: translate(-50%, -50%) scale(0.76);
  }
  22% {
    transform: translate(-50%, -50%) scale(0.72);
  }
  75% { opacity: 0.95; }
  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);
}