/* ================================================
   KenoSpots.com — Main Stylesheet
   ================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-lighter: #eff6ff;
  --accent: #eab308;
  --accent-dark: #ca8a04;
  --accent-light: #fef9c3;
  --bg-main: #ffffff;
  --bg-section: #f0f4ff;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --border: #dbeafe;
  --card-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --max-width: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

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

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

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: var(--bg-section);
}

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

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

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Site Header --- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(37, 99, 235, 0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* --- Logo --- */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

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

/* --- Main Nav --- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--primary-lighter);
  color: var(--primary);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--bg-section);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(234, 179, 8, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}

.hero-links a:hover {
  color: white;
}

/* --- Hero Balls --- */
.hero-balls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

/* --- Keno Ball Component --- */
.keno-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 -3px 6px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  position: relative;
  flex-shrink: 0;
}

.keno-ball.blue {
  background: radial-gradient(circle at 35% 35%, #60a5fa, #1d4ed8);
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.keno-ball.gold {
  background: radial-gradient(circle at 35% 35%, #fde68a, #ca8a04);
  color: #1e293b;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.keno-ball.sm {
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.keno-ball.lg {
  width: 80px;
  height: 80px;
  font-size: 1.7rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1e293b;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

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

.btn-white:hover {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.14);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* --- Grid layouts --- */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

/* --- Intent Box --- */
.intent-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.intent-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.intent-box .intent-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.intent-box h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.intent-box p {
  font-size: 0.9rem;
  margin: 0;
}

/* --- Probability Bars --- */
.prob-bar-wrap {
  margin-bottom: 0.75rem;
}

.prob-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--text-mid);
}

.prob-bar-track {
  height: 10px;
  background: var(--primary-light);
  border-radius: 99px;
  overflow: hidden;
}

.prob-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-radius: 99px;
  transition: width 0.5s ease;
}

.prob-bar-fill.gold {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead th {
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

thead th:first-child {
  border-radius: 0;
}

tbody tr {
  border-bottom: 1px solid var(--primary-light);
  transition: background var(--transition);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--bg-section);
}

tbody td {
  padding: 0.8rem 1.1rem;
  color: var(--text-dark);
}

tbody tr.highlight {
  background: var(--accent-light);
}

tbody tr.highlight td {
  font-weight: 600;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* --- Calculator Box --- */
.calc-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.12);
  overflow: hidden;
}

.calc-header {
  background: var(--primary);
  padding: 1.5rem 2rem;
  color: white;
}

.calc-header h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.calc-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

.calc-body {
  padding: 2rem;
}

.calc-result {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}

.calc-result .result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.calc-result .result-label {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* --- Email Capture --- */
.email-capture {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  padding: 4rem 0;
  text-align: center;
}

.email-capture h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.email-capture p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
  justify-content: center;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.email-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

/* --- Keno Board --- */
.keno-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  max-width: 600px;
  margin: 0 auto;
}

.keno-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: all 0.2s;
}

.keno-cell.picked {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark);
}

.keno-cell.drawn {
  background: var(--accent);
  color: #1e293b;
  border-color: var(--accent-dark);
}

.keno-cell.hit {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: white;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px var(--accent);
}

/* --- Article / Content --- */
.article-hero {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  padding: 4rem 0;
  color: white;
}

.article-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.article-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 620px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-body h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--primary);
}

.article-body h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 1.05rem;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.article-cta {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 0.75rem;
}

.article-cta p {
  margin-bottom: 1.25rem;
}

/* --- State Cards --- */
.state-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--transition);
  text-decoration: none;
}

.state-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14);
}

.state-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
}

.state-card .state-game {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
}

.state-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.state-badge {
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.state-badge.gold {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* --- Info Boxes --- */
.info-box {
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box.blue {
  background: var(--primary-lighter);
  border: 1px solid var(--primary-light);
}

.info-box.gold {
  background: var(--accent-light);
  border: 1px solid #fde68a;
}

.info-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-box p {
  font-size: 0.95rem;
  margin: 0;
}

/* --- Risk/Reward Bar --- */
.risk-bar-container {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.risk-bar-track {
  height: 16px;
  background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%);
  border-radius: 99px;
  position: relative;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.risk-marker {
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: default;
}

.risk-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 600;
}

/* --- Stat Grid --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  background: var(--text-dark);
  color: #94a3b8;
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: white;
}

/* --- Page Hero (non-index pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  padding: 3.5rem 0;
  color: white;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Slider --- */
.range-wrap {
  margin: 1rem 0;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 0.4rem;
}

/* --- Comparison Table Header Colored --- */
.comp-header-4 { background: #3b82f6; }
.comp-header-6 { background: #2563eb; }
.comp-header-8 { background: #1d4ed8; }
.comp-header-10 { background: #1e40af; }

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.badge-blue { background: var(--primary-lighter); color: var(--primary); }
.badge-gold { background: var(--accent-light); color: var(--accent-dark); }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-light);
}

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-balls {
    flex-direction: row;
    justify-content: center;
  }

  .hero-content p {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 99;
    padding: 1rem 0;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
  }

  .main-nav ul li a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: block;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .section, .section-alt {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .email-form {
    flex-direction: column;
    padding: 0 1rem;
  }

  .calc-body {
    padding: 1.25rem;
  }

  .keno-board {
    gap: 2px;
  }

  .keno-cell {
    font-size: 0.65rem;
  }

  .article-body h2 {
    font-size: 1.4rem;
  }

  .article-body p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-balls {
    gap: 0.75rem;
  }

  .keno-ball {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  table {
    font-size: 0.85rem;
  }

  thead th, tbody td {
    padding: 0.65rem 0.75rem;
  }

  .calc-header {
    padding: 1.25rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
