/* ============================================================
   Ashley Slots – Unified CSS
   Extracted from all 4 static HTML pages
   ============================================================ */

/* ── Custom Scrollbar ─────────────────────────────────────── */
.ashley-page ::-webkit-scrollbar { width: 6px; height: 6px; }
.ashley-page ::-webkit-scrollbar-track { background: #0a0a1a; }
.ashley-page ::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 3px; }

/* ── Glass Card Effect ────────────────────────────────────── */
.ashley-page .glass {
  background: rgba(15, 15, 40, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.15);
}
.ashley-page .glass-light {
  background: rgba(20, 20, 50, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Neon Border on Hover ─────────────────────────────────── */
.ashley-page .neon-border {
  position: relative;
  overflow: hidden;
}
.ashley-page .neon-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #7c3aed, #ec4899, #3b82f6, #7c3aed);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.8s ease;
}
.ashley-page .neon-border:hover::before {
  opacity: 1;
  animation: ashley-border-glow 3s linear infinite;
}
@keyframes ashley-border-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Hero Background ──────────────────────────────────────── */
.ashley-page .hero-bg {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a1a 0%, #0f0f2e 50%, #0a0a1a 100%);
}

/* ── CTA Shimmer ──────────────────────────────────────────── */
.ashley-page .btn-shimmer {
  background-size: 200% 100%;
  animation: ashley-shimmer 2s linear infinite;
}

/* ── Platform Card Glow ───────────────────────────────────── */
.ashley-page .platform-card {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ashley-page .platform-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 60px rgba(168, 85, 247, 0.2), 0 20px 40px rgba(0,0,0,0.4);
}
.ashley-page .platform-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* ── Hot Games Scroll ─────────────────────────────────────── */
.ashley-page .games-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ashley-page .games-scroll::-webkit-scrollbar { display: none; }

/* ── Activity Ticker ──────────────────────────────────────── */
.ashley-page .ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.ashley-page .ticker {
  display: inline-flex;
  animation: ashley-marquee 30s linear infinite;
}

/* ── Section Fade-in on Scroll ────────────────────────────── */
.ashley-page .fade-section {
  opacity: 0;
  transform: translateY(30px);
  animation: ashley-fade-in 0.7s ease forwards;
}
.ashley-page .fade-section.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
@keyframes ashley-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.ashley-page .mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ashley-page .mobile-menu.open {
  transform: translateX(0);
}

/* ── Particle Canvas ──────────────────────────────────────── */
.ashley-page #particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Neon Text Glow ───────────────────────────────────────── */
.ashley-page .text-glow {
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.3), 0 0 80px rgba(168, 85, 247, 0.15);
}
.ashley-page .text-glow-gold {
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.3), 0 0 80px rgba(250, 204, 21, 0.15);
}

/* ── Card Shimmer Overlay ─────────────────────────────────── */
.ashley-page .card-shimmer {
  position: relative;
  overflow: hidden;
}
.ashley-page .card-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: ashley-card-shine 3s ease-in-out infinite;
}
@keyframes ashley-card-shine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* ── Game Card Enhanced Hover ─────────────────────────────── */
.ashley-page .game-card-enhanced {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ashley-page .game-card-enhanced:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4), 0 15px 30px rgba(0,0,0,0.5);
}

/* ── Pulsating CTA Button ─────────────────────────────────── */
.ashley-page .btn-mega-pulse {
  animation: ashley-mega-pulse 2s ease-in-out infinite;
}
@keyframes ashley-mega-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(236, 72, 153, 0.4), 0 0 60px rgba(168, 85, 247, 0.2); }
  50% { box-shadow: 0 0 40px rgba(236, 72, 153, 0.7), 0 0 80px rgba(168, 85, 247, 0.4), 0 0 120px rgba(236, 72, 153, 0.2); }
}

/* ── Floating Coins ───────────────────────────────────────── */
.ashley-page .coin {
  position: absolute;
  font-size: 1.5rem;
  animation: ashley-coin-float linear infinite;
  opacity: 0.4;
  z-index: 1;
}
@keyframes ashley-coin-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ── Ticker Item ──────────────────────────────────────────── */
.ashley-page .ticker-item {
  transition: all 0.3s ease;
}
.ashley-page .ticker-item:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.4);
}

/* ── Stat Card ────────────────────────────────────────────── */
.ashley-page .stat-card {
  transition: all 0.3s ease;
}
.ashley-page .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* ── Ripple Click Effect ──────────────────────────────────── */
.ashley-page .ripple {
  position: relative;
  overflow: hidden;
}
.ashley-page .ripple::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.ashley-page .ripple:active::before {
  opacity: 1;
}

/* ── Marquee Animations ───────────────────────────────────── */
.ashley-page .marquee-reverse {
  animation: ashley-marquee-reverse 18s linear infinite;
}
@keyframes ashley-marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
.ashley-page .marquee-forward {
  animation: ashley-marquee-forward 18s linear infinite;
}
@keyframes ashley-marquee-forward {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.ashley-page .marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.ashley-page .marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

/* ── Winner Badge Pulse ───────────────────────────────────── */
.ashley-page .winner-pulse {
  animation: ashley-winner-glow 1.5s ease-in-out infinite alternate;
}
@keyframes ashley-winner-glow {
  0% { box-shadow: 0 0 10px rgba(250, 204, 21, 0.3); }
  100% { box-shadow: 0 0 25px rgba(250, 204, 21, 0.6), 0 0 50px rgba(250, 204, 21, 0.2); }
}

/* ── Scroll Reveal Stagger ────────────────────────────────── */
.ashley-page .stagger-1 { transition-delay: 0.1s; }
.ashley-page .stagger-2 { transition-delay: 0.2s; }
.ashley-page .stagger-3 { transition-delay: 0.3s; }
.ashley-page .stagger-4 { transition-delay: 0.4s; }

/* ── Animated Gradient Card Border (Login/Register) ───────── */
.ashley-page .card-border {
  position: relative;
  border-radius: 1.5rem;
}
.ashley-page .card-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle, 0deg),
    #7c3aed, #ec4899, #3b82f6, #06b6d4, #7c3aed
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ashley-spin-border 4s linear infinite;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes ashley-spin-border {
  to { --angle: 360deg; }
}

/* ── Input Glow on Focus ──────────────────────────────────── */
.ashley-page .input-glow {
  transition: all 0.3s ease;
}
.ashley-page .input-glow:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25), 0 0 20px rgba(124, 58, 237, 0.15);
}

/* ── Password Toggle ──────────────────────────────────────── */
.ashley-page .eye-btn { transition: color 0.2s ease; }
.ashley-page .eye-btn:hover { color: #a855f7; }

/* ── Card Entrance Animation ──────────────────────────────── */
.ashley-page .card-entrance {
  animation: ashley-card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes ashley-card-pop {
  0% { opacity: 0; transform: scale(0.9) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Floating Bonus Badge ─────────────────────────────────── */
.ashley-page .bonus-badge {
  animation: ashley-badge-float 3s ease-in-out infinite, ashley-badge-glow 2s ease-in-out infinite alternate;
}
@keyframes ashley-badge-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes ashley-badge-glow {
  0% { box-shadow: 0 0 15px rgba(250, 204, 21, 0.3); }
  100% { box-shadow: 0 0 30px rgba(250, 204, 21, 0.6), 0 0 60px rgba(250, 204, 21, 0.2); }
}

/* ── Floating Particles (Login/Register) ──────────────────── */
.ashley-page .login-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: ashley-particle-drift linear infinite;
}
@keyframes ashley-particle-drift {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 1; transform: scale(1); }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100vh) scale(0.5); }
}

/* ── Password Strength Bar ────────────────────────────────── */
.ashley-page .strength-bar {
  height: 3px;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* ── Collapsible Referral ─────────────────────────────────── */
.ashley-page .referral-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.ashley-page .referral-body.open {
  max-height: 120px;
  opacity: 1;
}
.ashley-page .chevron-icon {
  transition: transform 0.3s ease;
}
.ashley-page .chevron-icon.rotated {
  transform: rotate(180deg);
}

/* ── Confetti (Register page) ─────────────────────────────── */
.ashley-page .confetti-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  animation: ashley-confetti-fall 4s ease-in infinite;
}
@keyframes ashley-confetti-fall {
  0% { opacity: 1; transform: translateY(-20px) rotate(0deg); }
  100% { opacity: 0; transform: translateY(100px) rotate(720deg); }
}

/* ══════════════════════════════════════════════════════════════
   DASHBOARD-SPECIFIC STYLES
   ══════════════════════════════════════════════════════════════ */

.ashley-dashboard { height: 100%; overflow: hidden; }

/* ── Hide Scrollbar but Keep Scroll ───────────────────────── */
.ashley-page .no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.ashley-page .no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Screen Transitions ───────────────────────────────────── */
.ashley-page .screen { display: none; }
.ashley-page .screen.active { display: flex; }

/* ── Chat Bubbles ─────────────────────────────────────────── */
.ashley-page .bubble-agent {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 18px 18px 18px 4px;
}
.ashley-page .bubble-user {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 18px 18px 4px 18px;
}

/* ── Typing Indicator ─────────────────────────────────────── */
.ashley-page .typing-dot {
  animation: ashley-typing 1.4s infinite;
}
.ashley-page .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ashley-page .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ashley-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ── Cashout Item Animation ───────────────────────────────── */
.ashley-page .cashout-item {
  animation: ashley-cashout-in 0.5s ease-out both;
}
@keyframes ashley-cashout-in {
  0% { opacity: 0; transform: translateX(-20px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Safe Area for iOS ────────────────────────────────────── */
.ashley-page .safe-bottom {
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 8px);
}

/* ── Balance Pulsating Glow ───────────────────────────────── */
.ashley-page .balance-glow {
  animation: ashley-balance-pulse 2s ease-in-out infinite alternate;
}
@keyframes ashley-balance-pulse {
  0% { text-shadow: 0 0 10px rgba(250, 204, 21, 0.3); }
  100% { text-shadow: 0 0 25px rgba(250, 204, 21, 0.7), 0 0 50px rgba(250, 204, 21, 0.3); }
}

/* ── Deposit Button Pulse ─────────────────────────────────── */
.ashley-page .deposit-pulse {
  animation: ashley-deposit-glow 1.5s ease-in-out infinite;
}
@keyframes ashley-deposit-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.6), 0 0 50px rgba(34, 197, 94, 0.2); }
}

/* ── Game Card Hover ──────────────────────────────────────── */
.ashley-page .game-card {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ashley-page .game-card:hover,
.ashley-page .game-card:active {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 10px 20px rgba(0,0,0,0.4);
}

/* ── Offer Card Shimmer ───────────────────────────────────── */
.ashley-page .offer-shimmer {
  position: relative;
  overflow: hidden;
}
.ashley-page .offer-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: ashley-card-shine 3s ease-in-out infinite;
}

/* ── Cashout Item Enhanced ────────────────────────────────── */
.ashley-page .cashout-item-enhanced {
  animation: ashley-cashout-in 0.5s ease-out both;
  transition: all 0.3s ease;
}
.ashley-page .cashout-item-enhanced:first-child {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

/* ── Nav Tab Active Glow ──────────────────────────────────── */
.ashley-page .nav-tab-glow {
  position: relative;
}
.ashley-page .nav-tab-glow.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

/* ── Quick Action Bounce on Tap ───────────────────────────── */
.ashley-page .action-bounce:active {
  transform: scale(0.9);
  transition: transform 0.1s;
}

/* ── Play Now Button Pulse ────────────────────────────────── */
.ashley-page .play-btn-pulse {
  animation: ashley-play-pulse 2s ease-in-out infinite;
}
@keyframes ashley-play-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 30px rgba(236, 72, 153, 0.6), 0 0 60px rgba(168, 85, 247, 0.3); }
}

/* ── Hero Banner Depth ────────────────────────────────────── */
.ashley-page .hero-depth {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(124, 58, 237, 0.15);
}

/* ── Onboarding Tour Spotlight ────────────────────────────── */
.ashley-page .tour-spotlight-ring {
    border-radius: 14px;
    border: 2px solid rgba(168, 85, 247, 0.9);
    animation: tour-spotlight-pulse 1.6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes tour-spotlight-pulse {
    0% {
        border-color: rgba(168, 85, 247, 0.8);
        box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15),
                    0 0 24px rgba(168, 85, 247, 0.2),
                    inset 0 0 40px rgba(168, 85, 247, 0.04);
    }
    100% {
        border-color: rgba(236, 72, 153, 1);
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0.2),
                    0 0 40px rgba(236, 72, 153, 0.35),
                    inset 0 0 60px rgba(236, 72, 153, 0.07);
    }
}

/* ── RGB Casino Ring (floating center nav button) ─────────── */
@keyframes rgb-casino-ring {
    0%   { border-color: #ff0040; box-shadow: 0 0 14px 4px #ff004099, 0 0 30px 8px #ff004033; }
    16%  { border-color: #ff7700; box-shadow: 0 0 14px 4px #ff770099, 0 0 30px 8px #ff770033; }
    33%  { border-color: #ffee00; box-shadow: 0 0 14px 4px #ffee0099, 0 0 30px 8px #ffee0033; }
    50%  { border-color: #00ff88; box-shadow: 0 0 14px 4px #00ff8899, 0 0 30px 8px #00ff8833; }
    66%  { border-color: #00aaff; box-shadow: 0 0 14px 4px #00aaff99, 0 0 30px 8px #00aaff33; }
    83%  { border-color: #cc00ff; box-shadow: 0 0 14px 4px #cc00ff99, 0 0 30px 8px #cc00ff33; }
    100% { border-color: #ff0040; box-shadow: 0 0 14px 4px #ff004099, 0 0 30px 8px #ff004033; }
}
.ashley-page .rgb-casino-ring {
    border: 3px solid #ff0040;
    animation: rgb-casino-ring 3s linear infinite;
}

/* ── Generic Keyframes ────────────────────────────────────── */
@keyframes ashley-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes ashley-marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ── Animations used in Tailwind config inline ────────────── */
.ashley-page .animate-glow-pulse {
  animation: ashley-glow-pulse 2s ease-in-out infinite alternate;
}
@keyframes ashley-glow-pulse {
  0% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 60px rgba(168, 85, 247, 0.1); }
  100% { box-shadow: 0 0 30px rgba(236, 72, 153, 0.6), 0 0 80px rgba(236, 72, 153, 0.2); }
}
.ashley-page .animate-slide-up {
  animation: ashley-slide-up 0.6s ease-out;
}
@keyframes ashley-slide-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.ashley-page .animate-float {
  animation: ashley-float 3s ease-in-out infinite;
}
@keyframes ashley-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.ashley-page .animate-shimmer {
  animation: ashley-shimmer 2s linear infinite;
  background-size: 200% 100%;
}
.ashley-page .animate-slide-left {
  animation: ashley-slide-left 0.3s ease-out;
}
@keyframes ashley-slide-left {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
.ashley-page .animate-slide-right {
  animation: ashley-slide-right 0.3s ease-out;
}
@keyframes ashley-slide-right {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}
.ashley-page .animate-fade-in {
  animation: ashley-fade-in 0.3s ease-out;
}
@keyframes ashley-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
