/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color System - Red Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-red: #ef4444;
  --accent-red-dark: #dc2626;
  --accent-red-light: #f87171;
  --border-color: #27272a;
  --border-hover: #3f3f46;

  /* Fonts */
  --font-english: "Inter", sans-serif;
  --font-persian: "Vazirmatn", sans-serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 6rem 0;
  --header-height: 80px;
}

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

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

/* Typography */
.font-english {
  font-family: var(--font-english);
}

.font-persian {
  font-family: var(--font-persian);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
  transform: scale(1.05);
}

.logo-icon svg {
  color: white;
}

.logo-text {
  font-family: var(--font-english);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--accent-red);
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
}

.nav-icon {
  padding: 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  background: rgba(239, 68, 68, 0.2);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Language Selector Styles */
.language-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  margin-right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-persian);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.flag {
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(239, 68, 68, 0.5);
  padding: 1rem 3rem;
  font-size: 1.125rem;
  border-radius: 16px;
}

.btn-hero-secondary:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.btn-download {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.15), transparent 70%);
  top: 20%;
  left: 20%;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.1), transparent 60%);
  bottom: 30%;
  right: 20%;
}

.glow-3 {
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(239, 68, 68, 0.08), transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.glow-4 {
  width: 600px;
  height: 600px;
  background: conic-gradient(from 0deg, transparent, rgba(239, 68, 68, 0.05), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glow-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1), transparent 50%);
  top: 20%;
  left: 30%;
}

.glow-6 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08), transparent 60%);
  bottom: 20%;
  right: 30%;
}

.glow-7 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05), transparent 50%);
  top: 25%;
  left: 25%;
}

.glow-8 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05), transparent 60%);
  bottom: 25%;
  right: 25%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(239, 68, 68, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  padding: 0 1.5rem;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-title {
  font-family: var(--font-english);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light), var(--accent-red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

.feature-badge svg {
  color: var(--accent-red);
}

.feature-badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 40px;
  height: 64px;
  border: 2px solid rgba(239, 68, 68, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  animation: bounce 2s infinite;
}

.scroll-mouse svg {
  color: var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Features Section */
.features {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(31, 31, 31, 0.5) 50%, var(--bg-primary) 100%);
}

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

.section-title {
  font-family: var(--font-english);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-light), var(--accent-red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.section-divider {
  width: 96px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  transition: all 0.5s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border-radius: 24px;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.feature-icon {
  margin-bottom: 1.5rem;
  position: relative;
}

.icon-bg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
  position: relative;
}

.icon-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  border-radius: 12px;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.feature-card:hover .icon-bg {
  transform: scale(1.1);
}

.feature-card:hover .icon-bg::before {
  transform: scale(1);
}

.icon-bg svg {
  color: white;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: var(--font-english);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-red-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.feature-description {
  /* Fixed text color for better visibility */
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Stats Section */
.stats {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #18181b 0%, #000000 100%);
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-number {
  font-family: var(--font-english);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #d1d5db;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

/* Page Sections */
.page-section {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  border-color: var(--accent-red);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

/* Servers */
.servers-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.server-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.server-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.server-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.server-info {
  flex: 1;
}

.server-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.server-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.server-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-online {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-type {
  background: rgba(239, 68, 68, 0.2);
  color: var(--accent-red-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.server-map {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.server-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.stat svg {
  width: 16px;
  height: 16px;
}

.server-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Downloads */
.downloads-page {
  position: relative;
  overflow: hidden;
}

.downloads-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
}

.download-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.download-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-tab:hover,
.download-tab.active {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.download-tab svg {
  width: 20px;
  height: 20px;
}

.downloads-grid {
  position: relative;
  z-index: 10;
}

.tab-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.tab-content.active {
  display: grid;
}

.download-card {
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
  transform: translateY(-4px);
}

.download-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.download-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.download-card:hover .download-image img {
  transform: scale(1.05);
}

.download-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 24, 27, 0.9) 100%);
}

.download-info {
  padding: 1.5rem;
}

.download-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.download-card:hover .download-title {
  color: var(--accent-red-light);
}

.download-category {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.download-stats {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.download-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-author {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Leaderboard */
.leaderboard {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.leaderboard-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.leaderboard-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.leaderboard-list {
  divide-y: 1px solid var(--border-color);
}

.leaderboard-item {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.leaderboard-item.rank-1,
.leaderboard-item.rank-2,
.leaderboard-item.rank-3 {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rank-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-1 .rank-icon svg {
  color: #fbbf24;
}

.rank-2 .rank-icon svg {
  color: #9ca3af;
}

.rank-3 .rank-icon svg {
  color: #d97706;
}

.rank-number {
  font-weight: 700;
  color: var(--text-secondary);
}

.player-details h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.player-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.player-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: right;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.rank-badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
}

.rank-badge.rank-1 {
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.rank-badge.rank-2 {
  border-color: rgba(156, 163, 175, 0.3);
  color: #9ca3af;
}

.rank-badge.rank-3 {
  border-color: rgba(217, 119, 6, 0.3);
  color: #d97706;
}

.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
  border-color: rgba(113, 113, 122, 0.3);
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.footer-logo-icon svg {
  color: white;
}

.footer-logo-text {
  font-family: var(--font-english);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-red-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--accent-red);
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .server-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .server-actions {
    justify-content: stretch;
  }

  .server-actions .btn {
    flex: 1;
  }

  .player-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .download-tabs {
    flex-direction: column;
    width: 100%;
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-direction: column;
  }

  .leaderboard-item {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .player-stats {
    flex-direction: row;
    justify-content: space-between;
  }
}
