/* CS 1.6 Download - Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff6600;
  --primary-dark: #cc5200;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: #333333;
  --success: #22c55e;
  --warning: #eab308;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 0.75rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: none;
}

.nav a {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: 1rem;
  z-index: 999;
}

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

.mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

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

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

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

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Download Section */
.download-section {
  background: var(--bg-card);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.download-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.download-card.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.2);
}

.download-card.recommended::before {
  content: '⭐ Recommended';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.download-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

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

.download-card-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.download-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.download-card-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.download-card .btn {
  width: 100%;
  justify-content: center;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* System Requirements */
.requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.requirements-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
}

.requirements-card.recommended {
  border-color: var(--primary);
}

.requirements-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.requirements-list {
  list-style: none;
}

.requirements-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list .label {
  color: var(--text-muted);
}

.requirements-list .value {
  font-weight: 500;
}

/* Servers Section */
.servers-table {
  width: 100%;
  overflow-x: auto;
}

.servers-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
}

.servers-table th,
.servers-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.servers-table th {
  background: rgba(255, 102, 0, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.servers-table tr:hover {
  background: var(--bg-card-hover);
}

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.server-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.ping-good {
  color: var(--success);
}

.ping-medium {
  color: var(--warning);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* SEO Content */
.seo-content {
  background: var(--bg-card);
  padding: 4rem 0;
}

.seo-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.seo-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.seo-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.seo-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.seo-content li {
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.gallery-item:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Footer */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-brand h3 span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

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

.footer-links a {
  display: block;
  color: var(--text-secondary);
  padding: 0.375rem 0;
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.language-switcher a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(17, 17, 17, 0.95);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.language-switcher a:first-child {
  border-radius: 0.5rem 0 0 0;
}

.language-switcher a:last-child {
  border-radius: 0 0 0 0.5rem;
}

.language-switcher a:hover,
.language-switcher a.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.language-switcher .flag {
  font-size: 1.25rem;
}

/* Edition Switcher (Left Sidebar) */
.edition-switcher {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.edition-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 2px solid var(--primary);
  border-left: none;
  border-radius: 0 1rem 1rem 0;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.edition-btn:hover {
  padding-right: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.edition-icon {
  font-size: 1.5rem;
}

.edition-text {
  display: none;
}

.edition-btn:hover .edition-text {
  display: block;
}

.edition-label {
  font-size: 0.625rem;
  color: var(--primary);
  text-transform: uppercase;
}

.edition-btn:hover .edition-label {
  color: white;
}

.edition-name {
  font-weight: bold;
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .edition-text {
    display: block;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}
