/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* For homepage */

/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* Club Prediction */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/*  */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/*  */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* About */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATIC PAGES — about, contact, disclaimer, privacy
   ============================================================ */

.static-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.static-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.static-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.sidebar-card h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}
.sidebar-links a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .static-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/*  */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATIC PAGES — about, contact, disclaimer, privacy
   ============================================================ */

.static-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.static-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.static-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.sidebar-card h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}
.sidebar-links a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .static-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

.archive-block {
  margin-bottom: 2rem;
}

.archive-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.archive-date {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 0.85rem;
}

.archive-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* hot cold numbers section */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATIC PAGES — about, contact, disclaimer, privacy
   ============================================================ */

.static-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.static-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.static-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.sidebar-card h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}
.sidebar-links a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .static-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

.archive-block {
  margin-bottom: 2rem;
}

.archive-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.archive-date {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 0.85rem;
}

.archive-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* ============================================================
   HOT & COLD PAGE
   ============================================================ */

.hc-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.hc-filter__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 2px;
}
.hc-filter__count {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hc-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hc-card-icon {
  font-size: 1.4rem;
}
.hc-card-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.hc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hc-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hc-bar-track {
  flex: 1;
  background: #f3f4f6;
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
}
.hc-bar-fill {
  height: 100%;
  border-radius: 4px;
  min-width: 4px;
}
.hc-count {
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 65px;
  text-align: right;
}

/* frequency grid */
.freq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.freq-cell {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.15s;
}
.freq-cell:hover {
  transform: scale(1.15);
}

.hc-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }
}

/*  */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATIC PAGES — about, contact, disclaimer, privacy
   ============================================================ */

.static-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.static-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.static-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.sidebar-card h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}
.sidebar-links a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .static-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

.archive-block {
  margin-bottom: 2rem;
}

.archive-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.archive-date {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 0.85rem;
}

.archive-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* ============================================================
   HOT & COLD PAGE
   ============================================================ */

.hc-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.hc-filter__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 2px;
}
.hc-filter__count {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hc-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hc-card-icon {
  font-size: 1.4rem;
}
.hc-card-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.hc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hc-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hc-bar-track {
  flex: 1;
  background: #f3f4f6;
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
}
.hc-bar-fill {
  height: 100%;
  border-radius: 4px;
  min-width: 4px;
}
.hc-count {
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 65px;
  text-align: right;
}

/* frequency grid */
.freq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.freq-cell {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.15s;
}
.freq-cell:hover {
  transform: scale(1.15);
}

.hc-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG
   ============================================================ */

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

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  height: 185px;
  overflow: hidden;
  background: var(--bg);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--green-light);
}

.blog-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--ink);
}

.blog-card__intro {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/*  */
/* ============================================================
   ENDYLOTTO — main.css
   Fonts: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0d6e3f;
  --green-dark: #084d2c;
  --green-light: #e8f5ee;
  --gold: #f0a500;
  --gold-light: #fff8e6;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a4a8a;
  --blue-light: #e6eef8;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --dark: #071a0e;
  --dark-2: #0d2618;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-endy {
  color: #ffffff;
}
.logo-lotto {
  color: var(--gold);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: #e09800;
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--green-dark);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.ticker-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 400;
  animation: tickerScroll 35s linear infinite;
  padding-left: 100%;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ── MESSAGES ── */
.messages-wrap {
  padding: 1rem 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  color: var(--green-dark);
}
.message--error {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.message-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.6;
}
.message-close:hover {
  opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 2rem 0;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}
.page-header p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(13, 110, 63, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 0.6rem;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── SECTION ── */
.section {
  padding: 3rem 0;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.section-divider {
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.4rem 0 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

/* NUMBER BALLS */
.number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.1rem;
}
.ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.ball-sm {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
}
.ball-lg {
  width: 42px;
  height: 42px;
  font-size: 0.88rem;
}
.ball-machine {
  background: transparent !important;
  border: 2px dashed;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
  display: block;
}
.btn-card:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-result {
  background: var(--green);
  color: #fff;
}
.btn-predict {
  background: #f0f2f0;
  color: var(--ink);
}
.btn-predict:hover {
  background: #e5e7e5;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.step p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--dark);
  padding: 3rem 0;
}
.trust-section .section-label {
  color: #fff;
}
.trust-section .section-sub {
  color: rgba(255, 255, 255, 0.4);
}
.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  height: 100%;
}
.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  display: block;
}
.trust-card h6 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.trust-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 3rem 0;
}
.about-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 1rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover,
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── DAY NAV ── */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}
.day-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.day-nav a:hover,
.day-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.day-nav a.today-tab {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── RESULTS TABLE ── */
.result-table {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-table table {
  width: 100%;
  border-collapse: collapse;
}
.result-table thead th {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}
.result-table tbody td {
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.result-table tbody tr:last-child td {
  border-bottom: none;
}
.result-table tbody tr:hover td {
  background: #fafafa;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.info-box a {
  color: var(--green);
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ── BACK LINK ── */
.back-link {
  font-size: 0.82rem;
  color: var(--green);
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: gap var(--transition);
}
.back-link:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 110, 63, 0.1);
}
.btn-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover {
  background: var(--green-dark);
}

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: 0.75rem 0;
  font-size: 0.73rem;
  color: #78350f;
  line-height: 1.5;
}
.disclaimer-bar strong {
  color: #92400e;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-email {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── BLOG ── */
.blog-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── UTILITIES ── */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.py-4 {
  padding: 2rem 0;
}
.py-5 {
  padding: 3rem 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 0.6rem 0.85rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .result-table {
    overflow-x: auto;
  }
  .result-table table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 2rem 0;
  }
}

/* ============================================================
   HOME PAGE — Company Cards
   ============================================================ */

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

.company-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* coloured left border using CSS var */
.company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--company-color);
  border-radius: 4px 0 0 4px;
}

/* subtle glow blob */
.company-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--company-color);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.3s;
}
.company-card:hover .company-card__glow {
  opacity: 0.12;
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.company-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--company-color) 12%, transparent);
  color: var(--company-color);
  border: 1px solid color-mix(in srgb, var(--company-color) 25%, transparent);
}

.company-date {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.company-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.company-card__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex: 1;
}

.company-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.company-card__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.company-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.company-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.company-btn__icon {
  font-size: 0.85rem;
}

.company-btn--result {
  background: var(--company-color);
  color: #fff;
}
.company-btn--predict {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.company-btn--predict:hover {
  background: var(--border);
}

.company-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-link {
  font-size: 0.72rem;
  color: var(--muted);
  transition: color 0.2s;
}
.company-link:hover {
  color: var(--green);
}
.company-link-sep {
  color: var(--border);
  font-size: 0.7rem;
}

/* HOW IT WORKS layout */
.how-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ABOUT */
.about-inner {
  max-width: 700px;
}
.about-readmore {
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
}
.about-readmore:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 560px) {
  .companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB PAGES — two-column layout
   ============================================================ */

.club-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.club-main {
  position: sticky;
  top: 80px;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.empty-state span {
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .club-layout {
    grid-template-columns: 1fr;
  }
  .club-main {
    position: static;
  }
}

/* ============================================================
   SHARED PAGE UTILITIES
   ============================================================ */

/* today pill */
.today-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* page top bar */
.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.topbar-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.topbar-action:hover {
  border-color: var(--green);
  color: var(--green);
}

/* table helpers */
.table-club-link {
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
}
.table-club-link:hover {
  color: var(--green);
}
.table-time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.table-pending {
  color: #9ca3af;
  font-size: 0.8rem;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

/* published / pending chips */
.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.chip--published {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--pending {
  background: #f3f4f6;
  color: #9ca3af;
}
.chip--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.chip--soon {
  background: #f3f4f6;
  color: #9ca3af;
}

/* info box grid — two columns */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATIC PAGES — about, contact, disclaimer, privacy
   ============================================================ */

.static-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.static-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.static-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 80px;
}

.sidebar-card h6 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}
.sidebar-links a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .static-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

.archive-block {
  margin-bottom: 2rem;
}

.archive-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.archive-date {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 0.85rem;
}

.archive-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* ============================================================
   HOT & COLD PAGE
   ============================================================ */

.hc-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.hc-filter__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 2px;
}
.hc-filter__count {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hc-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hc-card-icon {
  font-size: 1.4rem;
}
.hc-card-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.hc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hc-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hc-bar-track {
  flex: 1;
  background: #f3f4f6;
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
}
.hc-bar-fill {
  height: 100%;
  border-radius: 4px;
  min-width: 4px;
}
.hc-count {
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 65px;
  text-align: right;
}

/* frequency grid */
.freq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.freq-cell {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.15s;
}
.freq-cell:hover {
  transform: scale(1.15);
}

.hc-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .hc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG
   ============================================================ */

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

.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  height: 185px;
  overflow: hidden;
  background: var(--bg);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--green-light);
}

.blog-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--ink);
}

.blog-card__intro {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG POST PAGE
   ============================================================ */

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: flex-start;
}

.blog-post-body {
  min-width: 0;
}

.blog-post-banner {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-post-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-sidebar {
  position: sticky;
  top: 80px;
}

/* blog body typography */
.blog-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}
.blog-para {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.blog-img {
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
  .blog-post-sidebar {
    position: static;
  }
}

/* Site logo */
.site-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* result category label */
.result-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  white-space: nowrap;
}

/* grouped result rows in club card */
.club-grouped-result {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}
.club-grouped-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.club-grouped-row .result-category {
  min-width: 60px;
  flex-shrink: 0;
}

/* draw schedule strip */
.draw-schedule-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.draw-schedule-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.draw-schedule-day {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* FAQ CSS */

.faq-section {
  padding: 3rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 760px;
  margin: 1.8rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--green) 40%, var(--border));
}

.faq-question {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--green);
}

/* remove default marker */
.faq-question::-webkit-details-marker {
  display: none;
}

/* custom +/- icon */
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.2rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.faq-answer a {
  color: var(--green);
  font-weight: 600;
}
.faq-answer a:hover {
  text-decoration: underline;
}

/* Hot Number Strip */

.hot-strip-section {
  padding: 1.5rem 0 0;
}

.hot-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.hot-strip__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.hot-strip__fire {
  font-size: 1.6rem;
  line-height: 1;
}
.hot-strip__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.hot-strip__sub {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hot-strip__companies {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.hot-strip__company {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.hot-strip__company:hover {
  background: color-mix(in srgb, var(--company-color) 8%, transparent);
}

.hot-strip__company-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--company-color);
  white-space: nowrap;
}

.hot-strip__balls {
  display: flex;
  gap: 4px;
}
.hot-strip__ball {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--company-color) 14%, white);
  color: var(--company-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1.5px solid color-mix(in srgb, var(--company-color) 35%, white);
}

@media (max-width: 760px) {
  .hot-strip {
    gap: 1rem;
  }
  .hot-strip__companies {
    gap: 0.75rem;
    width: 100%;
  }
  .hot-strip__company {
    width: 100%;
    justify-content: space-between;
    background: var(--bg);
  }
}

/* compact linked draws list */

.week-summary {
  margin-top: 2rem;
}

.week-summary__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.week-summary__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.week-summary__item:hover {
  border-color: color-mix(in srgb, var(--green) 45%, var(--border));
  transform: translateX(3px);
}

.week-summary__date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.week-summary__count {
  font-size: 0.78rem;
  color: var(--muted);
  flex: 1;
}

.week-summary__arrow {
  font-size: 1rem;
  color: var(--green);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .week-summary__item {
    gap: 0.5rem;
  }
  .week-summary__date {
    font-size: 0.8rem;
  }
  .week-summary__count {
    font-size: 0.72rem;
  }
}

/* company about + faq blocks on today page */
.company-about,
.company-faq {
  margin-top: 2.5rem;
}
.company-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
