/* SWGEmu Launcher Website - Main Stylesheet */

:root {
  --primary-color: #0c1e3e;
  --secondary-color: #ffba08;
  --accent-color: #4f8ff7;
  --bg-color: #05070f;
  --text-color: #e0e0e0;
  --dark-color: #0a0e1a;
  --card-bg: rgba(28, 28, 28, 0.7);
  --border-color: #333;
  --hover-color: #1d3461;
  --success-color: #2ecc40;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Star background effect */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #0f1123 0%, #020307 100%);
}

.stars:before, .stars:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(white, rgba(255,255,255,0) 2px),
    radial-gradient(white, rgba(255,255,255,0) 1px);
  background-size: 100px 100px, 150px 150px;
  background-position: 0 0, 50px 50px;
  animation: twinkle 8s infinite alternate;
  opacity: 0.3;
}

.stars:after {
  background-size: 200px 200px, 250px 250px;
  background-position: 25px 25px, 75px 75px;
  animation-delay: 1s;
  opacity: 0.5;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.5;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-right: 15px;
}

.logo h1 {
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #e0a800;
}

.btn-secondary {
  background-color: var(--accent-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #4379cf;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  text-align: center;
}

.features h2 {
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  color: var(--secondary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Download Section */
.download {
  padding: 80px 0;
}

.download h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.download-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.download-card p {
  margin-bottom: 10px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.release-notes, .previous-versions {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.release-notes h3, .previous-versions h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.release-notes ul, .previous-versions ul {
  list-style-position: inside;
  margin-left: 20px;
}

.release-notes li, .previous-versions li {
  margin-bottom: 10px;
}

.previous-versions li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.previous-versions a {
  color: var(--accent-color);
  text-decoration: none;
}

.previous-versions a:hover {
  text-decoration: underline;
}

/* Requirements Section */
.requirements {
  padding: 80px 0;
}

.requirements h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.requirement-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.requirement-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.requirement-card ul {
  list-style-type: none;
}

.requirement-card li {
  margin-bottom: 12px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Footer */
footer {
  padding: 60px 0 30px;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 40px;
  margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.copyright p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .download-options,
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  nav ul li {
    margin: 0 10px;
  }
  
  .hero-content h2 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .btn {
    width: 100%;
  }
}
