/* 👑 ROYAL SUSPICIOUS BOT — Modern Dark Glassmorphism Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #080B10;
  --bg-card: rgba(22, 27, 34, 0.75);
  --bg-card-hover: rgba(30, 38, 48, 0.85);
  --border-glass: rgba(255, 215, 0, 0.15);
  --border-card: rgba(255, 255, 255, 0.08);

  --gold-primary: #FFD700;
  --gold-glow: rgba(255, 215, 0, 0.35);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);

  --emerald-green: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --emerald-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);

  --cyan-blue: #06B6D4;
  --cyan-glow: rgba(6, 182, 212, 0.3);

  --danger-red: #EF4444;

  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 60px;
}

/* Header Banner */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 16, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 16px 32px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px var(--gold-glow));
  animation: pulseCrown 3s infinite ease-in-out;
}

@keyframes pulseCrown {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--gold-glow)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 20px #FFD700); }
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Status Badges Header */
.header-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.stat-pill .val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-primary);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-green);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 50px;
  padding: 6px 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-green);
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* Main Layout */
.main-container {
  max-width: 1400px;
  margin: 32px auto 0 auto;
  padding: 0 24px;
}

/* 🔒 BOT LOCK BANNER STYLES */
.lock-banner {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(16px);
  animation: lockGlow 3s infinite ease-in-out;
}

@keyframes lockGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

.lock-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 14px;
}

.lock-status-badge {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.lock-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.lock-card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settle-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.btn-settle {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-settle-win {
  background: var(--emerald-gradient);
  color: #000;
  box-shadow: 0 0 14px var(--emerald-glow);
}

.btn-settle-win:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--emerald-green);
}

.btn-settle-loss {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--danger-red);
}

.btn-settle-loss:hover {
  background: rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}


/* Feature Grid Banner */
.features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 1.8rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Filter Controls Bar */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  backdrop-filter: blur(12px);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-toggle.active, .btn-toggle:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 14px var(--gold-glow);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-card);
}

.slider-container input[type="range"] {
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.slider-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-primary);
  min-width: 45px;
}

/* Feed Title */
.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.feed-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Match Cards Grid */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 24px;
}

/* Match Card Glassmorphic */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.match-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.match-card.strictly-selected {
  border: 1px solid rgba(255, 215, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.04) 0%, rgba(22, 27, 34, 0.85) 100%);
}

.match-card.strictly-selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

/* Match Header Meta */
.match-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.league-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clock-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* Scoreboard Row */
.scoreboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team {
  flex: 1;
}

.team.home { text-align: left; }
.team.away { text-align: right; }

.team-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.score-display {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-primary);
  padding: 0 16px;
  text-shadow: 0 0 10px var(--gold-glow);
}

/* Royal Suspicion Score Ring / Badge */
.suspicion-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.suspicion-score-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suspicion-score-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Recommended Value Bet Box */
.value-bet-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--emerald-glow);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}

.value-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.value-selection {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.value-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.odds-chip {
  background: var(--emerald-green);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}

.edge-chip {
  color: var(--emerald-green);
  font-weight: 700;
}

/* Stats Dominance Bar */
.stats-bar-wrapper {
  margin-bottom: 18px;
}

.stats-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.progress-bar-home {
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.5s ease;
}

.progress-bar-away {
  height: 100%;
  background: var(--cyan-blue);
  transition: width 0.5s ease;
}

/* Accordion & Details Button */
.btn-analysis {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-analysis:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--gold-primary);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #0E131F;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-content p {
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Utility */
.badge-strict {
  background: var(--gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .header-container { flex-direction: column; align-items: flex-start; }
  .matches-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
}
