/* ============================================
   PRISMGAME.SHOP - CASINO INFORMATION WEBSITE
   Craps Dice Probability Section
   ============================================ */

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

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: #1a1a2e;
  background-color: #f5f5f5;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #1a1a2e;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-top: 2rem;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem;
  line-height: 1.5;
}

h6 {
  font-size: 1rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 1rem;
  color: #2d3436;
  line-height: 1.8;
}

a {
  color: #009bbb;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
  color: #007a94;
}

/* ============================================
   2. HEADER & NAVIGATION
   ============================================ */

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

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #009bbb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-size: 0.9rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1px;
}

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

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

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

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

/* ============================================
   3. HERO SECTION
   ============================================ */

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

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

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

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

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

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

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

.tagline {
  color: #009bbb;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

/* ============================================
   4. BUTTONS & CTAs
   ============================================ */

.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;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: #009bbb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 155, 187, 0.3);
}

.btn-primary:hover {
  background-color: #007a94;
  box-shadow: 0 6px 16px rgba(0, 155, 187, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #16213e;
  color: #009bbb;
  border: 2px solid #009bbb;
}

.btn-secondary:hover {
  background-color: #009bbb;
  color: #ffffff;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

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

/* ============================================
   5. LAYOUT & CONTAINERS
   ============================================ */

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

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

.section.alt {
  background-color: #ffffff;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #009bbb, transparent);
  margin: 4rem 0;
  opacity: 0.5;
}

/* ============================================
   6. CARD STYLES
   ============================================ */

.card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #009bbb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-left-color: #007a94;
}

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

.casino-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
}

.card-title {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #009bbb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  color: #2d3436;
  line-height: 1.8;
}

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

.card-content strong {
  color: #1a1a2e;
  font-weight: 600;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.card-meta {
  font-size: 0.85rem;
  color: #999;
}

/* ============================================
   7. GRID LAYOUTS
   ============================================ */

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(
