@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #030712;
  color: #f3f4f6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* SİBERPUNK GRID & GLOW ARKA PLAN */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 75% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* BUTONLAR */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn-cyan {
  background: #06b6d4;
  color: #030712;
}

.btn-cyan:hover {
  background: #22d3ee;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-outline {
  background: rgba(17, 24, 39, 0.8);
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(31, 41, 55, 1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* HERO SECTION */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #f3f4f6;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #6b7280;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.preview-card-glow {
  width: 100%;
  max-width: 560px;
  height: 380px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.25), inset 0 0 20px rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(12px);
  position: relative;
}

.preview-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.mock-tag.dem { background: rgba(37, 99, 235, 0.2); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.4); }
.mock-tag.rep { background: rgba(220, 38, 38, 0.2); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.4); }
.mock-vs { font-weight: 900; font-size: 0.8rem; color: #4b5563; }

.map-placeholder {
  flex: 1;
  background: radial-gradient(circle at center, #0b1329 0%, #030712 100%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
              linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-live-tag {
  position: relative;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

/* SECTIONS (MODES, MAP, LEADERBOARD, RULES) */
.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-section {
  padding: 100px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.section-desc {
  text-align: center;
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* LEADERBOARD TABLE */
.leaderboard-table-container {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  background: rgba(3, 7, 18, 0.8);
  padding: 16px 24px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #6b7280;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.leaderboard-table .rank {
  font-weight: 900;
  color: #06b6d4;
}

.leaderboard-table .player {
  font-weight: 700;
  color: #ffffff;
}

.leaderboard-table .score {
  font-weight: 800;
  color: #22d3ee;
}

/* MAP FEATURE BOX */
.map-feature-box {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

.map-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.map-info p {
  color: #9ca3af;
  margin-bottom: 24px;
  line-height: 1.6;
}

.map-badges {
  display: flex;
  gap: 12px;
  list-style: none;
}

.map-badges .badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}

.map-badges .badge.dem { background: rgba(37, 99, 235, 0.2); color: #60a5fa; border: 1px solid #2563eb; }
.map-badges .badge.rep { background: rgba(220, 38, 38, 0.2); color: #f87171; border: 1px solid #dc2626; }
.map-badges .badge.toss { background: rgba(217, 119, 6, 0.2); color: #fbbf24; border: 1px solid #d97706; }

/* RULES GRID */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rule-box {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
}

.rule-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #06b6d4;
  display: block;
  margin-bottom: 12px;
}

.rule-box h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.rule-box p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* FOOTER */
.main-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  text-align: center;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}