/* Spin Outlaw – Main Stylesheet */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  background: #1A0A2E;
  color: #EDE9FE;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1A0A2E; }
::-webkit-scrollbar-thumb { background: #7C3AED; border-radius: 3px; }

/* Nav glass */
.nav-glass {
  background: rgba(26, 10, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245,197,66,0.3), 0 0 40px rgba(245,197,66,0.1); }
  50%       { box-shadow: 0 0 40px rgba(245,197,66,0.6), 0 0 80px rgba(245,197,66,0.2); }
}
.glow-pulse { animation: glowPulse 2s ease-in-out infinite; }

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0.15;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Symbol bounce */
@keyframes symbolBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}
.symbol-bounce:hover { animation: symbolBounce 0.4s ease; }

/* Hero diagonal */
.hero-diagonal {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: #1A0A2E;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Feature card hover */
.feature-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.35);
}

/* Game iframe glow */
.iframe-glow {
  box-shadow: 0 0 60px rgba(245,197,66,0.25), 0 0 120px rgba(124,58,237,0.2);
}

/* Section divider */
.divider-wave {
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  height: 1px;
  width: 100%;
}

/* Mobile menu animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu-enter { animation: slideDown 0.3s ease; }

/* Star field */
.stars {
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 80px 60px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 140px 90px, rgba(255,255,255,0.25), transparent),
    radial-gradient(2px 2px at 200px 40px, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 260px 70px, rgba(255,255,255,0.3), transparent);
  background-size: 300px 120px;
}

/* FAQ accordion */
.faq-body { overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; }
.faq-body.open   { max-height: 400px; opacity: 1; }
.faq-body.closed { max-height: 0;     opacity: 0; }
