/* Thelsicker Ascends — Game Website */

:root {
  --bg-darkest: #0a0a12;
  --bg-dark: #12121f;
  --bg-panel: #1a1a2e;
  --bg-card: #1e1e35;
  --accent-purple: #7b68ee;
  --accent-violet: #9b30ff;
  --accent-blue: #4a6cf7;
  --accent-gold: #ffd700;
  --accent-green: #3ddc84;
  --accent-cyan: #00d4ff;
  --text-primary: #e0e0f0;
  --text-secondary: #8888aa;
  --text-muted: #555577;
  --border-subtle: rgba(123, 104, 238, 0.15);
  --glow-purple: rgba(123, 104, 238, 0.3);
  --glow-gold: rgba(255, 215, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--accent-violet);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-purple);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-purple);
  color: #fff;
}

.btn-primary:hover {
  background: #6a58dd;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-purple);
}

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

.btn-secondary:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* Section Base */
section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-center {
  text-align: center;
}

.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 40%, rgba(155, 48, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(123, 104, 238, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.hero-image img {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}

.platforms-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.platform-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.platform-item.active {
  color: var(--accent-green);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123, 104, 238, 0.1);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Zone Gallery */
.zones-section {
  background: var(--bg-dark);
}

.zone-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.zone-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s;
}

.zone-card:hover {
  transform: scale(1.03);
}

.zone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
}

.zone-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(10, 10, 18, 0.9));
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Lore / Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.story-image img {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}

.story-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.story-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-text .highlight {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.spec-group {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
}

.spec-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

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

.spec-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

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

.spec-list li span {
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(155, 48, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
}

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

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.pixel-art {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

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

  .zone-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

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

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

  .platforms-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
}
