/* ==========================================================================
   CASINORUSH.SHOP - Casino Mathematics & Probability
   Modern, Professional, Responsive CSS Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. ROOT VARIABLES & RESET
   ========================================================================== */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #a98b2c;
  --background: #f5f5f5;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --border-light: #e0e0e0;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.12);
  --shadow-lg: 0 8px 24px rgba(26, 26, 46, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.25rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

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

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

a:hover,
a:focus {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */

.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo .accent-text {
  color: var(--accent);
}

.tagline {
  display: none;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.nav a:hover,
.nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(169, 139, 44, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero .casino-icon {
  width: 64px;
  height: 64px;
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .tagline {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #9a7e24;
  border-color: #9a7e24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-small {
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
}

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

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

/* ==========================================================================
   6. SECTION LAYOUT
   ========================================================================== */

.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-top: 0;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 4rem 0;
  opacity: 0.5;
}

.section.light-bg {
  background-color: var(--background);
}

.section.dark-bg {
  background-color: var(--primary);
  color: var(--white);
}

.section.dark-bg h2,
.section.dark-bg h3,
.section.dark-bg h4 {
  color: var(--white);
}

.section.dark-bg p {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   7. CARDS
   ========================================================================== */

.card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height
