/* ========================================
   MATCHED BETTING LAB — Global Styles
   ======================================== */

:root {
  --green-bright: #00E676;
  --green-dark: #00C853;
  --green-muted: #1B5E20;
  --bg-dark: #0A0F0D;
  --bg-card: #111916;
  --bg-card-hover: #162119;
  --bg-input: #0D1210;
  --text-primary: #F1F7F4;
  --text-secondary: #8FA89B;
  --text-muted: #5C7A6A;
  --border: #1E2E25;
  --accent-amber: #FFD54F;
  --accent-red: #FF5252;
  --blue-light: #4FC3F7;
  --blue-back: #1565C0;
  --pink-lay: #E91E63;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

a { color: var(--green-bright); text-decoration: none; }
a:hover { color: var(--green-dark); }

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

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

.text-green { color: var(--green-bright); }
.text-muted { color: var(--text-muted); }

/* ========================================
   NAVIGATION
   ======================================== */

nav#main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 15, 13, 0.85);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-bright);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo span { color: var(--text-primary); }
.logo:hover { color: var(--green-bright); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active {
  color: var(--green-bright);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-bright);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bright);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary:hover { background: var(--green-dark); color: var(--bg-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green-bright);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--green-bright);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn-secondary:hover { background: rgba(0, 230, 118, 0.1); color: var(--green-bright); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent-red);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-danger:hover { background: rgba(255, 82, 82, 0.1); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ========================================
   CARDS & INPUTS
   ======================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.input-group { margin-bottom: 16px; }
.input-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input, input[type="text"], input[type="number"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.calc-input:focus, input:focus, select:focus {
  border-color: var(--green-bright);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238FA89B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.radio-label input[type="radio"] { display: none; }
.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}
.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--green-bright);
}
.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 10px; height: 10px;
  background: var(--green-bright);
  border-radius: 50%;
}

/* ========================================
   TABLES
   ======================================== */

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.table th {
  background: var(--bg-input);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 0.5px;
}
.table th:first-child { border-radius: 8px 0 0 0; }
.table th:last-child { border-radius: 0 8px 0 0; }
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.table tbody tr:hover { background: var(--bg-card-hover); }

/* ========================================
   HOMEPAGE
   ======================================== */

.home-page { padding-top: 64px; }

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-subtitle strong { color: var(--text-primary); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 230, 118, 0.08);
  max-width: 500px;
  width: 100%;
}

/* Email Section */
.email-section { padding: 80px 0; }
.email-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.email-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.email-subtitle { color: var(--text-secondary); margin-bottom: 24px; }
.email-input-group { display: flex; gap: 12px; }
.email-input-group input { flex: 1; }
.email-privacy { color: var(--text-muted); font-size: 0.8rem; margin-top: 12px; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
#email-success { animation: fadeIn 0.4s ease; }

/* Trust Badges */
.trust-section { padding: 40px 0 80px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s;
}
.trust-badge:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-badge h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust-badge p { color: var(--text-secondary); font-size: 0.9rem; }

/* Tools Preview */
.tools-section { padding: 80px 0; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 48px; font-size: 1.05rem; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.25s;
  display: block;
  text-decoration: none;
}
.tool-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); border-color: var(--green-bright); }
.tool-icon { font-size: 2.5rem; margin-bottom: 16px; }
.tool-card h3 { color: var(--text-primary); margin-bottom: 10px; font-size: 1.15rem; }
.tool-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.tool-link { color: var(--green-bright); font-weight: 600; font-size: 0.9rem; }
.tool-card:hover .tool-link { text-decoration: underline; }

/* Testimonials */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-bright);
  border-radius: 0 12px 12px 0;
  padding: 32px;
}
.testimonial-quote { color: var(--text-primary); font-style: italic; font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--green-bright);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.85rem; }

/* Final CTA */
.final-cta { text-align: center; padding: 80px 0 100px; }
.final-cta h2 { font-size: 2rem; margin-bottom: 12px; }
.final-cta p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1.05rem; }

/* ========================================
   CALCULATOR PAGE
   ======================================== */

.calculator-page { padding-top: 100px; padding-bottom: 80px; }
.page-header { text-align: center; margin-bottom: 48px; }
.page-header h1 { font-size: 2.4rem; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); font-size: 1.05rem; }

.calc-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.calc-results { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }

.result-card h3 {
  font-size: 1rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 16px; font-weight: 600;
}
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.result-row:last-child { border-bottom: none; }
.result-label { color: var(--text-secondary); font-size: 0.9rem; }
.result-value { font-weight: 700; font-size: 1.1rem; font-family: 'Space Grotesk', monospace; }

.profit-positive { color: var(--green-bright); }
.profit-negative { color: var(--accent-red); }

.rating-display { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rating-value { font-size: 2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.rating-badge, .badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
}
.badge-green { background: var(--green-bright); color: var(--bg-dark); }
.badge-amber { background: var(--accent-amber); color: var(--bg-dark); }
.badge-red { background: var(--accent-red); color: #fff; }

.rating-hint { color: var(--text-secondary); font-size: 0.85rem; }
.calc-hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }

/* ========================================
   SIMULATOR PAGE
   ======================================== */

.simulator-page { padding-top: 100px; padding-bottom: 80px; }

.sim-header { text-align: center; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.sim-title { font-size: 2.2rem; margin-bottom: 8px; }
.sim-subtitle { color: var(--text-secondary); font-size: 1.05rem; }

.sim-browser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 620px;
  max-width: 1200px;
  margin: 0 auto;
}

.sim-chrome {
  background: #0D1210;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
.sim-dots, .sim-chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }
.sim-dot { width: 12px; height: 12px; border-radius: 50%; }
.sim-dot.red, .sim-dot--red { background: #FF5F57; }
.sim-dot.yellow, .sim-dot--yellow { background: #FFBD2E; }
.sim-dot.green, .sim-dot--green { background: #28CA41; }
.sim-address-lock { margin-right: 4px; font-size: 0.75rem; }
.sim-address-url { color: var(--text-muted); }

.sim-address-bar {
  flex: 1;
  background: #080C0A;
  border-radius: 20px;
  padding: 6px 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-tabs {
  display: flex;
  background: #0D1210;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sim-tab {
  padding: 10px 20px;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  position: relative;
}
.sim-tab:hover:not(.locked) { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.sim-tab.active { color: var(--text-primary); border-bottom-color: var(--green-bright); }
.sim-tab.locked { opacity: 0.35; cursor: not-allowed; }
.sim-tab.locked::after { content: '🔒'; font-size: 0.65rem; margin-left: 4px; }

.sim-content {
  padding: 24px;
  min-height: 500px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* Coach Panel */
.sim-coach {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 280px;
  background: rgba(17, 25, 22, 0.97);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  z-index: 10;
  animation: slideIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.coach-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.coach-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.coach-name { font-weight: 600; font-size: 0.85rem; }
.coach-step { color: var(--text-muted); font-size: 0.75rem; }
.coach-message { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; margin-bottom: 10px; }
.coach-profit { color: var(--green-bright); font-weight: 700; font-size: 1.1rem; font-family: 'Space Grotesk', sans-serif; }
.coach-dismiss {
  position: absolute; top: 8px; right: 8px;
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1rem; padding: 4px; line-height: 1;
}
.coach-dismiss:hover { color: var(--text-primary); }
.coach-reopen {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--green-bright); color: var(--bg-dark);
  border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.3rem;
  cursor: pointer; box-shadow: 0 4px 16px rgba(0,230,118,0.3);
  z-index: 50; display: none;
}

/* DuckBet Styles */
.duckbet-header {
  background: var(--green-muted);
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
  margin: -24px -24px 0;
}
.duckbet-logo { font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; }
.duckbet-balance { font-size: 0.9rem; color: var(--green-bright); font-weight: 600; }
.duckbet-nav {
  display: flex; gap: 20px; padding: 10px 20px;
  background: rgba(27, 94, 32, 0.3); margin: 0 -24px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.duckbet-nav span { cursor: pointer; }
.duckbet-nav span:hover { color: white; }
.duckbet-nav span.active { color: white; font-weight: 600; }

.duckbet-banner {
  background: linear-gradient(135deg, var(--green-muted) 0%, #2E7D32 100%);
  border-radius: 12px; padding: 32px; margin: 20px 0; text-align: center;
}
.duckbet-banner h2 { font-size: 2rem; color: var(--accent-amber); margin-bottom: 8px; }
.duckbet-banner p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }

.duckbet-matches { margin-top: 20px; }
.match-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px; padding: 8px 0;
  color: var(--text-muted); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.duckbet-match {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center; font-size: 0.9rem;
  cursor: pointer; transition: background 0.15s;
}
.duckbet-match:hover { background: var(--bg-card-hover); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 6px; }
.match-name { font-weight: 500; }
.match-league { color: var(--text-muted); font-size: 0.8rem; }
.match-odds {
  text-align: center; padding: 6px 8px;
  background: var(--bg-input); border-radius: 4px;
  font-weight: 600; font-size: 0.85rem;
  color: var(--green-bright); border: 1px solid var(--border);
}
.match-odds:hover { border-color: var(--green-bright); }
.match-odds.selected { background: var(--green-bright); color: var(--bg-dark); border-color: var(--green-bright); }

/* Betslip modal */
.betslip-modal, .sim-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; animation: fadeIn 0.2s;
}
.betslip, .sim-modal-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  width: 380px; max-width: 90vw;
}
.betslip h3, .sim-modal-content h3 { margin-bottom: 16px; }
.betslip-match { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.9rem; }
.betslip-odds { color: var(--green-bright); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.betslip-returns {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--border);
  margin-top: 12px; color: var(--text-secondary); font-size: 0.9rem;
}
.betslip-returns strong { color: var(--text-primary); }

/* Signup form */
.signup-field {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.signup-field span:first-child { color: var(--text-muted); }
.signup-field span:last-child { color: var(--text-primary); }

/* BetBuzz Exchange */
.betbuzz-header {
  background: #080C0A; color: white;
  padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-radius: 8px 8px 0 0; margin: -24px -24px 0;
}
.betbuzz-logo { font-weight: 700; font-size: 1.2rem; color: var(--blue-light); }
.betbuzz-balance { font-size: 0.9rem; color: var(--blue-light); font-weight: 600; }
.betbuzz-match-header {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 8px; padding: 12px 0;
  color: var(--text-muted); font-size: 0.75rem;
  text-transform: uppercase; border-bottom: 1px solid var(--border);
}
.betbuzz-match-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 8px; padding: 12px 0;
  border-bottom: 1px solid var(--border); align-items: center;
}
.betbuzz-back {
  background: rgba(21, 101, 192, 0.15); color: var(--blue-back);
  text-align: center; padding: 8px; border-radius: 4px;
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.betbuzz-lay {
  background: rgba(233, 30, 99, 0.12); color: var(--pink-lay);
  text-align: center; padding: 8px; border-radius: 4px;
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.betbuzz-lay:hover { background: rgba(233, 30, 99, 0.25); }
.betbuzz-lay.selected { background: var(--pink-lay); color: white; }

/* Odds Scanner */
.scanner-filters {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border); align-items: flex-end;
}
.scanner-filters .input-group { margin-bottom: 0; min-width: 160px; }
.scanner-filters select { min-width: 140px; }
.scanner-row { cursor: pointer; transition: background 0.15s; }
.scanner-row:hover { background: var(--bg-card-hover); }
.scanner-row.highlight {
  border-left: 3px solid var(--green-bright);
  background: var(--bg-card-hover) !important;
  animation: pulse 2s infinite;
}
.scanner-row.selected { background: rgba(0, 230, 118, 0.08); border-left: 3px solid var(--green-bright); }

/* Results page (Sports) */
.results-header {
  background: #0D1210; padding: 16px 20px;
  border-radius: 8px 8px 0 0; margin: -24px -24px 20px;
  font-weight: 600; font-size: 1.1rem;
}
.result-match {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; border-bottom: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 8px; background: var(--bg-input);
}
.result-match.your-match { border: 1px solid var(--green-bright); background: rgba(0, 230, 118, 0.05); }
.your-match-badge {
  background: var(--green-bright); color: var(--bg-dark);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.result-teams { flex: 1; }
.result-team { display: flex; justify-content: space-between; padding: 4px 0; }
.result-score {
  font-family: 'Space Grotesk', monospace; font-weight: 700;
  font-size: 1.3rem; min-width: 60px; text-align: center;
}

/* Inbox */
.inbox-header {
  background: #0D1210; padding: 12px 20px;
  border-radius: 8px 8px 0 0; margin: -24px -24px 0;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.inbox-list { margin-top: 16px; }
.inbox-email {
  display: flex; gap: 12px; padding: 14px 12px;
  border-bottom: 1px solid var(--border); cursor: pointer;
  transition: background 0.15s; align-items: center;
}
.inbox-email:hover { background: var(--bg-card-hover); }
.inbox-email.unread { font-weight: 600; }
.inbox-email.unread .inbox-sender { color: var(--text-primary); }
.inbox-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.inbox-dot.green { background: var(--green-bright); }
.inbox-dot.gray { background: var(--text-muted); }
.inbox-sender { color: var(--text-secondary); font-size: 0.9rem; min-width: 120px; }
.inbox-subject { flex: 1; font-size: 0.9rem; }
.inbox-time { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }
.inbox-detail { padding: 20px; animation: fadeIn 0.2s; }
.inbox-detail h3 { margin-bottom: 16px; }
.inbox-detail-meta {
  color: var(--text-muted); font-size: 0.85rem;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.inbox-detail-body { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.inbox-detail-body strong { color: var(--text-primary); }
.inbox-back { color: var(--green-bright); cursor: pointer; font-size: 0.85rem; margin-bottom: 12px; display: inline-block; }

/* Sim calculator (embedded) */
.sim-calc-form { max-width: 500px; }
.sim-calc-results { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sim-calc-result {
  background: var(--bg-input); border-radius: 8px; padding: 16px; text-align: center;
}
.sim-calc-result .label { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 4px; }
.sim-calc-result .value { font-size: 1.3rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }

/* Sim welcome/intro */
.sim-welcome { max-width: 600px; margin: 0 auto; text-align: center; padding: 60px 20px; }
.sim-welcome h2 { font-size: 1.8rem; margin-bottom: 16px; }
.sim-welcome p { color: var(--text-secondary); margin-bottom: 28px; }
.sim-checklist { text-align: left; max-width: 400px; margin: 0 auto 32px; }
.sim-checklist-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text-secondary); font-size: 0.95rem; }
.sim-checklist-item .check { color: var(--green-bright); font-size: 1.2rem; }

/* Sim summary */
.sim-summary { max-width: 600px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.sim-summary h2 { font-size: 2rem; margin-bottom: 24px; }
.summary-breakdown { background: var(--bg-input); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.summary-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-weight: 700; font-size: 1.2rem; color: var(--green-bright);
  border-top: 2px solid var(--green-bright); margin-top: 8px; padding-top: 16px;
}

.deposit-section {
  background: var(--bg-input); border-radius: 8px;
  padding: 20px; margin-top: 16px; text-align: center;
}

/* Step highlight / action area */
.sim-action-highlight {
  border: 2px dashed var(--green-bright);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  animation: pulse 2s infinite;
}

.sim-step-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Free bet badge */
.free-bet-badge {
  display: inline-block;
  background: var(--accent-amber);
  color: var(--bg-dark);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ========================================
   ODDS COMPARISON PAGE
   ======================================== */

.odds-page { padding-top: 100px; padding-bottom: 80px; }

.odds-controls { margin-bottom: 24px; }
.controls-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.radio-inline { display: flex; gap: 16px; }
.controls-actions { display: flex; gap: 12px; }

.cache-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  margin-bottom: 16px; font-size: 0.85rem; color: var(--text-secondary);
}
.cache-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cache-fresh { background: var(--green-bright); }
.cache-stale { background: var(--accent-amber); }

.odds-table-wrap { overflow-x: auto; }
.odds-back { color: var(--blue-back); font-weight: 600; }
.odds-lay { color: var(--pink-lay); font-weight: 600; }
.rating-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; }
.row-good td:first-child { border-left: 3px solid var(--green-bright); }
.btn-copy { background: none; border: none; cursor: pointer; font-size: 1rem; padding: 4px; opacity: 0.6; transition: opacity 0.2s; }
.btn-copy:hover { opacity: 1; }

.odds-loading, .odds-empty, .odds-error { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.odds-count { text-align: right; margin-top: 12px; font-size: 0.85rem; }

.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border); border-top-color: var(--green-bright);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

/* ========================================
   ADMIN PAGE
   ======================================== */

.admin-page { padding-top: 100px; padding-bottom: 80px; }

.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 50vh; }
.admin-login-card { max-width: 400px; width: 100%; text-align: center; }
.admin-login-card h2 { margin-bottom: 8px; }
.admin-login-card p { margin-bottom: 20px; }
.admin-error { color: var(--accent-red); margin-top: 12px; font-size: 0.9rem; }

.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.admin-form { padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.form-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; }

.status-badge {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600;
}
.status-active { background: rgba(0,230,118,0.15); color: var(--green-bright); }
.status-inactive { background: rgba(255,82,82,0.15); color: var(--accent-red); }

.stat-big {
  font-size: 3rem; font-weight: 700;
  font-family: 'Space Grotesk', sans-serif; color: var(--green-bright);
}

.subscriber-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

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

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 400px; }
  .trust-grid, .tools-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .controls-row { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .sim-coach { position: relative; top: auto; right: auto; width: 100%; margin-bottom: 16px; }
  .sim-calc-results { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10, 15, 13, 0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-text h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }

  .email-card { padding: 28px 20px; }
  .email-input-group { flex-direction: column; }

  .controls-row { grid-template-columns: 1fr; }
  .controls-actions { flex-direction: column; }

  .sim-tab { padding: 8px 14px; font-size: 0.8rem; }
  .sim-content { padding: 16px; }
  .sim-calc-results { grid-template-columns: 1fr; }

  .duckbet-match { grid-template-columns: 1fr repeat(3, auto); font-size: 0.8rem; }
  .betbuzz-match-row { grid-template-columns: 1fr 1fr 1fr; }

  .section-title { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.8rem; }
}

@media (max-width: 400px) {
  nav#main-nav { padding: 0 16px; }
  .container { padding: 0 16px; }
  .hero-text h1 { font-size: 1.7rem; }
  .match-header { display: none; }
}
