/* ===========================
   EXTRA EFFECTS & POLISH
=========================== */

/* NEON SCAN LINE EFFECT */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9997;
}

/* GLOWING BORDERS ON HOVER */
.event-card:hover .event-odds .odd-btn:not(:hover) {
  opacity: 0.85;
}

/* ODDS CHANGE ANIMATION */
.odd-val.updating {
  animation: oddsUpdate 0.4s ease;
}

@keyframes oddsUpdate {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* LIVE DOT CHAIN */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot-chain {
  display: flex;
  gap: 3px;
}

.live-dot-chain span {
  width: 5px;
  height: 5px;
  background: #ef4444;
  border-radius: 50%;
  animation: dotChain 1.2s ease-in-out infinite;
}

.live-dot-chain span:nth-child(2) { animation-delay: 0.2s; }
.live-dot-chain span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotChain {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* SHIMMER LOADING */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmerAnim 1.5s ease-in-out infinite;
}

@keyframes shimmerAnim {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

/* RIPPLE EFFECT */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* HOVER GLOW CARD */
.event-card:hover {
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.5),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(124,58,237,0.15);
}

/* FLOATING ANIMATION FOR HERO GLOBE */
.hero-globe {
  animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* NEON TEXT GLOW */
.neon-text {
  text-shadow:
    0 0 10px currentColor,
    0 0 20px currentColor,
    0 0 40px currentColor;
}

/* GRADIENT BORDER */
.gradient-border {
  position: relative;
  background-clip: padding-box;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-main);
  border-radius: inherit;
  z-index: -1;
}

/* FLIP ANIMATION FOR COUNTDOWN */
.flip {
  animation: flipNum 0.3s ease;
}

@keyframes flipNum {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(90deg); opacity: 0.5; }
  100% { transform: rotateX(0); }
}

/* PARTICLE TRAIL CURSOR */
.cursor-trail {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: screen;
}

/* HERO PARTICLE DOTS */
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-dot {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(124,58,237,0.6);
  border-radius: 50%;
  animation: dotDrift linear infinite;
}

@keyframes dotDrift {
  from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* SECTION REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SPORT CATEGORY HOVER EFFECT */
.cat-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}

.cat-btn:hover::after { opacity: 0.1; }

/* SPECIAL EVENT HIGHLIGHT */
.event-card.hot-event {
  border-color: rgba(239, 68, 68, 0.4);
}

.event-card.hot-event::after {
  content: '🔥 ÇOK OYNANAN';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f97316;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  padding: 3px 8px;
}

/* VIP BADGE */
.vip-crown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gradient-gold);
  color: #1a0a00;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* MOBILE NAV */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 20px; height: 2px;
  background: white;
  border-radius: 1px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}

/* SCROLL PROGRESS BAR */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gradient-main);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(124,58,237,0.8);
}
