:root {
  --bg-dark: #0f0f14;
  --bg-card: #16161d;
  --bg-elevated: #1c1c24;
  --silver: #c0c0c0;
  --silver-dim: rgba(192, 192, 192, 0.15);
  --text-light: #e5e5e5;
  --text-dim: #888;
  --gold: #ffd700;
  --gold-dim: rgba(255, 215, 0, 0.1);
  --gold-glow: rgba(255, 215, 0, 0.15);
  --green: #00ff88;
  --red: #ff4444;
}
* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-dark);
  font-family: "Roboto Condensed", sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--silver-dim);
  padding: 10px 2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
.logo img {
  max-height: 40px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--gold);
}
.auth-btn {
  background: var(--silver);
  color: var(--bg-dark);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  border: none;
  font-size: 0.8rem;
  font-family: "Roboto Condensed", sans-serif;
  transition: background 0.3s;
}
.auth-btn:hover {
  background: var(--gold);
}

/* DROPDOWN */
.dropdown-parent {
  position: relative;
}
.dropdown-trigger {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1c1c24;
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-radius: 8px;
  list-style: none;
  min-width: 180px;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: var(--text-light) !important;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid rgba(192, 192, 192, 0.08);
}
.dropdown-menu li:last-child a {
  border-bottom: none;
}
.dropdown-menu li a:hover {
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold) !important;
}
.dropdown-parent:hover .dropdown-menu {
  display: block;
}
.dropdown-menu.open {
  display: block;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .dropdown-parent {
    width: 100%;
    position: relative;
    display: block;
  } /* The Dropdown Menu Wrapper */
  .dropdown-menu {
    display: none; /* Hidden by default */
    position: relative; /* Secret: This pushes 'Login' down instead of floating over it */
    width: 90%;
    margin: 10px auto; /* Centers the dropdown box */
    padding: 10px 0;
    list-style: none;
    background: rgba(255, 215, 0, 0.05); /* Very faint gold tint background */
    border-left: 4px solid #ffd700; /* Professional gold indicator line */
    border-radius: 4px;
  } /* Triggered by your JavaScript */
  .dropdown-menu.open {
    display: block !important;
  } /* The Links inside the dropdown */
  .dropdown-menu li a {
    color: #ffffff !important; /* Pure white text for clarity */
    padding: 12px 20px !important;
    display: block;
    text-align: left; /* Left aligned looks better with the gold border */
    font-size: 1rem !important;
    text-decoration: none;
    font-weight: 500;
  } /* Hover state for sub-links */
  .dropdown-menu li a:active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700 !important;
  } /* Ensure main nav links have enough breathing room */
  .nav-links li {
    margin-bottom: 10px;
  }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    background: #0f0f14;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 999;
    text-align: center;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    font-size: 1rem;
    display: block;
    padding: 10px 0;
  }
  .auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    margin-top: 5px;
  }
}

/* HERO */
.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--silver-dim);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 50% 80%,
    rgba(255, 215, 0, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 15px;
}
.hero h1 span {
  color: var(--gold);
}
.hero p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.switch-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-dim);
      font-size: 0.78rem;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      text-decoration: none;
      margin-top: 14px;
      transition: color 0.2s;
    }

    .switch-link:hover {
      color: var(--gold);
    }


/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* LOADING */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--silver-dim);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

/* STATS BANNER */
.stats-banner {
  padding: 50px 0;
  background: var(--bg-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--silver-dim);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}
.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--silver-dim);
}
.section-header-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.section-header p {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 2px;
}
.board-section {
  padding: 50px 0;
  border-top: 1px solid var(--silver-dim);
}

/* MONTHLY */
.monthly-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.month-card {
  background: var(--bg-card);
  border: 1px solid var(--silver-dim);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.3s;
}
.month-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}
.month-name {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.month-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}
.month-stat {
  text-align: center;
  flex: 1;
}
.month-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  line-height: 1;
}
.month-stat-num.green {
  color: var(--green);
}
.month-stat-num.red {
  color: var(--red);
}
.month-stat-num.gold {
  color: var(--gold);
}
.month-stat-label {
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}
.month-bar-track {
  height: 5px;
  background: var(--silver-dim);
  border-radius: 3px;
  overflow: hidden;
}
.month-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), #00ff44);
  transition: width 1s ease;
}

/* LEAGUE TABLE */
.league-table {
  width: 100%;
  border-collapse: collapse;
}
.league-table th {
  background: var(--bg-elevated);
  color: var(--silver);
  padding: 12px 15px;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--silver-dim);
}
.league-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--silver-dim);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.league-table tr:hover td {
  background: var(--bg-elevated);
}
.league-name {
  color: var(--text-light);
  font-weight: bold;
}
.accuracy-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
.acc-high {
  background: rgba(0, 255, 136, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.2);
}
.acc-mid {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.acc-low {
  background: rgba(255, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(255, 68, 68, 0.2);
}
.mini-bar-track {
  height: 4px;
  background: var(--silver-dim);
  border-radius: 2px;
  overflow: hidden;
  width: 80px;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), #ffed4a);
}

/* PICKS TABLE */
.picks-table {
  width: 100%;
  border-collapse: collapse;
}
.picks-table th {
  background: var(--bg-elevated);
  color: var(--silver);
  padding: 12px 15px;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--silver-dim);
}
.picks-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--silver-dim);
  font-size: 0.85rem;
  color: var(--text-dim);
  vertical-align: middle;
}
.picks-table tr:hover td {
  background: var(--bg-elevated);
}
.pick-match {
  color: var(--text-light);
  font-weight: bold;
  font-size: 0.9rem;
}
.pick-prediction {
  background: var(--silver-dim);
  color: var(--silver);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid var(--silver-dim);
}
.odds-badge {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.result-won {
  color: var(--green);
  font-weight: bold;
  font-size: 0.85rem;
}
.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
}
.rank-1 {
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
}
.rank-2 {
  background: rgba(192, 192, 192, 0.15);
  color: var(--silver);
  border: 1px solid var(--silver);
}
.rank-3 {
  background: rgba(205, 127, 50, 0.15);
  color: #cd7f32;
  border: 1px solid #cd7f32;
}
.rank-other {
  background: var(--silver-dim);
  color: var(--text-dim);
  border: 1px solid var(--silver-dim);
}

/* LAST 5 DAYS */
.last5-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.day-block {
  background: var(--bg-card);
  border: 1px solid var(--silver-dim);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.day-block:hover {
  border-color: rgba(255, 215, 0, 0.2);
}
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--silver-dim);
}
.day-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.day-label {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.day-date {
  color: var(--text-dim);
  font-size: 0.75rem;
}
.day-summary {
  display: flex;
  gap: 10px;
  align-items: center;
}
.day-won {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: bold;
}
.day-lost {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: bold;
}
.day-pending {
  color: var(--gold);
  font-size: 0.8rem;
}
.day-predictions {
  display: flex;
  flex-direction: column;
}
.day-prediction-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 15px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.05);
  transition: background 0.2s;
}
.day-prediction-row:last-child {
  border-bottom: none;
}
.day-prediction-row:hover {
  background: var(--bg-elevated);
}
.day-match {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: bold;
}
.day-league {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 2px;
}
.day-pick-badge {
  background: var(--silver-dim);
  color: var(--silver);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: bold;
  border: 1px solid var(--silver-dim);
  white-space: nowrap;
}
.day-odds {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: bold;
  white-space: nowrap;
}
.day-result-won {
  color: var(--green);
  font-weight: bold;
  font-size: 0.82rem;
  white-space: nowrap;
}
.day-result-lost {
  color: var(--red);
  font-weight: bold;
  font-size: 0.82rem;
  white-space: nowrap;
}
.day-result-pending {
  color: var(--gold);
  font-size: 0.82rem;
  white-space: nowrap;
}
.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ANIMATIONS */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .monthly-grid {
    grid-template-columns: 1fr;
  }
  .picks-table th:nth-child(3),
  .picks-table td:nth-child(3) {
    display: none;
  }
  .day-prediction-row {
    grid-template-columns: 1fr auto auto;
  }
  .day-odds {
    display: none;
  }
}

 /* CONTACT STYLE */
     .contact-link {
  color: #777;
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease; 
}

.contact-link:hover {
  color: #ffd700;
}

      /* FOLLOW US */
  .social-icon-box {
  width: 42px;
  height: 42px;
  background: #1c1c24;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon-box:hover {
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-2px); /* Optional: slight lift effect on hover */
}