/* Index page redesign overrides (keep palette) */

:root {
  /* Modern color palette */
  --primary: #2563eb;       /* Primary brand color */
  --primary-dark: #1d4ed8;  /* Darker shade for hover states */
  --primary-light: #dbeafe; /* Light background tint */
  --secondary: #7c3aed;     /* Secondary accent color */
  --success: #10b981;       /* Success/green */
  --warning: #f59e0b;       /* Warning/orange */
  --danger: #ef4444;        /* Error/red */
  
  /* Neutral colors */
  --ink: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f3f4f6;
  --lighter: #f9fafb;
  
  /* Card and surface colors */
  --card: #ffffff;
  --card-hover: #f8fafc;
  --border: #e5e7eb;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #a78bfa 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition: all 0.2s ease-in-out;
}

/* Header Styles */
body .site-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: none !important;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%) !important;
  background-image: 
    linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%),
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 15%) !important;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: white;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(26, 92, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-banner > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: #e0e9ff;
  margin: 0 auto 2rem;
  max-width: 600px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Background polish */
body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 4% 10%, rgba(219, 234, 254, 0.4) 0px, transparent 40%),
    radial-gradient(at 90% 80%, rgba(199, 210, 254, 0.3) 0px, transparent 40%),
    radial-gradient(at 70% 20%, rgba(221, 214, 254, 0.2) 0px, transparent 25%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 0;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Floating Animation for Balls */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(2deg);
    }
    50% {
        transform: translate(0, 5px) rotate(-2deg);
    }
    75% {
        transform: translate(-5px, 5px) rotate(1deg);
    }
}

/* Sporty Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stats-pill {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-pill::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stats-pill:hover::after {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    font-weight: 600;
}

/* Sporty Buttons */

/* Merged Hero Banner */
/* Hero Banner - Ensure consistent background on all screens */
/* Hero Banner - Force consistent background */
/* Force override any conflicting styles */
body .hero-banner {
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%) !important;
    background-image: 
        linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 0, 0.1) 0%, transparent 12%) !important;
}
.hero-banner {
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%) !important;
    background-image: 
        linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 0, 0.1) 0%, transparent 12%) !important;
    background-attachment: fixed;
    color: white;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Make sure container takes full width and centers content */
.hero-banner > .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Ensure content is above any pseudo-elements */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Hero text adjustments */
.hero-text {
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
    color: #e0e9ff;
}

/* User greeting section - integrated with hero */
.user-greeting {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.greeting .hand-wave {
    font-size: 1.5rem;
    animation: wave 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.greeting-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.greeting .username {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.banner-text .sport-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .user-greeting {
        margin: 0 1rem 1.5rem;
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .greeting-text {
        font-size: 1.1rem;
    }
    
    .banner-text {
        font-size: 0.95rem;
    }
}

/* Animation for the wave */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(14deg); }
    50% { transform: rotate(-8deg); }
    75% { transform: rotate(14deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        padding: 1.5rem 0;
        border-radius: 0;
    }
    
    .hero-banner > .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .user-greeting {
        margin: 0 1rem 1.5rem;
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .greeting-text {
        font-size: 1rem;
    }
    
    .banner-text {
        font-size: 0.85rem;
    }
}

/* Matches Section - Compact */
.matches-section {
  padding: 1rem 0;
  background: #fff;
  border-radius: 0.5rem;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-header {
  margin-bottom: 0.75rem;
  padding: 0 1rem;
}

.section-header h2 {
  color: var(--ink);
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.notice {
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  margin: 0 1rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.3;
  border-left: 2px solid;
}

.notice-info {
  background-color: #f5fbff;
  border-color: #0ea5e9;
  color: #0369a1;
}

.notice-warning {
  background-color: #fff9e6;
  border-color: #f59e0b;
  color: #7c2d12;
}

/* No Matches State */
.no-matches {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border-radius: 0.4rem;
  border: 1px dashed #e2e8f0;
  margin: 0.5rem 1rem 1rem;
}

.no-matches-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.no-matches h3 {
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.no-matches p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 0.75rem;
  line-height: 1.4;
  font-size: 0.85rem;
}

/* Match Table */
.match-table {
    width: 100%;
    border-collapse: separate; /* Changed from collapse for better border control */
    border-spacing: 0;
    table-layout: fixed;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}
.match-table th,
.match-table td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    height: 2.5rem;
}
/* Remove right border from last cell in each row */
.match-table th:last-child,
.match-table td:last-child {
    border-right: none;
}
/* Remove bottom border from last row */
.match-table tbody tr:last-child td {
    border-bottom: none;
}
/* Header styling */
.match-table th {
    background: #f8fafc;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}
/* Status column alignment */
.match-table .match-status {
    text-align: center;
}
/* Add subtle hover effect */
.match-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Keep all other styles the same, just remove the column width overrides */

/* Responsive adjustments */
@media (max-width: 768px) {
  .matches-section {
    margin: 0.5rem 0;
    border-radius: 0;
    padding: 0.75rem 0;
  }
  
    .match-table {
        border: none;
        border-radius: 0;
    }
    
    .match-table th,
    .match-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
  
  /* Keep the same column widths but adjust other properties */
  .match-time {
    font-size: 0.75rem;
  }
  
  .match-teams {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    white-space: normal;
    overflow: visible;
    font-size: 0.9rem;
  }
  
  .team {
    display: block;
    width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.3;
  }
  
  .team.home {
    font-weight: 600;
    color: #1a365d;
  }
  
  .team.away {
    font-weight: 500;
    color: #2d3748;
  }
  
  .vs {
    display: none;
  }
  
  .prediction-badge {
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
  }
}

.match-table tr:hover {
  background-color: #f1f5f9 !important;
}

/* Date Header */
.date-header td {
  background: #f0f5ff;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid #e0e7ff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
}

.date-badge {
  background: #3b82f6;
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
}

/* Match Rows */
.match-time {
  color: #6b7280;
  font-family: 'Roboto Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vs {
  color: #9ca3af;
  margin: 0 0.2rem;
  font-size: 0.75em;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.5rem;
  margin-left: 0.25rem;
  color: white;
  flex-shrink: 0;
}

.match-badge.vip {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.match-badge.free {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.match-prediction {
  font-weight: 600;
  font-size: 0.85rem;
}

.prediction-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.locked-tip {
  color: #9ca3af;
  font-style: italic;
  font-size: 0.8rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.8rem;
}

.status-badge.won { background: #dcfce7; color: #16a34a; }
.status-badge.lost { background: #fee2e2; color: #dc2626; }
.status-badge.pending { background: #fef3c7; color: #d97706; }
.status-badge.void { background: #e0f2fe; color: #0284c7; }

/* Locked State */
.match-row.locked {
  opacity: 0.7;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .matches-section {
    margin: 0.5rem 0;
    border-radius: 0;
    padding: 0.75rem 0;
  }
  
  .section-header {
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .match-table {
    font-size: 0.8rem;
  }
  
  .match-table th,
  .match-table td {
    padding: 0.4rem 0.5rem;
  }
  
  .match-time {
    width: 3.5rem;
    font-size: 0.75rem;
  }
  
  .match-teams {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    white-space: normal;
    overflow: visible;
    font-size: 0.9rem;
  }
  
  .team {
    display: block;
    width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.3;
  }
  
  .team.home {
    font-weight: 600;
    color: #1a365d;
  }
  
  .team.away {
    font-weight: 500;
    color: #2d3748;
  }
  
  .vs {
    display: none;
  }
  
  .prediction-badge {
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .no-matches {
    padding: 1rem 0.75rem;
    margin: 0.5rem;
  }
  
  .no-matches h3 {
    font-size: 1rem;
  }
  
  .no-matches p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
}

/* Notices */
.notice {
  border: 1px solid rgba(200,220,255,0.6) !important;
  background: #ffffff !important;
  color: var(--blue-2) !important;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Tables */
.table-wrap {
  background: var(--card) !important;
  border-radius: 1rem !important;
  overflow: hidden;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.table-wrap:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px);
}
.table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: 0.9375rem;
  background: transparent;
  border-radius: 0.75rem;
  overflow: hidden;
}
.table thead th {
  background: var(--gradient-primary) !important;
  color: white !important;
  position: sticky;
  top: 0;
  z-index: 10;
  font-weight: 600 !important;
  padding: 1rem 1.25rem !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: none !important;
}
.table th,
.table td {
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid var(--border) !important;
  border-right: 1px solid var(--border) !important;
  vertical-align: middle;
  color: var(--text);
  background: var(--card);
  transition: var(--transition);
}

.table th:last-child,
.table td:last-child {
  border-right: none !important;
}

.table tbody tr:last-child td {
  border-bottom: none !important;
}

.table tbody tr:nth-child(odd) { background: var(--lighter); }
.table tbody tr:hover { background: var(--primary-light) !important; }
.group-row th {
  background: linear-gradient(135deg, rgba(30,60,114,0.08) 0%, rgba(42,82,152,0.08) 100%) !important;
  color: var(--blue-2) !important;
  font-weight: 700;
  padding: 12px 16px !important;
  position: sticky;
  top: 46px;
  z-index: 1;
}

/* Badges for tip type */
/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  border: 1px solid transparent;
  vertical-align: middle;
  line-height: 1;
  transition: var(--transition);
}

.badge .badge-icon { 
  margin-right: 0.35rem;
  font-size: 0.8em;
}

.badge-free {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.badge-vip {
  background: #f5f3ff;
  color: #5b21b6;
  border-color: #c4b5fd;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Hover effects */
.badge-free:hover {
  background: #d1fae5;
  transform: translateY(-1px);
}

.badge-vip:hover {
  background: #ede9fe;
  transform: translateY(-1px);
}

/* Result badges */
.result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0 0.5rem;
  transition: var(--transition);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .table-wrap {
    border-radius: 0.75rem !important;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }
  
  .table th, 
  .table td {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem;
  }
  
 /* Add these styles to your CSS file */

/* Merged Hero Banner */
/* Hero Banner - Ensure consistent background on all screens */
/* Hero Banner - Force consistent background */
/* Force override any conflicting styles */
body .hero-banner {
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%) !important;
    background-image: 
        linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 0, 0.1) 0%, transparent 12%) !important;
}
.hero-banner {
    background: linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%) !important;
    background-image: 
        linear-gradient(135deg, #0a1a3a 0%, #1a3a7a 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 0, 0.1) 0%, transparent 12%) !important;
    background-attachment: fixed;
    color: white;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Make sure container takes full width and centers content */
.hero-banner > .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Ensure content is above any pseudo-elements */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Hero text adjustments */
.hero-text {
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
    color: #e0e9ff;
}

/* User greeting section - integrated with hero */
.user-greeting {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.greeting .hand-wave {
    font-size: 1.5rem;
    animation: wave 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.greeting-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.greeting .username {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.banner-text .sport-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .user-greeting {
        margin: 0 1rem 1.5rem;
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .greeting-text {
        font-size: 1.1rem;
    }
    
    .banner-text {
        font-size: 0.95rem;
    }
}

/* Animation for the wave */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(14deg); }
    50% { transform: rotate(-8deg); }
    75% { transform: rotate(14deg); }
}







/* Animation for the wave */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(14deg); }
    50% { transform: rotate(-8deg); }
    75% { transform: rotate(14deg); }
}



.btn-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        padding: 1.5rem 0;
        border-radius: 0;
    }
    
  
    
    
    
    
    .btn-vip {
        width: 100%;
        justify-content: center;
    }
}
  
  .result {
    min-width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}

/* Result styles */
.result {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Result states */
.result.won { 
  background: var(--success);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.result.lost { 
  background: var(--danger);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.result.pending { 
  background: var(--warning);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.result.void { 
  background: var(--muted);
  box-shadow: 0 2px 4px rgba(156, 163, 175, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Card styles */
.card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--lighter);
}

.card-body {
  padding: 1.5rem;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--card);
  background-clip: padding-box;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Alerts and notifications */
.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
}

.alert-success {
  color: #065f46;
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}

.alert-info {
  color: #1e40af;
  background-color: #dbeafe;
  border-color: #93c5fd;
}

.alert-warning {
  color: #92400e;
  background-color: #fef3c7;
  border-color: #fcd34d;
}

.alert-danger {
  color: #991b1b;
  background-color: #fee2e2;
  border-color: #fca5a5;
}

/* Tip visibility */
.tip { color: var(--blue-2) !important; font-weight: 700; }
.gate { color: #9aa6b2 !important; letter-spacing: 0.6px; font-weight: 600; filter: blur(1px); }
.vip-lock { color: #7c3aed; font-weight: 700; }

/* Subscription status bar */
.subscription-status-banner {
  background: linear-gradient(135deg, #1a3364 0%, #22478f 100%) !important;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.subscription-badge {
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.18);
}
.upgrade-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%) !important;
  color: #1a3364 !important;
}

/* Mini Banner */
.mini-banner {
    margin: -1rem auto 2rem;
    position: relative;
    z-index: 10;
}

.mini-banner-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mini-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.mini-banner-message {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hand-wave {
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
    font-size: 1.2em;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.greeting-text {
    font-weight: 500;
}

.username {
    color: #ffd700;
    font-weight: 600;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.sport-icon {
    font-size: 1.4em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.mini-banner-cta {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
/* CTA Buttons Grid Layout */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    width: 90%; /* Added this line */
}

.cta-buttons .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-buttons .btn i {
    font-size: 1.1em;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Two-column layout on larger screens */
/* Two-column layout on larger screens */
@media (min-width: 768px) {
    .cta-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin: 0;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}btn-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #1a1a1a;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .mini-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .banner-text {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-vip {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}
/* Header polish (already fixed) */
.site-header {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%) !important;
}

/* Buttons */
.button {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,60,114,0.25); }

/* Typography */
h1, h2, h3 { color: var(--blue-1) !important; text-shadow: 0 1px 2px rgba(0,0,0,0.04); }
strong, b { color: var(--blue-2) !important; font-weight: 800 !important; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .table td { padding: 10px 12px !important; }
  .group-row th { top: 42px; }
  .hero-banner { padding: 28px 0; }
}
/* Add this section after the existing .match-table styles (around line 492) */

/* Jackpot and Winning History Tables */
.section.recent-history {
    margin: 2rem 0;
}

.section.recent-history .table-wrap {
    background: var(--card);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.section.recent-history .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.85rem;
}

.section.recent-history .table th,
.section.recent-history .table td {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Remove right border from last cell in each row */
.section.recent-history .table th:last-child,
.section.recent-history .table td:last-child {
    border-right: none;
}

/* Header styling */
.section.recent-history .table thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

/* Group header rows */
.section.recent-history .group-row th {
    background-color: var(--lighter);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

/* Result badges */
.section.recent-history .result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
}

.section.recent-history .result.won {
    background-color: var(--success);
    color: white;
}

.section.recent-history .result.lost {
    background-color: var(--danger);
    color: white;
}

.section.recent-history .result.pending {
    background-color: var(--warning);
    color: white;
}

.section.recent-history .result.void {
    background-color: var(--muted);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section.recent-history .table-wrap {
        border-radius: 0;
        margin: 0 -1rem 1.5rem;
        width: calc(100% + 2rem);
    }
    
    .section.recent-history .table {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .section.recent-history .table th,
    .section.recent-history .table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}