* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #080F1A;
  color: #e2e8f0;
  overflow-x: hidden;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', cursive;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }

::selection {
  background: rgba(255, 140, 0, 0.3);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

select, input, textarea {
  font-family: inherit;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka One', cursive;
  color: white;
  border-radius: 9999px;
  transition: all 200ms;
  cursor: pointer;
  background: linear-gradient(180deg, #FF9A2E 0%, #FF8C42 40%, #E85D04 100%);
  border: 2px solid #FFB347;
  box-shadow: 0 3px 0 #BF360C, 0 4px 10px rgba(0,0,0,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #BF360C, 0 8px 16px rgba(0,0,0,0.35);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #BF360C, 0 2px 6px rgba(0,0,0,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka One', cursive;
  color: white;
  border-radius: 9999px;
  transition: all 200ms;
  cursor: pointer;
  background: linear-gradient(180deg, #14919B 0%, #0D7377 100%);
  border: 2px solid #26A5AF;
  box-shadow: 0 3px 0 #084D50, 0 4px 10px rgba(0,0,0,0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #084D50, 0 8px 16px rgba(0,0,0,0.3);
}

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

.card-dark {
  border-radius: 1rem;
  background: linear-gradient(180deg, #0F1B2D, #1A2A40);
  border: 1px solid rgba(255,255,255,0.06);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFD700, #FFB347, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-teal {
  background: linear-gradient(135deg, #14919B, #26C6DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-top {
  background: transparent;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.header-scrolled {
  background: rgba(8, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-dropdown-menu {
  display: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease;
}

.faq-answer.open {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-chevron {
  transition: transform 200ms ease;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
}

.slot-theme-starburst .slot-title {
  color: #38bdf8 !important;
  text-shadow: 0 0 20px rgba(56,189,248,0.3);
}

.slot-theme-bookofra .slot-title {
  color: #FFD700 !important;
  text-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.slot-theme-sizzlinghot .slot-title {
  color: #FF6B35 !important;
  text-shadow: 0 0 20px rgba(255,107,53,0.3);
}

.slot-cell.stopped {
  animation: cell-land 0.25s ease;
}

@keyframes cell-land {
  0% { transform: translateY(-6px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

.slot-cell.winning {
  animation: cell-glow 0.8s ease infinite alternate;
}

@keyframes cell-glow {
  from { box-shadow: inset 0 0 15px rgba(255,215,0,0.08), 0 0 10px rgba(255,215,0,0.12); }
  to   { box-shadow: inset 0 0 25px rgba(255,215,0,0.12), 0 0 20px rgba(255,215,0,0.22); }
}

.slot-win-big {
  animation: win-pop 0.4s ease;
}

@keyframes win-pop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.slot-win-val.glowing {
  color: #FFD700 !important;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
  animation: win-pulse 0.4s ease 3;
}

@keyframes win-pulse {
  50% { transform: scale(1.2); }
}

.slot-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #BF360C, 0 8px 16px rgba(0,0,0,0.35) !important;
}

.slot-spin:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #BF360C !important;
}

.slot-spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hidden { display: none !important; }

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 3px 0 #BF360C, 0 4px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,140,0,0.4);
  }
  50% {
    box-shadow: 0 3px 0 #BF360C, 0 4px 10px rgba(0,0,0,0.3), 0 0 0 14px rgba(255,140,0,0);
  }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease infinite;
}

.animate-reveal-up {
  animation: reveal-up 0.4s ease;
}
