/* ===================================
   ROLLUP DICE.SHOP - CASINO EDUCATION
   Blackjack Basic Strategy
   =================================== */

/* Reset & Root Variables */
:root {
  --primary: #7c7c87;
  --secondary: #16213e;
  --accent: #00d4ff;
  --background: #0f3460;
  --text: #e8e8e8;
  --text-dark: #1a1a1a;
  --card-bg: #1a2a4a;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 24px rgba(0, 212, 255, 0.15);
  --radius: 8px;
  --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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.3px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.5em;
}

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

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.375rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.125rem;
  color: var(--text);
  opacity: 0.95;
}

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

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

/* SVG Icons */
.casino-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  fill: currentColor;
  color: var(--accent);
}

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

/* Header & Navigation */
.header {
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(22, 33, 62, 0.95) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

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

.brand h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  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-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #0a1f35 50%, var(--background) 100%);
  padding: 6rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%) 1;
}

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

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

.hero h1 {
  font-size: 3.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 500;
}

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

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00b8d4 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00e6ff 0%, #00d0e0 100%);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

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

/* Main Content */
.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.section:last-of-type {
  border-bottom: none;
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--primary);
  margin-top: 2rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

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

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header .casino-icon {
  flex-shrink: 0;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--accent);
}

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

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.05);
  background: rgba(0, 212, 255, 0.02);
}

.card p {
  margin-bottom: 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article {
  background: var(
