:root {
  --snap-yellow: #ffe11d;
  --snap-yellow-deep: #ffd400;
  --snap-red: #e03237;
  --snap-navy: #131e35;
  --snap-blue: #67c6ed;
  --snap-green: #1aa046;
  --snap-white: #ffffff;
  --snap-bg: #eff2f7;
  --snap-panel: #ffffff;
  --snap-text: #1f2937;
  --snap-muted: #6b7280;
  --snap-border: #d9deea;
  --shadow-soft: 0 18px 34px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 22px 46px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.site-body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--snap-text);
  background:
    radial-gradient(circle at 0% -10%, rgba(255, 212, 0, 0.28), transparent 36%),
    radial-gradient(circle at 96% 4%, rgba(224, 50, 55, 0.14), transparent 30%),
    var(--snap-bg);
  position: relative;
  padding-bottom: 88px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sora", "Outfit", sans-serif;
  color: #1f2a44;
}

.site-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
  pointer-events: none;
}

.site-glow-one {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -110px;
  background: rgba(255, 214, 10, 0.45);
}

.site-glow-two {
  width: 300px;
  height: 300px;
  top: 15%;
  right: -120px;
  background: rgba(98, 84, 244, 0.22);
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.topbar-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  color: #111827;
}

.brand-tag {
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--snap-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop-nav {
  padding: 4px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid rgba(31, 41, 55, 0.08);
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 10px;
  color: #2d3748;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.18s ease;
}

.nav-chip i {
  font-size: 0.82rem;
}

.nav-chip:hover,
.nav-chip.active {
  color: #111827;
  background: linear-gradient(135deg, #fff59c, #ffe11d);
  box-shadow: 0 6px 12px rgba(255, 214, 10, 0.36);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--snap-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.btn-auth {
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-auth-outline {
  border: 1px solid #212936;
  background: #fff;
  color: #161f32;
}

.btn-auth-outline:hover {
  background: #161f32;
  color: #fff;
}

.site-main {
  position: relative;
  z-index: 2;
}

.hero-shell {
  border-radius: 22px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(122deg, rgba(255, 225, 29, 0.97), rgba(255, 235, 110, 0.88) 58%, rgba(255, 255, 255, 0.68));
  overflow: hidden;
  position: relative;
}

.hero-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 50, 55, 0.2), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 16px;
  padding: 26px;
  align-items: center;
}

.hero-grid.compact {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.65fr);
}

.hero-copy-wrap {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(19, 30, 53, 0.9);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.hero-title {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  margin-top: 12px;
  margin-bottom: 10px;
  font-weight: 900;
}

.hero-subtitle {
  margin: 0;
  max-width: 690px;
  color: #354257;
  font-size: 1.02rem;
}

.hero-cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-snap-primary,
.btn-snap-ghost,
.btn-snap-outline {
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-snap-primary {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #d61f2a);
  box-shadow: 0 10px 18px rgba(214, 31, 42, 0.28);
}

.btn-snap-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(214, 31, 42, 0.32);
}

.btn-snap-ghost,
.btn-snap-outline {
  color: #161f32;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 31, 50, 0.2);
}

.btn-snap-ghost:hover,
.btn-snap-outline:hover {
  color: #161f32;
  background: #fff;
  border-color: rgba(22, 31, 50, 0.34);
}

.hero-stats {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stat-chip {
  min-width: 115px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 41, 55, 0.1);
}

.hero-stat-chip .stat-label {
  display: block;
  color: #4b5563;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-chip .stat-value {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-banner-wrap {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  padding: 10px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.hero-banner-image {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.panel-card {
  border-radius: 18px;
  border: 1px solid var(--snap-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: var(--snap-panel);
}

.panel-header {
  background: linear-gradient(90deg, #ffe11d, #ffe65e);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  padding: 14px 16px;
}

.panel-header h2,
.panel-header h3,
.panel-header h4,
.panel-header h5 {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.panel-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-link {
  font-size: 0.85rem;
  text-decoration: none;
  color: #162035;
  font-weight: 700;
}

.panel-link i {
  font-size: 0.72rem;
}

.panel-link:hover {
  color: #111827;
}

.panel-inline-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(19, 30, 53, 0.9);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 800;
}

.panel-body {
  padding: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  border: 1px solid var(--snap-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.result-card-head {
  background: var(--snap-navy);
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-card-body {
  padding: 12px;
}

.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4b5563;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.result-meta.tight {
  margin-bottom: 8px;
}

.lottery-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
}

.lottery-ball {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 5px 12px rgba(17, 24, 39, 0.2);
  font-size: 0.98rem;
}

.lottery-ball-red {
  background: var(--snap-red);
  color: #fff;
}

.lottery-ball-yellow {
  background: var(--snap-yellow);
  color: #1f2937;
}

.lottery-ball-green {
  background: var(--snap-green);
  color: #fff;
}

.lottery-ball-blue {
  background: var(--snap-blue);
  color: #1f2937;
}

.lottery-ball-prediction {
  background: #7377e7;
  color: #fff;
}

.plus-sign {
  margin: 0 6px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #293347;
}

.prediction-strip {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #e6ebf4;
}

.prediction-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: #2f6fdb;
}

.result-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn-result-open,
.btn-result-secondary {
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
}

.btn-result-open {
  background: #121b2f;
  color: #fff;
}

.btn-result-open:hover {
  color: #fff;
  background: #0b1324;
}

.btn-result-secondary {
  background: #fff;
  color: #1d2637;
  border-color: #1d2637;
}

.btn-result-secondary:hover {
  color: #1d2637;
  background: #f8fafc;
}

.prediction-stack {
  display: grid;
  gap: 10px;
}

.prediction-item {
  border: 1px solid var(--snap-border);
  border-radius: 12px;
  padding: 10px;
  background: #fcfdff;
}

.prediction-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.prediction-badge {
  border-radius: 999px;
  padding: 4px 10px;
  background: #111b2f;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.prediction-item small {
  display: block;
  margin-top: 5px;
  color: #6b7280;
}

.predictions-home-shell .panel-body {
  display: grid;
  gap: 14px;
}

.prediction-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.prediction-stat {
  border: 1px solid var(--snap-border);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f8fbff);
  padding: 10px 12px;
}

.prediction-stat:nth-child(1) {
  background: linear-gradient(145deg, #fffef1, #fff6bf);
  border-color: #f0db65;
}

.prediction-stat:nth-child(2) {
  background: linear-gradient(145deg, #fff5f6, #ffdfe3);
  border-color: #f4b2bc;
}

.prediction-stat:nth-child(3) {
  background: linear-gradient(145deg, #f4f6ff, #e2e6ff);
  border-color: #bbc4ff;
}

.prediction-stat span {
  display: block;
  font-size: 0.74rem;
  color: #5b6475;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prediction-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #19243a;
}

.prediction-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prediction-home-card {
  border: 1px solid var(--snap-border);
  border-radius: 14px;
  background: #fcfdff;
  padding: 12px;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.06);
  position: relative;
}

.prediction-home-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: #6b7be8;
}

.prediction-home-card.game-lotto {
  background: linear-gradient(160deg, #ffffff 0%, #fff8dd 100%);
}

.prediction-home-card.game-lotto::before {
  background: linear-gradient(90deg, #e03237, #ffe11d);
}

.prediction-home-card.game-lotto-plus-1 {
  background: linear-gradient(160deg, #ffffff 0%, #fff1f2 100%);
}

.prediction-home-card.game-lotto-plus-1::before {
  background: linear-gradient(90deg, #e03237, #67c6ed);
}

.prediction-home-card.game-lotto-plus-2 {
  background: linear-gradient(160deg, #ffffff 0%, #eef8ff 100%);
}

.prediction-home-card.game-lotto-plus-2::before {
  background: linear-gradient(90deg, #67c6ed, #19a03a);
}

.prediction-home-card.game-powerball {
  background: linear-gradient(160deg, #ffffff 0%, #fff4e7 100%);
}

.prediction-home-card.game-powerball::before {
  background: linear-gradient(90deg, #e03237, #ffad32);
}

.prediction-home-card.game-powerball-plus {
  background: linear-gradient(160deg, #ffffff 0%, #f4fff5 100%);
}

.prediction-home-card.game-powerball-plus::before {
  background: linear-gradient(90deg, #19a03a, #ffe11d);
}

.prediction-home-card.game-daily-lotto {
  background: linear-gradient(160deg, #ffffff 0%, #f0fffa 100%);
}

.prediction-home-card.game-daily-lotto::before {
  background: linear-gradient(90deg, #19a03a, #67c6ed);
}

.prediction-home-card.game-daily-lotto-plus {
  background: linear-gradient(160deg, #ffffff 0%, #f7f3ff 100%);
}

.prediction-home-card.game-daily-lotto-plus::before {
  background: linear-gradient(90deg, #7a7ce3, #e03237);
}

.prediction-home-card.game-default::before {
  background: linear-gradient(90deg, #6b7be8, #2f6fdb);
}

.prediction-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.prediction-home-head h4 {
  margin: 0;
  font-size: 1.02rem;
  text-transform: uppercase;
}

.prediction-score {
  border-radius: 999px;
  padding: 4px 9px;
  background: #111b2f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.prediction-draw-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #445168;
  font-size: 0.83rem;
  font-weight: 600;
}

.prediction-draw-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prediction-frequency-row {
  margin-top: 9px;
}

.prediction-frequency-row small {
  display: block;
  color: #5c687f;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prediction-frequency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prediction-frequency-chip {
  border-radius: 999px;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ccd5e7;
  color: #1d273b;
  font-weight: 800;
  font-size: 0.86rem;
}

.prediction-frequency-chip:nth-child(1) {
  background: #e03237;
  border-color: #e03237;
  color: #fff;
}

.prediction-frequency-chip:nth-child(2) {
  background: #ffe11d;
  border-color: #ead27a;
  color: #1f2937;
}

.prediction-frequency-chip:nth-child(3) {
  background: #19a03a;
  border-color: #19a03a;
  color: #fff;
}

.prediction-frequency-empty {
  color: #6d7890;
  font-size: 0.82rem;
  font-weight: 600;
}

.prediction-home-foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e6ecf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prediction-home-foot small {
  color: #657188;
  font-size: 0.82rem;
}

.prediction-home-foot a {
  text-decoration: none;
  font-weight: 700;
  color: #12203d;
}

.prediction-home-foot a:hover {
  color: #d53037;
}

.prediction-open-btn {
  min-width: 74px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1b2740;
  background: #111b2f;
  color: #fff !important;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.prediction-open-btn:hover {
  background: #0b1325;
  border-color: #0b1325;
}

.prediction-empty-card {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 132px;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(17, 24, 39, 0.1);
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 98px;
  border-radius: 14px;
  border: 1px solid var(--snap-border);
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  padding: 12px;
  text-decoration: none;
  color: #1a2338;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-action-card:hover {
  color: #101a30;
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(17, 24, 39, 0.1);
}

.qa-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 225, 29, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.results-pill-stack {
  display: grid;
  gap: 10px;
}

.results-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  font-weight: 700;
  color: #25314a;
}

.results-pill i {
  color: #db2e34;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-step-card {
  border-radius: 14px;
  border: 1px solid var(--snap-border);
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.step-index {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 225, 29, 0.55);
  border: 1px solid rgba(31, 41, 55, 0.14);
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-step-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.feature-step-card p {
  margin: 0;
  color: #4b5563;
}

.game-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-chip {
  border-radius: 999px;
  border: 1px solid var(--snap-border);
  background: #f8fafc;
  padding: 8px 11px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1f2937;
}

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-modern th,
.table-modern td {
  padding: 10px;
  border-bottom: 1px solid #e5ebf5;
  vertical-align: middle;
}

.table-modern th {
  background: #f8faff;
  color: #364154;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-modern tbody tr:hover {
  background: rgba(255, 225, 29, 0.12);
}

.modern-dropdown {
  border: 1px solid #dce2f0;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.12);
}

.modern-dropdown .dropdown-item {
  font-weight: 600;
  color: #253149;
}

.modern-dropdown .dropdown-item:hover {
  background: rgba(255, 225, 29, 0.35);
}

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  background: #fff;
}

.footer-shell {
  padding-top: 22px;
  padding-bottom: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 11px;
  align-items: center;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 0;
}

.footer-brand h5 {
  margin: 0;
  font-size: 1rem;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 0.86rem;
}

.footer-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links-wrap a,
.footer-contact a {
  text-decoration: none;
  color: #24324b;
  font-weight: 600;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.footer-links-wrap a:hover,
.footer-contact a:hover {
  color: #db2e34;
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(31, 41, 55, 0.12);
  backdrop-filter: blur(10px);
}

.mobile-nav a {
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b6475;
  gap: 4px;
}

.mobile-nav a.active {
  color: #111b2f;
  background: linear-gradient(180deg, rgba(255, 225, 29, 0.55), rgba(255, 225, 29, 0.2));
}

@media (max-width: 1200px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .hero-grid,
  .hero-grid.compact,
  .grid-2,
  .steps-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    border-radius: 18px;
  }

  .hero-grid {
    padding: 16px;
  }

  .brand-tag,
  .brand-name {
    display: none;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-items: start;
  }

  .prediction-overview {
    grid-template-columns: 1fr;
  }

  .prediction-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .lottery-ball {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .panel-header h2,
  .panel-header h3 {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  body.site-body {
    padding-bottom: 0;
  }

  .mobile-nav {
    display: none;
  }
}

/* Compatibility styles for existing pages */
.page-shell {
  display: grid;
  gap: 16px;
}

.shell-hero {
  border-radius: 18px;
  border: 1px solid var(--snap-border);
  background: linear-gradient(130deg, rgba(255, 225, 29, 0.9), rgba(255, 236, 128, 0.75));
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.shell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(19, 30, 53, 0.9);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
}

.shell-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.1vw, 2.2rem);
  font-weight: 900;
}

.shell-subtitle {
  margin: 0;
  color: #4b5563;
}

.shell-pill-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-pill {
  border-radius: 999px;
  border: 1px solid var(--snap-border);
  background: #fff;
  padding: 6px 10px;
  font-size: 0.83rem;
  font-weight: 600;
}

.shell-card {
  border-radius: 16px;
  border: 1px solid var(--snap-border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.shell-card-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--snap-border);
  background: linear-gradient(90deg, #ffe11d, #ffe96f);
}

.shell-card-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.shell-card-body {
  padding: 14px;
}

.shell-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shell-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shell-list {
  margin: 0;
  padding-left: 18px;
}

.lottery-header {
  background: linear-gradient(120deg, #111b2f, #263657);
  color: #fff;
}

.lottery-header-dark {
  background: #111b2f;
}

.btn-lottery-primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #e03237, #b91c1c);
  box-shadow: 0 10px 20px rgba(224, 50, 55, 0.28);
}

.btn-lottery-primary:hover {
  color: #fff;
  filter: brightness(1.03);
}

@media (max-width: 991px) {
  .shell-grid-3,
  .shell-grid-2 {
    grid-template-columns: 1fr;
  }
}
