/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0a1a;
  --bg-card: #1a1228;
  --accent: #7c3aed;
  --accent-hover: #9b5cf5;
  --text-primary: #f0ecf9;
  --text-secondary: #b8aed9;
  --border-subtle: #2a1f3f;
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  padding-top: 70px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-hover);
}

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

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

.accent {
  color: var(--accent);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.logo-icon {
  font-size: 1.6rem;
}
.logo-text {
  letter-spacing: 0.5px;
}
.logo-text .accent {
  font-weight: 900;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
}
.main-nav a:hover {
  color: var(--text-primary);
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.main-nav a:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SECTIONS GENERAL ===== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 12px auto 0;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 0 60px;
  background: radial-gradient(
    ellipse at 20% 50%,
    #1a1228 0%,
    var(--bg-dark) 70%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content .hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}
.hero-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 50px;
  transition:
    background 0.3s,
    transform 0.2s;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  color: #fff;
}

/* Hero image placeholder */
.hero-image .img-placeholder {
  height: 380px;
}
.img-placeholder {
  background: linear-gradient(145deg, #2a1f3f, #1a1228);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.3s;
}
.img-placeholder:hover {
  border-color: var(--accent);
}
.placeholder-content .placeholder-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 8px;
}
.placeholder-content .placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.placeholder-content .placeholder-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 40px 0 30px;
  opacity: 0.3;
}
.hero-text-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ===== CLASSES ===== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.class-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: 0.3s;
}
.class-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.class-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.class-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.class-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.class-stats span {
  background: rgba(124, 58, 237, 0.12);
  padding: 2px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.class-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.skill-tree-section {
  margin-top: 20px;
  text-align: center;
}
.skill-tree-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.skill-tree-placeholder {
  height: 220px;
  max-width: 600px;
  margin: 0 auto 16px;
}
.skill-tree-caption {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== COMBAT ===== */
.combat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.combat-text h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  margin: 24px 0 8px;
}
.combat-text p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.combat-text p:last-of-type {
  margin-bottom: 0;
}
.strategy-placeholder {
  height: 340px;
}

/* ===== FARMING ===== */
.farming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.farming-card {
  background: var(--bg-card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}
.farming-card .farming-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.farming-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.farming-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.map-section {
  text-align: center;
  margin-top: 10px;
}
.map-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.map-placeholder {
  height: 220px;
  max-width: 700px;
  margin: 0 auto 16px;
}
.map-caption {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== PRO TIPS ===== */
.protips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.protip-card {
  background: var(--bg-card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  border: 1px solid var(--border-subtle);
  border-left-width: 6px;
}
.protip-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 6px;
}
.protip-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.protip-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.protips-cta {
  text-align: center;
  padding: 30px;
  background: rgba(124, 58, 237, 0.06);
  border-radius: var(--radius);
  border: 1px dashed var(--accent);
}
.protips-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0c0818;
  border-top: 1px solid var(--border-subtle);
  padding-top: 50px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  padding-bottom: 30px;
}
.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}
.footer-brand p {
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 300px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-links ul {
  list-style: none;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid,
  .combat-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .classes-grid,
  .farming-grid,
  .protips-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
  .burger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: var(--shadow);
  }
  .main-nav.active {
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .main-nav a {
    font-size: 1rem;
  }
  .main-nav a::after {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-stats .stat-number {
    font-size: 1.6rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .classes-grid,
  .farming-grid,
  .protips-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .skill-tree-placeholder,
  .map-placeholder {
    height: 160px;
  }
  .strategy-placeholder {
    height: 220px;
  }
  .hero-image .img-placeholder {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .btn-primary {
    width: 100%;
    text-align: center;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}
