/* YonoSuper Pro - Professional Mobile-First Luxury Gaming Portal CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #090d16;
  --bg-card: #111726;
  --bg-card-hover: #161e31;
  --border-subtle: #1e293b;
  --border-gold: rgba(234, 179, 8, 0.3);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --gold-glow: 0 0 25px rgba(245, 158, 11, 0.25);
  --green-btn: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --green-glow: 0 4px 20px rgba(34, 197, 94, 0.35);
  --telegram-blue: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  color: #f1f5f9;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Luxury Glass Cards */
.casino-card {
  background: linear-gradient(145deg, rgba(22, 30, 49, 0.95) 0%, rgba(15, 21, 35, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

/* Top Podium Cards */
.podium-gold {
  background: linear-gradient(145deg, rgba(38, 28, 10, 0.95) 0%, rgba(18, 22, 36, 0.98) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
}

.podium-silver {
  background: linear-gradient(145deg, rgba(30, 36, 50, 0.95) 0%, rgba(15, 21, 35, 0.98) 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.4);
}

.podium-bronze {
  background: linear-gradient(145deg, rgba(40, 25, 18, 0.95) 0%, rgba(15, 21, 35, 0.98) 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.4);
}

/* Download Button Glow */
.btn-download {
  background: var(--green-btn);
  box-shadow: var(--green-glow);
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.55);
  transform: translateY(-1px);
}

.btn-download:active {
  transform: translateY(1px);
}

/* Telegram VIP Button */
.btn-telegram {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.55);
}

/* Spin Wheel Trigger Button */
.btn-spin-trigger {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #f59e0b 100%);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Red Packet Lifafa Card */
.red-packet-card {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #450a0a 100%);
  border: 1.5px solid rgba(252, 211, 77, 0.4);
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.3);
}

.red-packet-pulse {
  animation: packetPulse 2s infinite ease-in-out;
}

@keyframes packetPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Referral Code Copy Pill */
.btn-refer {
  background: rgba(15, 23, 42, 0.85);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  transition: all 0.2s ease;
}

.btn-refer:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
}

/* Category Tab Pill Active */
.cat-pill-active {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  border-color: #fef08a !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4) !important;
}

/* Marquee Ticker */
@keyframes tickerAnim {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-move {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerAnim 40s linear infinite;
}

.ticker-move:hover {
  animation-play-state: paused;
}

/* Utility */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Lucky Wheel Canvas Container */
.wheel-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .wheel-container {
    width: 320px;
    height: 320px;
  }
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 38px;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* Receipt Paper Graphic */
.receipt-card {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.receipt-card::before, .receipt-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-size: 12px 6px;
}
