/* ============================================
   CHIPGLOW.SHOP - CASINO EDUCATION PLATFORM
   Blackjack Basic Strategy Stylesheet
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

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

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

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #1a1a2e;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a2e;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

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

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #2d2d44;
}

a {
  color: #ab8e2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8b7020;
}

/* ============================================
   3. SPACING UTILITIES
   ============================================ */

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

.section {
  padding: 4rem 0;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1a1a2e 0%, #ab8e2c 50%, #1a1a2e 100%);
  margin: 3rem 0;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.header {
  background-color: #1a1a2e;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ab8e2c;
  font-family: 'IBM Plex Serif', Georgia, serif;
  letter-spacing: 1px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  display: inline-block;
}

.tagline {
  display: none;
  font-size: 0.75rem;
  color: #8b7020;
  font-style: italic;
  margin-top: 2px;
}

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

.nav li a {
  color: #f8f9fa;
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav li a:hover {
  border-bottom-color: #ab8e2c;
  color: #ab8e2c;
}

.nav li a.active {
  border-bottom-color: #ab8e2c;
  color: #ab8e2c;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ab8e2c;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   5. HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  color: #f8f9fa;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(171, 142, 44, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero h1 {
  color: #f8f9fa;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: #d4d4d8;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .casino-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

/* ============================================
   6. BUTTONS & CTA
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: #ab8e2c;
  color: #f8f9fa;
}

.btn-primary:hover {
  background-color: #8b7020;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(171, 142, 44, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #ab8e2c;
  border: 2px solid #ab8e2c;
}

.btn-secondary:hover {
  background-color: #ab8e2c;
  color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(171, 142, 44, 0.3);
}

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

/* ============================================
   7. CARDS & CONTENT BLOCKS
   ============================================ */

.card {
  background: #ffffff;
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-top: 4px solid #ab8e2c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.casino-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 16px;
  flex-shrink: 0;
}

.card-title {
  margin: 0;
  font-size: 1.5rem;
}

.card-content {
  margin-top: 1.5rem;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

/* ============================================
   8. GRID LAYOUTS
   ============================================ */

.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================
   9. BLOG & ARTICLE STYLES
   ============================================ */

.blog-list {
  list-style: none;
}

.blog-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.blog-item:last-child {
  border-bottom: none;
}

.article {
  background: #ffffff;
  padding: 2rem;
  border-radius: 4px;
  border-top: 4px solid #ab8e2c;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.article-date,
.article-author,
.article-category {
  display: flex;
  align-items: center;
}

.article-category {
  display: inline-block;
  background-color: #f0f0f0;
  color: #1a1a2e;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-
