/* ========== Typography Tokens ========== */
/* Two-voice system: Archivo commands (brand, headings, odds, prices, CTAs, slip);
   Inter stays the quiet workhorse for body copy, forms and admin data. */
:root {
  --font-command: 'Archivo', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  background: url('../../hero_bg_.png') center center / cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 17, 32, 0.85) 0%,
    rgba(11, 17, 32, 0.7) 50%,
    rgba(11, 17, 32, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

/* ========== Sticky Header Navigation ========== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.sticky-header.scrolled {
  background: rgba(11, 17, 32, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(16, 185, 129, 0.25);
}

.sticky-header .header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.sticky-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #F1F5F9;
  transition: opacity 0.2s;
}

.sticky-header .logo:hover {
  opacity: 0.9;
}

.sticky-header .logo-icon {
  font-size: 1.75rem;
  color: #10B981;
}

/* Image logo in the sticky header (transparent PNG sized for the header) */
.sticky-header .logo-img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .sticky-header .logo-img {
    height: 50px;
  }
}

.sticky-header .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.sticky-header .logo-highlight {
  color: #10B981;
  margin-left: 2px;
}

.sticky-header .nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.sticky-header .nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.sticky-header .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #10B981;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.sticky-header .nav-links a:hover {
  color: #34D399;
}

.sticky-header .nav-links a.active {
  color: #34D399;
}

.sticky-header .nav-links a.active::after {
  transform: scaleX(1);
}

/* ========== Hamburger Menu ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1002;
  pointer-events: auto;
}

.hamburger:hover {
  opacity: 0.8;
}

.hamburger:active {
  transform: scale(0.95);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #CBD5E1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* Mobile Slide-in Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu .mobile-nav-links li {
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  padding-bottom: 8px;
}

.mobile-menu .mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s;
}

.mobile-menu .mobile-nav-links a:hover,
.mobile-menu .mobile-nav-links a.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.mobile-menu .mobile-nav-links a i {
  width: 20px;
  text-align: center;
  color: #34D399;
}

.mobile-menu-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.mobile-menu-footer .social-links {
  justify-content: center;
  margin-top: 0;
}

.header-spacer {
  /* Matches the fixed header height: 56px logo + 2 x 16px .header-content
     padding + 1px header border. Update if the logo is resized. */
  height: 89px;
}

/* Anchor targets: keep jumped-to sections clear of the fixed header */
#faq,
#cookies,
#responsible-gaming {
  scroll-margin-top: 100px;
}

/* ========== Admin Sidebar (desktop navigation for admin pages) ========== */
/* Hidden by default; the sticky header + hamburger serve the mobile layout. */
.admin-sidebar {
  display: none;
}

@media (min-width: 769px) {
  .admin-sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    flex-direction: column;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    border-right: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px 16px;
    overflow-y: auto;
  }

  /* Shift content, cards and footer into the area right of the sidebar */
  body.admin-page {
    margin-left: 250px;
  }

  /* No redundant top bar on desktop; content keeps its py-8 spacing */
  body.admin-page .sticky-header,
  body.admin-page .header-spacer {
    display: none;
  }

  .admin-sidebar-brand {
    padding: 4px 8px 16px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    margin-bottom: 16px;
  }

  .admin-sidebar-brand .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .admin-sidebar-brand .logo:hover {
    opacity: 0.9;
  }

  .admin-sidebar-brand .logo-img {
    height: 42px;
    width: auto;
    display: block;
  }

  .admin-sidebar-caption {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B;
  }

  .admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .admin-sidebar-nav a,
  .admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
  }

  .admin-sidebar-nav a i,
  .admin-sidebar-footer a i {
    width: 20px;
    text-align: center;
    color: #34D399;
  }

  .admin-sidebar-nav a:hover,
  .admin-sidebar-nav a.active,
  .admin-sidebar-footer a:hover {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
  }

  .admin-sidebar-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

/* ========== Navigation (Legacy - for backward compatibility) ========== */
nav {
  position: relative;
  z-index: 1;
}

/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 10% 20%, #0B1120, #0A0F1A);
  color: #F1F5F9;
  line-height: 1.5;
  min-height: 100vh;
}

/* Every display heading speaks in the command voice; body copy stays on the body face */
h1, h2, h3 {
  font-family: var(--font-command);
  letter-spacing: -0.015em;
}

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

/* ========== Glass Card ========== */
.glass-card {
  background: rgba(15, 25, 45, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
}

/* ========== Site Ad Cards ========== */
.ad-card {
  position: relative;
  display: block;
  max-width: 260px;
  margin: 0 auto;
  background: rgba(15, 25, 45, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: 0.2s;
}

.ad-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
}

.ad-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ad-caption {
  display: block;
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ========== Buttons ========== */
.btn-primary {
  background: linear-gradient(105deg, #10B981, #059669);
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: linear-gradient(105deg, #059669, #047857);
  transform: scale(1.02);
}

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

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(16, 185, 129, 0.7);
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  color: #CBD5E1;
  transition: 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: white;
}

.btn-danger {
  background: linear-gradient(105deg, #EF4444, #DC2626);
  border: none;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.btn-danger:hover {
  background: linear-gradient(105deg, #DC2626, #B91C1C);
}

.btn-success {
  background: linear-gradient(105deg, #10B981, #059669);
  border: none;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.btn-success:hover {
  background: linear-gradient(105deg, #059669, #047857);
}

/* ========== Plans Grid ========== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 40px 0;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  margin-bottom: 12px;
}

.plan-card-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.plan-card .text-gray-300.text-sm {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.plan-card .flex.flex-wrap.gap-3.mt-4 {
  margin-top: auto;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #059669);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

.plan-card h3 {
  background: linear-gradient(135deg, #F1F5F9, #CBD5E1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-plan {
  background: #1E293B;
  border-radius: 40px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
}

.star-rating {
  display: flex;
  gap: 4px;
  font-size: 1.25rem;
  color: #FBBF24;
}

.star-rating i.empty {
  color: #475569;
  opacity: 0.4;
}

/* ========== Step Screenshots (How It Works) ========== */
.step-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.step-row .step-content {
  flex: 1;
  min-width: 0;
}

.step-figure {
  flex-shrink: 0;
  margin: 0;
  position: relative;
}

.step-figure img {
  display: block;
  width: 260px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.step-figure figcaption {
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .step-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .step-figure img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ========== Predictions Panel ========== */
.predictions-panel {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  display: none;
}

.predictions-panel.active {
  display: block;
}

.combo-box {
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  padding: 16px;
  margin: 12px 0;
}

.history-item {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid #10B981;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 16px;
  font-size: 0.85rem;
}

.status-correct {
  color: #34D399;
  font-size: 1.1rem;
}

.status-pending {
  color: #FBBF24;
  font-size: 1.1rem;
}

/* ========== Modal ========== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 420px;
  width: 90%;
  background: #0F172A;
  border-radius: 40px;
  border: 1px solid #10B981;
  padding: 28px;
  animation: fadeUp 0.3s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ========== Forms ========== */
input, select, textarea {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 60px;
  padding: 14px 18px;
  width: 100%;
  color: white;
  font-size: 1rem;
  margin-top: 6px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #10B981;
}

textarea {
  border-radius: 20px;
  min-height: 100px;
  resize: vertical;
}

label {
  display: block;
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-top: 12px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10B981;
  color: white;
  padding: 12px 24px;
  border-radius: 60px;
  z-index: 1100;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  display: none;
}

/* ========== Admin Dashboard Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(15, 25, 45, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 24px;
}

.stat-card h3 {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
  color: #10B981;
}

/* Sales summary cards - ensure text containment */
#salesSummary .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

#salesSummary .text-center {
  padding: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

#salesSummary p {
  margin: 0 0 8px 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

#salesSummary h4 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.table-container {
  background: rgba(15, 25, 45, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(30, 41, 59, 0.5);
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

th {
  font-weight: 600;
  color: #94A3B8;
  font-size: 0.85rem;
}

tbody tr:hover {
  background: rgba(16, 185, 129, 0.05);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.badge-info {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

/* ========== Utility Classes ========== */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.p-2 { padding: 8px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.cursor-pointer { cursor: pointer; }
.w-full { width: 100%; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; font-family: var(--font-command); }
.font-semibold { font-weight: 600; }
.text-gray-300 { color: #CBD5E1; }
.text-gray-400 { color: #94A3B8; }
.text-gray-500 { color: #64748B; }
.text-blue-300 { color: #6EE7B7; }
.text-blue-400 { color: #34D399; }
.text-green-400 { color: #34D399; }
.text-red-400 { color: #F87171; }
.text-yellow-400 { color: #FBBF24; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-2 > * + * { margin-top: 8px; }
.overflow-y-auto { overflow-y: auto; }
.max-h-48 { max-height: 12rem; }
.pr-1 { padding-right: 4px; }
.border-t { border-top: 1px solid; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.bg-white\/5 { background: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background: rgba(255, 255, 255, 0.1); }
.rounded-xl { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }
.inline-block { display: inline-block; }
.font-mono { font-family: monospace; }

/* ========== Missing Utility Classes ========== */
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.hidden { display: none !important; }
.mb-6 { margin-bottom: 24px; }
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.block { display: block; }
.justify-end { justify-content: flex-end; }
.btn-secondary {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(100, 116, 139, 0.3);
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  color: #CBD5E1;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.btn-secondary:hover {
  background: rgba(100, 116, 139, 0.3);
  color: white;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 30px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}
.btn {
  cursor: pointer;
  transition: 0.2s;
}

/* ========== Form Components ========== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 6px;
}
.input-field {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.input-field:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ========== Breadcrumb Navigation ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #64748B;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a:hover {
  color: #34D399;
}
.breadcrumb .breadcrumb-sep {
  color: #475569;
  font-size: 0.75rem;
}
.breadcrumb .breadcrumb-current {
  color: #34D399;
  font-weight: 600;
}

/* ========== Page Header (consistent across pages) ========== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.page-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}
.page-header h1 i {
  color: #34D399;
}
.page-header .subtitle {
  color: #94A3B8;
  font-size: 0.875rem;
  margin-top: 4px;
}

/* ========== Card Spacing Improvements ========== */
.glass-card + .glass-card {
  margin-top: 24px;
}

/* Stat card inner alignment fix */
.stat-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.stat-card-inner .stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.stat-card-inner .stat-text .stat-label {
  font-size: 0.875rem;
  color: #94A3B8;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-card-inner .stat-text .stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #10B981;
  margin: 0;
  line-height: 1.2;
  word-break: break-word;
}
.stat-card-inner .stat-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
.stat-card-inner .stat-icon i {
  font-size: 1.5rem;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .plans-grid { gap: 20px; }

  .ad-card { border-radius: 16px; }
  
  .sticky-header .header-content {
    padding: 10px 18px;
  }
  
  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }
  
  /* Hide desktop nav links on mobile */
  .sticky-header .nav-links {
    display: none;
  }
  
  /* Show mobile menu */
  .mobile-menu {
    display: block;
  }
  
  .mobile-menu-overlay {
    display: block;
  }
  
  .sticky-header .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header-spacer {
    height: 80px;
  }
  
  /* Dashboard stat cards responsive */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card-inner {
    padding: 4px 0;
  }
  .stat-card-inner .stat-text .stat-value {
    font-size: 1.5rem;
  }
  .stat-card-inner .stat-icon {
    width: 48px;
    height: 48px;
  }
  .stat-card-inner .stat-icon i {
    font-size: 1.25rem;
  }
  
  /* Breadcrumb responsive */
  .breadcrumb {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  /* Page header responsive */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  /* Form grid responsive */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  /* Grid cols responsive */
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  /* Sales summary responsive */
  #salesSummary .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  #salesSummary h4 {
    font-size: 1.25rem;
  }
  
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  .admin-layout {
    flex-direction: column;
  }
  
  .prediction-tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.75rem;
  }
  
  .prediction-table {
    font-size: 0.75rem;
  }
  
  .prediction-table th,
  .prediction-table td {
    padding: 8px 12px;
  }
  
  .table-summary {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .payment-methods {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ========== Professional Footer ========== */

/* ========== Free Plan Tabs & Tables ========== */
.free-plan-section {
  margin-top: 20px;
}

.free-plan-header {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}

.free-plan-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.free-plan-header h2 i {
  color: #10B981;
  font-size: 1.5rem;
}

.section-divider {
  border: none;
  border-top: 2px dashed rgba(16, 185, 129, 0.2);
  margin: 60px 0;
}

.premium-section-title {
  text-align: center;
  margin-bottom: 32px;
}

.premium-section-title h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.premium-section-title p {
  color: #94A3B8;
  font-size: 1rem;
}

.prediction-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  padding-bottom: 0;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: #34D399;
}

.tab-btn.active {
  color: #34D399;
  border-bottom-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.tab-btn i {
  font-size: 0.875rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.prediction-table-container {
  overflow-x: auto;
}

.prediction-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.prediction-table thead {
  background: rgba(16, 185, 129, 0.1);
}

.prediction-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #34D399;
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.prediction-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
}

.prediction-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.05);
}

.prediction-table tbody tr:last-child td {
  border-bottom: none;
}

.outcome-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.outcome-win {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.outcome-loss {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.outcome-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

.no-predictions {
  text-align: center;
  padding: 40px 20px;
  color: #94A3B8;
}

.no-predictions i {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #64748B;
}

.no-predictions p {
  font-size: 0.875rem;
}

.table-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 12px;
}

.table-summary span {
  font-size: 0.875rem;
  color: #94A3B8;
}

.table-summary strong {
  color: #34D399;
}

/* Responsive Tables */
@media (max-width: 768px) {
  .prediction-tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.75rem;
  }
  
  .prediction-table {
    font-size: 0.75rem;
  }
  
  .prediction-table th,
  .prediction-table td {
    padding: 8px 12px;
  }
  
  .table-summary {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .prediction-table-container {
    overflow-x: auto;
  }

  .prediction-table {
    font-size: 0.65rem;
    display: table;
    width: 100%;
  }

  .prediction-table thead {
    background: rgba(16, 185, 129, 0.1);
    display: table-header-group;
  }

  .prediction-table th {
    padding: 5px 4px;
    text-align: left;
    font-weight: 600;
    color: #34D399;
    white-space: nowrap;
    font-size: 0.65rem;
  }

  .prediction-table tbody tr {
    display: table-row;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .prediction-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
  }

  .prediction-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
  }

  .prediction-table td {
    display: table-cell;
    padding: 5px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .prediction-table td::before {
    content: none;
  }

  .prediction-table td:nth-child(2) {
    max-width: 120px;
    white-space: normal;
  }

  .prediction-table td:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: normal;
  }
}

/* ========== Professional Footer ========== */
.site-footer {
  background: rgba(11, 17, 32, 0.95);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  margin-top: 80px;
  padding: 60px 0 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 0.85;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section h3 i {
  color: #34D399;
}

.footer-section p {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #34D399;
}

.footer-links a i {
  font-size: 0.75rem;
  width: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s;
}

.social-links a:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
  color: #34D399;
  transform: translateY(-2px);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 12px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  margin: 0 0 24px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  color: #64748B;
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #34D399;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.payment-methods span {
  color: #64748B;
  font-size: 0.75rem;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
}

.age-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 16px;
}

.age-warning i {
  font-size: 1rem;
}

/* ========== Responsive Footer ========== */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .payment-methods {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Table overflow fix for mobile */
  .overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .overflow-x-auto table {
    min-width: 700px;
  }
  
  #predictionsTableContainer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #predictionsTableContainer table {
    min-width: 750px;
  }
}

/* ========== Developer Credit (below site footer) ========== */
.developer-credit {
  background: #0A0F1A;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  text-align: center;
  padding: 16px 24px;
}

.developer-credit p {
  color: #64748B;
  font-size: 0.8rem;
  margin: 0;
}

.developer-credit strong {
  color: #94A3B8;
  font-weight: 600;
}

.developer-credit a {
  color: inherit;
  text-decoration: none;
}

.developer-credit a:hover strong {
  color: #34D399;
}

/* ========== Custom Dialog / Modal ========== */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dialog-box {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.dialog-overlay.active .dialog-box {
  transform: scale(1);
}

.dialog-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.dialog-icon.warning { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.dialog-icon.danger { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.dialog-icon.success { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.dialog-icon.info { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }

.dialog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F1F5F9;
  text-align: center;
  margin: 0 0 8px;
}

.dialog-message {
  font-size: 0.9rem;
  color: #94A3B8;
  text-align: center;
  line-height: 1.6;
  margin: 0 0 24px;
}

.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.dialog-actions .btn {
  min-width: 100px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.dialog-actions .btn:hover { opacity: 0.85; }
.dialog-btn-cancel { background: rgba(100, 116, 139, 0.2); color: #94A3B8; border: 1px solid rgba(100, 116, 139, 0.3) !important; }
.dialog-btn-confirm { background: linear-gradient(105deg, #10B981, #059669); color: white; }
.dialog-btn-danger { background: linear-gradient(105deg, #EF4444, #DC2626); color: white; }

@media (max-width: 768px) {
  .dialog-box { padding: 24px; max-width: 340px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .btn { width: 100%; }
}

/* ========== Tips Slip (payment success reveal) ========== */
.tips-slip {
  background: #F8FAFC;
  color: #0F172A;
  border-radius: 14px 14px 0 0;
  padding: 16px 16px 0;
  margin: 14px auto 10px;
  max-width: 400px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: slipReveal 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

@keyframes slipReveal {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Torn receipt edge at the bottom of the slip */
.tips-slip::after {
  content: '';
  display: block;
  height: 9px;
  margin: 0 -16px;
  background:
    linear-gradient(-45deg, #F8FAFC 6.5px, transparent 0) 0 0 / 13px 13px repeat-x,
    linear-gradient(45deg, #F8FAFC 6.5px, transparent 0) 6.5px 0 / 13px 13px repeat-x;
}

.slip-header {
  border-bottom: 2px dashed #94A3B8;
  padding-bottom: 10px;
}

.slip-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.slip-brand {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #0F172A;
}

.slip-brand i {
  color: #059669;
  margin-right: 4px;
}

.slip-plan {
  font-size: 0.65rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 30px;
  padding: 3px 10px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.slip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
}

.slip-meta i {
  color: #059669;
  margin-right: 3px;
}

.slip-matches {
  padding: 2px 0;
}

.slip-match {
  padding: 10px 0;
  border-bottom: 1px dashed #CBD5E1;
}

.slip-match:last-child {
  border-bottom: none;
}

.slip-match-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.slip-number {
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  min-width: 14px;
}

.slip-fixture {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
  line-height: 1.3;
}

.slip-match-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 3px 0 6px 22px;
  font-size: 0.68rem;
  color: #64748B;
}

.slip-league {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.slip-match-details i {
  color: #059669;
  margin-right: 3px;
}

.slip-match-tip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-left: 22px;
}

.slip-tip {
  display: inline-block;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 30px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.slip-odds {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F172A;
  font-variant-numeric: tabular-nums;
}

.slip-footer {
  border-top: 2px dashed #94A3B8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 6px;
  margin-top: 2px;
}

.slip-total-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #64748B;
}

.slip-legs {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  color: #94A3B8;
}

.slip-total-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.slip-fineprint {
  text-align: center;
  font-size: 0.58rem;
  color: #94A3B8;
  letter-spacing: 0.5px;
  padding: 8px 0 12px;
  border-top: 1px dashed #E2E8F0;
}

/* Unlocked plan card state */
.unlocked-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.plan-card.plan-purchased {
  border-color: rgba(16, 185, 129, 0.45);
}

.plan-card.just-unlocked {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* ========== Slip Copy Button ========== */
.slip-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 12px 0 2px;
  padding: 12px 16px;
  background: #0F172A;
  color: #F1F5F9;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.slip-copy-btn i { color: #34D399; }
.slip-copy-btn:hover { background: #059669; box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35); }
.slip-copy-btn:hover i { color: #FFFFFF; }
.slip-copy-btn:active { transform: scale(0.98); }
.slip-copy-btn.copied { background: #059669; }
.slip-copy-btn.copied i { color: #FFFFFF; }

/* Slip text overflow defenses (long team names / codes) */
.slip-fixture,
.slip-meta,
.slip-match-details,
.slip-fineprint,
.slip-brand,
.slip-plan {
  overflow-wrap: break-word;
  word-break: break-word;
}

.slip-match-top { min-width: 0; }
.slip-fixture { flex: 1; }
.slip-match-tip { min-width: 0; }
.slip-tip { max-width: 100%; text-align: center; }

/* ========== Find My Tip Page ========== */
.findtip-card {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 34px 28px 26px;
  overflow: hidden;
}

/* Green accent line across the top of the card */
.findtip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, #10B981 50%, transparent 95%);
}

.findtip-card-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.15);
}

.findtip-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.findtip-subtitle {
  text-align: center;
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 330px;
  margin: 8px auto 24px;
}

.findtip-field { margin-bottom: 18px; }

.findtip-field label {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  color: #CBD5E1;
  margin-top: 0;
}

.findtip-field label i {
  color: #34D399;
  margin-right: 6px;
  width: 14px;
  text-align: center;
}

.findtip-code-input {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.findtip-hint {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 7px;
  line-height: 1.45;
}

.findtip-hint i { color: #34D399; margin-right: 4px; }

.findtip-security {
  text-align: center;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 16px;
}

.findtip-security i { color: #34D399; margin-right: 4px; }

.findtip-error {
  margin-top: 18px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.83rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.findtip-error i { margin-right: 6px; }

.findtip-result-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 400px;
  margin: 30px auto 4px;
  padding: 10px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 40px;
  color: #34D399;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  overflow-wrap: break-word;
}

.findtip-result-heading i { flex-shrink: 0; }

/* ========== Command Type Layer (Archivo) ========== */
/* Brand, odds, prices, CTAs and the betting slip speak in the command voice; everything else stays Inter. */
.sticky-header .logo-text,
.price-tag,
.badge-plan,
.btn-primary,
.btn-outline,
.btn-danger,
.btn-success,
.stat-card .value,
.stat-card-inner .stat-text .stat-value,
.slip-brand,
.slip-plan,
.slip-number,
.slip-fixture,
.slip-tip,
.slip-odds,
.slip-total-value,
.slip-total-label,
.slip-copy-btn,
.unlocked-chip,
.findtip-title,
.findtip-code-input,
.findtip-result-heading {
  font-family: var(--font-command);
}

/* Expanded width is reserved for the flagship moments only */
.sticky-header .logo-text,
.price-tag,
.slip-total-value {
  font-stretch: 125%;
}

/* Wordmark: expanded width carries the weight, so it breathes slightly */
.sticky-header .logo-text {
  letter-spacing: 0.02em;
}

/* CTAs: quiet tracking reads as authority, not shouting */
.btn-primary,
.btn-outline,
.btn-danger,
.btn-success {
  letter-spacing: 0.02em;
}

/* Metric tuning: every number surface aligns in columns (odds, prices, stat values) */
.price-tag,
.badge-plan,
.btn-primary,
.btn-outline,
.btn-danger,
.btn-success,
.stat-card .value,
.stat-card-inner .stat-text .stat-value {
  font-variant-numeric: tabular-nums;
}

/* ========== Floating Telegram Button ========== */
.telegram-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #229ED9;
  color: #FFFFFF;
  font-size: 1.75rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.telegram-float:hover {
  background: #1D8BC2;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.5);
}

@media (max-width: 640px) {
  .telegram-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
