/* ============================================================
   Radiant Reel — Main Stylesheet
   Free Social Casino Game | radiantreel.pro
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:     #FFD700;
  --gold2:    #FFA500;
  --dark:     #0a0118;
  --dark2:    #120226;
  --purple:   #2d0a5a;
  --purple2:  #4a1a8c;
  --cyan:     #00f5ff;
  --pink:     #ff00aa;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, #0a0118 0%, #120226 40%, #1a0535 70%, #0d0120 100%);
  min-height: 100vh;
  color: #e8d5ff;
}

h1, h2, h3, h4, .logo-font {
  font-family: 'Orbitron', monospace;
}

a { text-decoration: none; }

img { max-width: 100%; display: block; }

/* ── Utility ── */
.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-border {
  border: 1px solid rgba(255,215,0,0.4);
  box-shadow: 0 0 15px rgba(255,215,0,0.15), inset 0 0 15px rgba(255,215,0,0.05);
}

.neon-border-cyan {
  border: 1px solid rgba(0,245,255,0.3);
  box-shadow: 0 0 15px rgba(0,245,255,0.1);
}

/* ── Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #0a0118;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,215,0,0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255,215,0,0.1);
  box-shadow: 0 0 15px rgba(255,215,0,0.3);
}

/* ── Cards ── */
.card-glow {
  background: linear-gradient(135deg, rgba(45,10,90,0.8), rgba(18,2,38,0.9));
  border: 1px solid rgba(255,215,0,0.2);
  transition: all 0.3s;
}

.card-glow:hover {
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 0 25px rgba(255,215,0,0.2);
  transform: translateY(-3px);
}

/* ── Nav ── */
nav {
  background: linear-gradient(90deg, rgba(10,1,24,0.95), rgba(18,2,38,0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0.75rem 1.5rem;
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  transition: transform 0.3s;
}

.nav-logo:hover img { transform: scale(1.1); }

.nav-logo span {
  font-family: 'Orbitron', monospace;
  font-size: 1.125rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #e9d5ff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link:hover { color: var(--gold); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255,215,0,0.15);
}

.nav-mobile-menu.open { display: flex; }

/* ── Hero ── */
.hero-bg {
  background:
    radial-gradient(ellipse at center, rgba(74,26,140,0.4) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 50%, rgba(0,245,255,0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0a0118 0%, #120226 100%);
  position: relative;
  overflow: hidden;
}

/* ── Reel Symbol ── */
.reel-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(45,10,90,0.9), rgba(18,2,38,0.95));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 8px;
}

/* ── Game Frame ── */
.game-frame-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255,215,0,0.3), 0 0 100px rgba(74,26,140,0.4);
  border: 2px solid rgba(255,215,0,0.4);
}

.game-frame-wrapper iframe {
  display: block;
  border: none;
  width: 100%;
  height: 600px;
  min-height: 500px;
}

/* ── FAQ ── */
.faq-item {
  background: linear-gradient(135deg, rgba(45,10,90,0.6), rgba(18,2,38,0.8));
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(255,215,0,0.35); }

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #e9d5ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.faq-toggle .faq-icon {
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: #c4b5fd;
  line-height: 1.7;
}

.faq-body.open { display: block; }

/* ── Footer ── */
footer {
  background: linear-gradient(180deg, rgba(10,1,24,0.98), #000);
  border-top: 1px solid rgba(255,215,0,0.2);
  padding: 3.5rem 1.5rem 1.5rem;
}

/* ── Warning Box ── */
.warning-box {
  background: rgba(120, 53, 15, 0.2);
  border: 1px solid rgba(202, 138, 4, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fde68a;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
}

/* ── Page wrapper ── */
.page-section {
  min-height: 100vh;
  padding-top: 80px;
}

/* ── Form inputs ── */
.form-input {
  width: 100%;
  background: rgba(88, 28, 135, 0.2);
  border: 1px solid rgba(109, 40, 217, 0.4);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder { color: #7c3aed; }
.form-input:focus { border-color: var(--gold); }

.form-label {
  display: block;
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ── Animations ── */
.spin-animation {
  animation: spinReel 4s linear infinite;
}

@keyframes spinReel {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
  50%       { box-shadow: 0 0 40px rgba(255,215,0,0.7), 0 0 60px rgba(255,165,0,0.3); }
}

.floating {
  animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.star-field {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}

/* ── Responsible gaming logos ── */
.rg-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.rg-logo-link {
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.rg-logo-link:hover {
  opacity: 1;
  transform: scale(1.05);
}

.rg-logo-link img {
  height: 40px;
  object-fit: contain;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links       { display: none; }
  .nav-mobile-toggle { display: block; }

  .hero-title { font-size: 2.5rem; }

  .game-frame-wrapper iframe { height: 420px; }

  .grid-2col { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .nav-mobile-menu  { display: none !important; }
  .grid-2col { grid-template-columns: 1fr 1fr; }
}

/* ── Active page link highlight ── */
.nav-link.active { color: var(--gold); }
