/* ============================================================================
   CHIPWHIM.SHOP - CASINO INFORMATION WEBSITE
   Roulette Probability & Odds Analysis
   ============================================================================ */

/* ============================================================================
   ROOT & TYPOGRAPHY
   ============================================================================ */

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

:root {
  --primary: #2c1810;
  --secondary: #1a0f0a;
  --accent: #aa8c2c;
  --background: #f8f7f5;
  --text: #1a1a1a;
  --light-gray: #e8e6e0;
  --border-gray: #d4d1ca;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease-in-out;
}

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

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

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

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

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

a:hover {
  color: var(--primary);
}

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

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

.hero .casino-icon {
  width: 64px;
  height: 64px;
}

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

.header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.tagline {
  font-size: 0.75rem;
  color: var(--light-gray);
  font-style: italic;
  margin-top: 0.25rem;
}

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

.nav a {
  color: var(--background);
  font-weight: 500;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: block;
}

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

/* ============================================================================
   HAMBURGER MENU (MOBILE)
   ============================================================================ */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  display: block;
  transition: var(--transition);
}

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(170, 140, 44, 0.1) 0%, transparent 70%);
  animation: floating 20s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, -30px);
  }
}

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

.hero h1 {
  color: var(--background);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.hero p {
  color: var(--light-gray);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .casino-icon {
  margin-bottom: 1rem;
  fill: var(--accent);
}

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

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

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

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

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

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-block {
  display: block;
  width: 100%;
}

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

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

.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
}

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

.section-subtitle {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 2rem;
}

.card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: var(--accent);
}

.card h3 {
  margin-top: 0;
}

.card-content {
  flex-grow: 1;
}

.card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
}

/* ============================================================================
   BLOG LIST & ARTICLES
   ============================================================================ */

.blog-list {
  list-style: none;
  margin-bottom: 2rem;
}

.blog-item {
  background-color: white;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.blog-item-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-item-date {
  display: flex;
  align-items: center;
}

.blog-item-category {
  display: inline-block;
  background
