/* ============================================
   Jenny Mod Minecraft - Global Styles
   jennymodminecraft.org
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-deep: #07040f;
  --bg-primary: #0c0817;
  --bg-secondary: #130e22;
  --bg-card: #1a1330;
  --bg-card-hover: #221a3d;
  --bg-glass: rgba(20, 14, 40, 0.7);

  --text-primary: #ede6f7;
  --text-secondary: #a08cb8;
  --text-muted: #6b5a80;

  --accent-purple: #a855f7;
  --accent-purple-bright: #c084fc;
  --accent-pink: #ec4899;
  --accent-pink-bright: #f472b6;
  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #a855f7, #ec4899);
  --gradient-secondary: linear-gradient(135deg, #10b981, #06b6d4);
  --gradient-hero: linear-gradient(180deg, rgba(168,85,247,0.12) 0%, transparent 60%);
  --gradient-card: linear-gradient(145deg, rgba(168,85,247,0.08), rgba(236,72,153,0.05));

  --glow-purple: 0 0 30px rgba(168,85,247,0.2);
  --glow-pink: 0 0 30px rgba(236,72,153,0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-purple-bright);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-pink);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  color: var(--text-secondary);
  max-width: 70ch;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-purple-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.45);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(168,85,247,0.4);
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(168,85,247,0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--gradient-secondary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.45);
  color: #fff;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7,4,15,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168,85,247,0.08);
  transition: all 0.35s ease;
}

.header.scrolled {
  background: rgba(7,4,15,0.92);
  border-bottom-color: rgba(168,85,247,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

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

.header-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text-primary);
  background: rgba(168,85,247,0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-btn:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}

.lang-switcher.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: rgba(168,85,247,0.12);
  color: var(--text-primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-emerald-bright);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

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

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.15);
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 460px;
  display: block;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,4,15,0.5) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow-1 {
  top: -50px;
  right: -50px;
  background: rgba(168,85,247,0.2);
}

.hero-glow-2 {
  bottom: -50px;
  left: -50px;
  background: rgba(236,72,153,0.15);
}

/* --- Page Hero (for inner pages) --- */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--gradient-hero);
  position: relative;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text-secondary);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-dark {
  background: var(--bg-primary);
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  border-color: rgba(168,85,247,0.25);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-icon-purple {
  background: rgba(168,85,247,0.12);
  color: var(--accent-purple-bright);
}

.feature-icon-pink {
  background: rgba(236,72,153,0.12);
  color: var(--accent-pink-bright);
}

.feature-icon-green {
  background: rgba(16,185,129,0.12);
  color: var(--accent-emerald-bright);
}

.feature-icon-amber {
  background: rgba(245,158,11,0.12);
  color: var(--accent-amber);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- About Section / Two Column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.two-col-image img {
  width: 100%;
  display: block;
}

.two-col-content h2 {
  margin-bottom: 20px;
}

.two-col-content p {
  margin-bottom: 16px;
}

.two-col-content .btn {
  margin-top: 12px;
}

/* --- Download Cards --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.download-card {
  padding: 36px 32px;
  background: var(--gradient-card);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s ease;
}

.download-card:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.download-card-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(168,85,247,0.12);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-purple-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.download-card-version {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.download-card-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.download-card-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* --- Characters --- */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.character-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}

.character-card:hover {
  border-color: rgba(168,85,247,0.25);
  transform: translateY(-3px);
}

.character-card-image {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.15);
}

.character-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-card-content h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.character-card-content p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.character-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(168,85,247,0.1);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-purple-bright);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: rgba(168,85,247,0.25);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.25s;
}

.faq-question:hover {
  color: var(--accent-purple-bright);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.35s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-deep), rgba(168,85,247,0.06), var(--bg-deep));
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 36px;
}

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

/* --- Installation Steps --- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.step-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step-content p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 36px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #fff;
}

.tab-btn:hover:not(.active) {
  color: var(--text-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Table Styles --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.info-table th,
.info-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(168,85,247,0.08);
}

.info-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  white-space: nowrap;
  width: 40%;
}

.info-table td {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* --- Footer --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(168,85,247,0.08);
  padding: 80px 0 0;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.25s;
}

.footer-links a:hover {
  color: var(--accent-purple-bright);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(168,85,247,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

/* --- Legal Pages --- */
.legal-content {
  padding: 80px 0;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* --- Screenshot Gallery --- */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(168,85,247,0.1);
  transition: all 0.35s;
}

.screenshot-item:hover {
  border-color: rgba(168,85,247,0.25);
  transform: scale(1.02);
  box-shadow: var(--glow-purple);
}

.screenshot-item img {
  width: 100%;
  display: block;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrapper img {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 70px 0;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7,4,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 4px;
    z-index: 999;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 1.1rem;
    padding: 14px 20px;
    border-radius: var(--radius-md);
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .character-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 60px;
  }

  .hero-image-wrapper img {
    max-width: 280px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* --- Contact Form (for contact pages if needed) --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Pixel decoration */
.pixel-border {
  position: relative;
}

.pixel-border::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-purple) 0px,
    var(--accent-purple) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.4;
}
