/* ============================================
   SPARKRICH.SHOP - CASINO INFORMATION WEBSITE
   Understanding Casino Games Through History
   ============================================ */

/* ============================================
   ROOT VARIABLES & RESETS
   ============================================ */

:root {
  --primary: #7c7c87;
  --secondary: #16213e;
  --accent: #ffd700;
  --background: #0f3460;
  --text: #e8e8e8;
  --text-dark: #1a1a1a;
  --card-bg: #1a2f4a;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #ffed4e;
  text-decoration: underline;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #ffed4e;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--text);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

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

/* ============================================
   SVG ICONS
   ============================================ */

.casino-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  transition: var(--transition);
}

.hero .casino-icon {
  width: 64px;
  height: 64px;
  margin-right: 12px;
  margin-bottom: 8px;
}

svg {
  fill: currentColor;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  background-color: rgba(22, 33, 62, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}

.tagline {
  font-size: 0.675rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-top: -0.25rem;
}

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

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

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

/* Mobile Menu */
.nav-menu {
  position: fixed;
  left: -100%;
  top: 80px;
  flex-direction: column;
  background-color: var(--secondary);
  width: 100%;
  text-align: center;
  transition: 0.3s;
  box-shadow: var(--shadow-lg);
  padding: 2rem 0;
}

.nav-menu.active {
  left: 0;
}

.nav-menu a {
  display: block;
  padding: 1.25rem;
  border: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 50%, #1a2f4a 100%);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 124, 135, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .casino-icon {
  display: block;
  margin: 0 auto 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 25%, var(--accent) 75%, transparent 100%);
  margin: 0 auto;
  max-width: 200px;
  opacity: 0.5;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--primary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CARD LAYOUTS
   ============================================ */

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

.card:hover {
  box-shadow: var(--shadow-lg);
