@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* ==========================================================================
   1. Root Variables & Base Setup
   ========================================================================== */
:root {
  --bg-1: #05060a;
  --bg-2: #071429;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --neon-cyan: #00e6ff;
  --neon-blue: #0af2ff;
  --gold: #ffd166;
  --green-live: #00ff88;
  --muted: #9fb6d6;
  --text-light: #f0f6fc;
  --max-width: 1200px;
  
  --border-glass: rgba(255, 255, 255, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 50px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top center, var(--bg-2) 0%, var(--bg-1) 70%);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glass UI Component */
.glass, .glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
}

.glass-card:hover {
  background: var(--glass-strong);
  border-color: rgba(0, 230, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 230, 255, 0.15);
  transform: translateY(-3px);
}

/* Buttons UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #030a16;
  box-shadow: 0 0 20px rgba(0, 230, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 230, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  background: rgba(0, 230, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 230, 255, 0.3);
  width: 100%;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
}

.btn-small:hover {
  background: var(--neon-cyan);
  color: #030a16;
}

/* ==========================================================================
   2. Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand .logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--neon-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(10, 242, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(7, 20, 41, 0.8) 0%, var(--bg-1) 80%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  background: rgba(0, 230, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 230, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
}

.status.green {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-live);
  font-size: 0.8rem;
  font-weight: 700;
}

.status.green::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--green-live);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-live);
  animation: pulse 1.5s infinite;
}

/* ==========================================================================
   4. Predictions Section (FIXED GRID & TABLES)
#predictions {
	display: block !important;
	width: 100%;
	padding: 4rem 0;
	clear: both;
}

.section-head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.section-head h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 800;
	color: #fff;
	margin-bottom: 0.8rem;
}

.section-head .sub {
	color: var(--muted, #a0aec0);
	max-width: 650px;
	margin: 0 auto;
	font-size: 1rem;
}

/* --- SLIDER CONTAINER --- */
.predictions-slider-wrapper {
	position: relative;
	width: 100%;
	margin-top: 2rem;
	padding: 0 1rem;
	box-sizing: border-box;
}

/* Horizontal Scroll Track with Native Snap */
.predictions-slider-track {
	display: flex !important;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 0;
	scrollbar-width: none; /* Firefox */
}

.predictions-slider-track::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

/* Slide item styling */
.slider-slide {
	flex: 0 0 100%; /* Default Mobile: 1 card per view */
	max-width: 100%;
	scroll-snap-align: center;
	box-sizing: border-box;
}

/* Responsive Desktop Layout: Show 2-3 cards per view */
@media (min-width: 768px) {
	.slider-slide {
		flex: 0 0 calc(50% - 0.75rem); /* Tablet: 2 cards per view */
	}
}

@media (min-width: 1100px) {
	.slider-slide {
		flex: 0 0 calc(33.333% - 1rem); /* Desktop: 3 cards per view */
	}
}

/* Card Internal Layout */
.pick-card {
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
}

.pick-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
	padding-bottom: 0.75rem;
}

.pick-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}

/* Table Wrapper inside Slide */
.prediction-table-wrapper {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1rem 0 1.5rem 0;
}

.prediction-table {
	width: 100%;
	min-width: 290px;
	border-collapse: collapse;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 0 12px rgba(0, 230, 255, 0.15);
}

.prediction-table th,
.prediction-table td {
	padding: 10px 8px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.85rem;
}

.prediction-table th {
	color: var(--gold, #ffd700);
	font-weight: 600;
	background: rgba(255, 255, 255, 0.03);
}

.prediction-table td {
	color: #fff;
}

.card-actions {
	margin-top: auto;
}

/* --- NAVIGATION BUTTONS --- */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.slider-btn:hover {
	background: var(--gold, #ffd700);
	color: #000;
	border-color: var(--gold, #ffd700);
}

.prev-btn {
	left: -15px;
}

.next-btn {
	right: -15px;
}

/* --- PAGINATION DOTS --- */
.slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 1.5rem;
}

.slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
	background: var(--gold, #ffd700);
	transform: scale(1.3);
}

/* ==========================================================================
   5. News Section
   ========================================================================== */
.news-section {
  max-width: var(--max-width);
  margin: 4rem auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover, .chip.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-1);
  font-weight: 700;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-list li {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem 1rem 2.25rem;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.news-list li::before {
  content: '→';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neon-cyan);
}

/* ==========================================================================
   6. Testimonials & Footer
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 4rem 0;
}

.testimonial {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}

.footer {
  background: #03060d;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--glass-border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links a { 
  color: var(--gold); 
  text-decoration: none;
}

/* ==========================================================================
   7. Animations & Media Queries (Properly Closed)
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 6, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .news-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .predictions-grid {
    grid-template-columns: 1fr; /* Single clean column stack on phones */
  }

  .prediction-table th, 
  .prediction-table td {
    padding: 8px 4px;
    font-size: 0.78rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}