:root {
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --text-color: #2c3e50;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --theme-color: #2185d0;
  /* Fallback */
  --theme-light: #e1f5fe;
}

body {
  background-color: var(--bg-color);
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
}

.main-container {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Hero Section */
.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  border-top: 6px solid var(--theme-color);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--theme-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero-meta {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-meta span {
  background: var(--theme-light);
  color: var(--theme-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  margin: 0 5px;
}

/* Balls */
.numbers-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.lotto-ball-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--theme-color);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  background: #fafafa;
  border: 1px solid #eee;
}

.status-accumulated {
  color: #e74c3c;
  background: #fde6e6;
  border-color: #fadbd8;
}

.status-winners {
  color: #27ae60;
  background: #e8f8f5;
  border-color: #d4efdf;
}

/* Navigation Grid */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.nav-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--text-color) !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--theme-color);
}

.nav-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--theme-color);
  background: var(--theme-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-card:hover .nav-icon {
  background: var(--theme-color);
  color: white;
}

.nav-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.nav-desc {
  font-size: 0.85rem;
  color: #95a5a6;
  line-height: 1.4;
}

.lotto-ball-lg.blue {
  border-color: #2185d0;
  /* Blue for even numbers */
  color: #2185d0;
}

.lotto-ball-lg.red {
  border-color: #e74c3c;
  /* Red for odd numbers */
  color: #e74c3c;
}
