@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg-dark: #09090e;
  --bg-card: rgba(18, 18, 28, 0.75);
  --bg-card-hover: rgba(28, 28, 44, 0.88);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-bright: rgba(255, 215, 0, 0.85);
  --border-cyan: rgba(56, 189, 248, 0.35);
  --text-gold: #f3d068;
  --text-cyan: #38bdf8;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --glow-gold: 0 0 25px rgba(243, 208, 104, 0.25);
  --glow-cyan: 0 0 25px rgba(56, 189, 248, 0.25);
  --radius-lg: 16px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Sparkle Particles */
#sparkles-container {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.sparkle {
  position: absolute;
  background: white;
  opacity: 0;
  animation: sparkle-fade linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}
.star-4 { clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%); }
.star-8 { clip-path: polygon(50% 0%, 60% 30%, 85% 15%, 70% 40%, 100% 50%, 70% 60%, 85% 85%, 60% 70%, 50% 100%, 40% 70%, 15% 85%, 30% 60%, 0% 50%, 30% 40%, 15% 15%, 40% 30%); }

@keyframes sparkle-fade {
  0% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  50% { opacity: 0.85; transform: scale(1.1) rotate(90deg); }
  100% { opacity: 0; transform: scale(0.2) rotate(180deg); }
}

/* Header Navbar */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(9, 9, 14, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

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

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-item:hover {
  color: var(--text-gold);
}

.btn-play-online {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.3));
  border: 1px solid var(--border-gold);
  color: var(--text-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-play-online:hover {
  background: var(--text-gold);
  color: #000;
  box-shadow: var(--glow-gold);
  transform: translateY(-2deg);
}

/* Page Layout Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 4.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-cyan);
  color: var(--text-cyan);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.4));
  transition: transform 0.3s ease;
}
.hero-logo:hover {
  transform: scale(1.03);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.hero-download-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-download-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-download-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid #38bdf8;
  color: #ffffff;
  padding: 1.1rem 2.4rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-download-primary:hover {
  transform: translateY(-4deg) scale(1.02);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.7);
  background: linear-gradient(135deg, #0369a1, #0284c7);
}

.btn-download-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.3));
  border: 1px solid var(--border-gold);
  color: var(--text-gold);
  padding: 1.1rem 2.2rem;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-download-secondary:hover {
  transform: translateY(-4deg) scale(1.02);
  box-shadow: var(--glow-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.5));
}

.download-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.download-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Feature Showcase Section */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateY(-4deg);
  box-shadow: var(--glow-cyan);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Universal Multi-MUD Section */
.universal-banner {
  background: linear-gradient(135deg, rgba(20, 20, 35, 0.9), rgba(10, 10, 20, 0.9));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
  box-shadow: var(--glow-gold);
}

.universal-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--text-gold);
  margin-bottom: 1rem;
}
.universal-info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.mud-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-gold);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.preset-preview-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #a7f3d0;
}
.preset-preview-box .comment { color: #64748b; }
.preset-preview-box .key { color: #38bdf8; }
.preset-preview-box .val { color: #f3d068; }

/* Setup Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.step-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--border-cyan);
  color: var(--text-cyan);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--text-gold);
  text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-title { font-size: 2.4rem; }
  .universal-banner { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
