/* ============================================
   DEGENPOST — Global Styles
   Vibe: Dark mode, neon accents, degen culture
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --bg-input: #16162a;
  --border: #2a2a4a;
  --border-glow: #00ff8855;
  
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b8;
  --text-muted: #666680;
  
  --neon-green: #00ff88;
  --neon-green-dim: #00cc6a;
  --neon-blue: #00d4ff;
  --neon-purple: #b44aff;
  --neon-orange: #ff6b35;
  --neon-red: #ff3366;
  --neon-gold: #ffd700;
  
  --win: #00ff88;
  --loss: #ff3366;
  --push: #ffd700;
  --pending: #00d4ff;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Sizing */
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--neon-blue);
}

img { max-width: 100%; height: auto; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-fire {
  background: linear-gradient(135deg, var(--neon-orange), var(--neon-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-free { background: #00ff8822; color: var(--neon-green); border: 1px solid #00ff8844; }
.badge-pro { background: #00d4ff22; color: var(--neon-blue); border: 1px solid #00d4ff44; }
.badge-whale { background: #b44aff22; color: var(--neon-purple); border: 1px solid #b44aff44; }
.badge-win { background: #00ff8822; color: var(--win); }
.badge-loss { background: #ff336622; color: var(--loss); }
.badge-push { background: #ffd70022; color: var(--push); }
.badge-pending { background: #00d4ff22; color: var(--pending); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), #00cc6a);
  color: #000;
  box-shadow: 0 0 20px #00ff8833;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px #00ff8855;
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover {
  color: var(--neon-green);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo .logo-icon {
  font-size: 1.8rem;
}
.nav-logo span {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--neon-green);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #00ff8808 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 #00ff8844; }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px #00ff8800; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-green);
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   LIVE TICKER
   ============================================ */
.ticker {
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
}
.ticker-item .sport-tag {
  padding: 2px 8px;
  background: var(--bg-card);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-blue);
}
.ticker-item .pick-text {
  color: var(--text-secondary);
}
.ticker-item .result-win { color: var(--win); font-weight: 700; }
.ticker-item .result-loss { color: var(--loss); font-weight: 700; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .overline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-green);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-dark {
  background: var(--bg-secondary);
}

/* ============================================
   PICK CARDS
   ============================================ */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pick-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.08);
}
.pick-card.locked {
  opacity: 0.7;
}
.pick-card.locked::after {
  content: '🔒 PRO';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-card);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pick-card.locked.whale::after {
  content: '🐋 WHALE';
  border-color: var(--neon-purple);
  color: var(--neon-purple);
}

.pick-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pick-sport {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-blue);
  background: #00d4ff15;
  padding: 4px 10px;
  border-radius: 6px;
}
.pick-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pick-matchup {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.pick-matchup .vs {
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 6px;
}

.pick-selection {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #00ff8808;
  border: 1px solid #00ff8833;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.pick-selection .pick-label {
  font-weight: 700;
  color: var(--neon-green);
  font-size: 1.05rem;
}
.pick-selection .pick-odds {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.pick-confidence {
  margin-bottom: 16px;
}
.confidence-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}
.confidence-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}
.confidence-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.confidence-label .label { color: var(--text-muted); }
.confidence-label .value { font-weight: 700; font-family: var(--font-mono); }

.pick-reasoning {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pick-reasoning.expanded {
  -webkit-line-clamp: unset;
}

.pick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.pick-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  background: var(--bg-primary);
  border-radius: 4px;
  color: var(--text-muted);
}

.pick-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pick-book {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pick-book a {
  color: var(--neon-green);
  font-weight: 600;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-icon.green { background: #00ff8815; }
.feature-icon.blue { background: #00d4ff15; }
.feature-icon.purple { background: #b44aff15; }
.feature-icon.orange { background: #ff6b3515; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   RECORD / STATS TABLE
   ============================================ */
.record-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.record-table th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.record-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.record-table tr:hover td {
  background: var(--bg-card);
}
.record-table .profit { color: var(--win); font-weight: 700; font-family: var(--font-mono); }
.record-table .negative { color: var(--loss); }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--neon-green);
  box-shadow: 0 0 40px #00ff8815;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neon-green), #00cc6a);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}
.pricing-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: top; }
.pricing-price .period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid #ffffff08;
}
.pricing-features li::before {
  content: '✓';
  color: var(--neon-green);
  font-weight: 700;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, #00ff8808, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus {
  border-color: var(--neon-green);
}
.email-form input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  max-width: 300px;
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-col ul a:hover {
  color: var(--neon-green);
}
.footer-bottom {
  display: flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-disclaimer {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glow effect on cards */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.glow-border:hover::before {
  opacity: 0.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .section { padding: 60px 0; }
  .picks-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================
   LEADERBOARD / SCOREBOARD
   ============================================ */
.scoreboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.scoreboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.scoreboard-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
}
.scoreboard-tabs {
  display: flex;
  gap: 4px;
}
.scoreboard-tab {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.scoreboard-tab.active {
  background: var(--neon-green);
  color: #000;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: toast-in 0.3s ease;
  max-width: 360px;
}
.toast.success { border-left: 3px solid var(--neon-green); }
.toast.error { border-left: 3px solid var(--neon-red); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
