/* ============================================================================
   CASINOFIRE.SHOP - POKER STRATEGY EDUCATIONAL WEBSITE
   Complete Responsive CSS Stylesheet
   ============================================================================ */

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

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

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #ab8e2c;
  --background: #f8f9fa;
  --text: #1a1a2e;
  --text-light: #555555;
  --border-light: #e0e0e0;
  --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 ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

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

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

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

/* ============================================================================
   3. COMMON COMPONENTS
   ============================================================================ */

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

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

.section:nth-child(even) {
  background-color: #ffffff;
}

.section:nth-child(odd) {
  background-color: var(--background);
}

/* Section divider with gradient */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section:last-child::after {
  display: none;
}

/* ============================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ============================================================================ */

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

.btn-primary, .button-primary {
  background-color: var(--accent);
  color: #ffffff;
}

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

.btn-secondary, .button-secondary {
  background-color: var(--primary);
  color: #ffffff;
}

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

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

.btn-outline:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ============================================================================
   5. CARD COMPONENTS
   ============================================================================ */

.card {
  background-color: #ffffff;
  border-radius: 6px;
  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-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background-color: #fafbfc;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
}

.card-footer {
  padding: 1.5rem;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.card-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--background);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ============================================================================
   6. NAVIGATION
   ============================================================================ */

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

.tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

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

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

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

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

/* ============================================================================
   7. HERO SECTION
   ============================================================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  color: #ffffff;
  padding: 6rem 0;
  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(171, 142, 44, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

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

.hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.hero .casino-icon {
  width: 64px;
  height: 64px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ============================================================================
   8. BLOG & ARTICLE COMPONENTS
   ============================================================================ */

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
}

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

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--background);
}

.article-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight
