:root {
  --bg-primary: #090d16;
  --bg-surface: #121824;
  --bg-surface-elevated: #1a2234;
  --bg-surface-hover: #222d42;
  --border-color: #243047;
  --border-glow: rgba(0, 230, 118, 0.25);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-green: #00e676;
  --accent-green-dark: #00b359;
  --accent-green-glow: rgba(0, 230, 118, 0.2);
  --accent-blue: #0284c7;
  --accent-gold: #f59e0b;
  --danger-color: #ef4444;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --max-width: 1240px;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.page-header-img {
  position: relative;
  overflow: hidden;
}

.page-header-img .page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.page-header-img .container {
  position: relative;
  z-index: 1;
}

.section-feature-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  display: block;
}

.predictions-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  display: block;
  opacity: 0.7;
}

.player-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .section-feature-image {
    max-height: 200px;
  }
  .predictions-banner {
    height: 140px;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-site {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.brand-icon {
  color: var(--accent-green);
}

.brand-badge {
  background-color: var(--accent-green);
  color: #04120a;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-green);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-green);
  color: #04120a;
  box-shadow: 0 4px 14px var(--accent-green-glow);
}

.btn-primary:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--text-muted);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-outline:hover {
  background-color: var(--accent-green-glow);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.8rem;
}

.age-badge-large {
  width: 54px;
  height: 54px;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hero-section {
  padding: 5rem 0 3rem 0;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-green);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: rgba(18, 24, 36, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header.left-aligned {
  text-align: left;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.section-description {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.75rem auto 0 auto;
  font-size: 1.05rem;
}

.section-description-flush {
  margin: 0.5rem 0 0 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.advantages-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

.advantage-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advantage-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-main);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
}

.advantage-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.advantage-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.advantage-card-desc-large {
  font-size: 1.05rem;
  line-height: 1.7;
}

.play-now-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.players-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.players-block-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.position-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-green);
  color: #04120a;
  border-color: var(--accent-green);
}

.players-grid-wrapper {
  position: relative;
  overflow: hidden;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.player-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.player-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.player-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--accent-green);
}

.player-avatar svg {
  width: 44px;
  height: 44px;
}

.player-position-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--accent-green);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
}

.player-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.player-team {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.player-add-btn {
  width: 100%;
}

.player-card.selected {
  border-color: var(--accent-green);
  background-color: rgba(0, 230, 118, 0.04);
}

.player-card.selected .player-add-btn {
  background-color: var(--bg-surface-elevated);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.your-team-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-counter {
  font-size: 0.9rem;
  color: var(--text-muted);
  background-color: var(--bg-surface-elevated);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.team-counter-num {
  color: var(--accent-green);
  font-weight: 800;
}

.team-slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.team-slot {
  background-color: var(--bg-surface-elevated);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.team-slot.filled {
  border-style: solid;
  border-color: var(--accent-green);
  background-color: rgba(0, 230, 118, 0.05);
}

.slot-pos {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.team-slot.filled .slot-pos {
  color: var(--accent-green);
}

.slot-player-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.slot-player-team {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slot-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  padding: 2px;
  border-radius: var(--radius-sm);
}

.slot-empty-icon {
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.slot-empty-icon svg {
  width: 24px;
  height: 24px;
}

.slot-empty-subtext {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.play-action-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.btn-play-trigger {
  padding: 1rem 3rem;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.predictions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prediction-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-pick-tag {
  color: var(--accent-green);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.team-badge-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.vs-badge {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
}

.prediction-analysis {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.probability-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.prob-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.prob-bar {
  height: 8px;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.prob-fill {
  height: 100%;
  background-color: var(--accent-green);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 9, 18, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-box-center {
  text-align: center;
}

.modal-box-sm {
  max-width: 400px;
  text-align: center;
  padding: 2rem 1.75rem;
}

.error-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  stroke: #ef4444;
}

.error-modal-icon svg {
  stroke: #ef4444;
}

.error-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.error-modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-icon-success {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
}

.form-checkbox-label {
  display: block;
  position: relative;
  padding-left: 30px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.6;
}

.form-checkbox-label a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.form-checkbox-label a:hover {
  text-decoration: underline;
  color: #34f09a;
}

.form-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  cursor: pointer;
  transition: var(--transition);
}

.form-checkbox-label input[type="checkbox"]:checked {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.form-checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #090d16;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-row-auth {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.form-link-green {
  color: var(--accent-green);
  text-decoration: none;
}

.sim-rich {
  text-align: left;
}

.sim-result-banner {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.sim-result-banner.sim-win {
  background: linear-gradient(135deg, rgba(0,230,118,0.15) 0%, rgba(0,230,118,0.03) 100%);
  border: 1px solid rgba(0,230,118,0.3);
}

.sim-result-banner.sim-loss {
  background: linear-gradient(135deg, rgba(239,68,68,0.15) 0%, rgba(239,68,68,0.03) 100%);
  border: 1px solid rgba(239,68,68,0.3);
}

.sim-result-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.sim-win .sim-result-label { color: var(--accent-green); }
.sim-loss .sim-result-label { color: #ef4444; }

.sim-result-final {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.sim-quarter-table {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sim-qt-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.sim-qt-row:last-child { border-bottom: none; }

.sim-qt-row span:first-child {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-qt-header {
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sim-qt-user { color: var(--accent-green); }
.sim-qt-rival { color: var(--text-secondary); }

.sim-qt-total {
  font-weight: 900;
  font-size: 0.95rem;
}

.sim-qt-cell {
  font-weight: 700;
}

.sim-mvp-card {
  background: linear-gradient(135deg, rgba(250,204,21,0.1) 0%, rgba(250,204,21,0.02) 100%);
  border: 1px solid rgba(250,204,21,0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sim-mvp-badge {
  background: rgba(250,204,21,0.2);
  color: #facc15;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.sim-mvp-info { display: flex; flex-direction: column; gap: 0.15rem; }
.sim-mvp-name { font-weight: 800; color: #ffffff; font-size: 1rem; }
.sim-mvp-detail { font-size: 0.75rem; color: var(--text-muted); }

.sim-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sim-stats-section { margin-bottom: 1.25rem; }

.sim-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sim-stat-row {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
}

.sim-stat-player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.sim-stat-pos {
  background: rgba(0,230,118,0.15);
  color: var(--accent-green);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.sim-stat-numbers {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.sim-stat-pts {
  color: var(--accent-green);
  font-weight: 800;
}

.sim-stat-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.sim-stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), #22d3ee);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.sim-plays-section { margin-bottom: 1.25rem; }

.sim-plays-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-play-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sim-play-quarter {
  background: rgba(0,230,118,0.15);
  color: var(--accent-green);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 0.1rem;
}

.sim-play-text { flex: 1; }

.sim-thankyou {
  background: rgba(0,230,118,0.06);
  border: 1px solid rgba(0,230,118,0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sim-thankyou strong { color: var(--accent-green); }

.form-success-msg {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 230, 118, 0.07);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-success-msg--visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.form-success-msg svg {
  flex-shrink: 0;
  stroke: var(--accent-green);
}

.sim-footer-action {
  text-align: center;
  margin-top: 1.5rem;
}

.age-gate-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 9, 18, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
}

.age-gate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 900px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-text a {
  color: var(--accent-green);
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.page-header {
  padding: 4rem 0 2.5rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
  background-color: rgba(18, 24, 36, 0.4);
}

.page-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
}

.legal-content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.legal-nav-sticky {
  position: sticky;
  top: 100px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.legal-nav-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav-item a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.legal-nav-item a:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--accent-green);
}

.policy-clause {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.policy-clause-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.policy-clause-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.policy-clause-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.policy-clause-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.policy-clause-list li {
  margin-bottom: 0.4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-social-wrapper {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.info-item-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.info-value a {
  color: var(--accent-green);
  text-decoration: none;
}

.info-subtext-green {
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-top: 0.2rem;
}

.info-subtext-muted {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-container {
  max-width: 480px;
  margin: 3rem auto 5rem auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-main);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-footer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
}

.footer-site {
  margin-top: auto;
  background-color: #060910;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--accent-green);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.social-link-item:hover {
  border-color: var(--accent-green);
  color: #ffffff;
  background-color: var(--bg-surface-elevated);
}

.social-link-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.legal-entity-box {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.4;
}

.footer-cert-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cert-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.container-stack-col {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.container-stack-sm {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
  }
  
  .nav-menu.mobile-open { display: flex; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .players-grid { grid-template-columns: repeat(3, 1fr); }
  .team-slots-grid { grid-template-columns: repeat(3, 1fr); }
  .predictions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
  .legal-content-grid { grid-template-columns: 1fr; }
  .legal-nav-sticky { position: static; margin-bottom: 2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantages-grid-2col { grid-template-columns: 1fr; }
  
  .players-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .player-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .team-slots-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .team-slot {
    flex: 0 0 130px;
    scroll-snap-align: start;
  }

  .predictions-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0.5rem;
    width: calc(100% - 1rem);
  }
}

@media (max-width: 600px) {
  .nav-actions { display: none !important; }

  .nav-menu-auth {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu-auth .btn {
    width: 100%;
    text-align: center;
  }

  .nav-menu-auth .age-badge {
    align-self: flex-start;
  }
}
