/* Lost Soul Aside Guide - Dark Theme */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a28;
  --bg-hover: #222235;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --accent-primary: #c8a86e;
  --accent-secondary: #8a6e4a;
  --accent-glow: #f0d080;
  --border-color: #2a2a3e;
  --danger: #e05050;
  --success: #50c878;
  --header-height: 70px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-glow); }

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

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
}

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

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
  background: rgba(200, 168, 110, 0.1);
}

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

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 40px) 20px 60px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, rgba(200,168,110,0.08) 0%, rgba(10,10,15,1) 50%, rgba(200,168,110,0.05) 100%);
  border-radius: 16px;
  margin-bottom: 60px;
  border: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero .release-badge {
  display: inline-block;
  background: rgba(200, 168, 110, 0.15);
  border: 1px solid rgba(200, 168, 110, 0.3);
  padding: 10px 24px;
  border-radius: 8px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 30px;
}

.hero .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .cta-btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.hero .cta-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0a0a0f;
  border: none;
}

.hero .cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 168, 110, 0.3);
}

.hero .cta-btn.secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.hero .cta-btn.secondary:hover {
  background: rgba(200, 168, 110, 0.1);
  transform: translateY(-2px);
}

/* Section Styles */
section { margin-bottom: 60px; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--accent-primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

.card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card-body .card-link {
  color: var(--accent-glow);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

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

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

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

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

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

/* Content Sections */
.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.content-section h2 {
  color: var(--accent-primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.content-section h3 {
  color: var(--accent-glow);
  font-size: 1.2rem;
  margin: 24px 0 12px;
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.content-section ul li {
  color: var(--text-secondary);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid rgba(42,42,62,0.5);
}

.content-section ul li:last-child { border-bottom: none; }

.content-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* Screenshot Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  cursor: pointer;
}

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

/* Info Box */
.info-box {
  background: rgba(200, 168, 110, 0.08);
  border: 1px solid rgba(200, 168, 110, 0.2);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 20px 0;
}

.info-box h4 {
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.info-box p, .info-box li {
  color: var(--text-secondary);
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: rgba(200, 168, 110, 0.1);
  color: var(--accent-primary);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

tr:hover td {
  background: rgba(200, 168, 110, 0.05);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

.tag-gold { background: rgba(200, 168, 110, 0.2); color: var(--accent-primary); }
.tag-blue { background: rgba(80, 140, 200, 0.2); color: #5090c8; }
.tag-green { background: rgba(80, 200, 120, 0.2); color: #50c878; }
.tag-red { background: rgba(224, 80, 80, 0.2); color: #e05050; }

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--text-secondary); }
footer a:hover { color: var(--accent-primary); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 16px 40px; }

  .section-title { font-size: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .content-section { padding: 20px; }
  .gallery { grid-template-columns: 1fr; }

  table { font-size: 0.85rem; }
  th, td { padding: 8px 10px; }
}
