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

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #0f0a1a;
  color: #e0d6f0;
  line-height: 1.6;
  padding-top: 70px; /* space for fixed header */
}

a {
  color: #b79eff;
  text-decoration: none;
}
a:hover {
  color: #7c3aed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0f0a1a;
  border-bottom: 2px solid #7c3aed;
  z-index: 1000;
  padding: 12px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.logo span {
  color: #7c3aed;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #e0d6f0;
  border-radius: 3px;
  transition: 0.25s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav a {
  color: #d4c8ee;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.2s;
}
.nav a:hover {
  color: #7c3aed;
}

/* ===== SECTIONS ===== */
section {
  padding: 60px 0;
  border-bottom: 1px solid #2a1a3a;
}

h1,
h2,
h3 {
  color: #fff;
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  border-left: 6px solid #7c3aed;
  padding-left: 18px;
}
.section-sub {
  font-size: 1.1rem;
  color: #b09ac8;
  margin-bottom: 30px;
  padding-left: 24px;
}

/* ===== HERO ===== */
.hero {
  padding-top: 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #c4b5dc;
  margin-bottom: 28px;
}
.hero-classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.class-card {
  background: #1a1128;
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid #7c3aed;
}
.class-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 4px;
}
.class-card h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.class-role {
  font-size: 0.8rem;
  color: #7c3aed;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.class-desc {
  font-size: 0.9rem;
  color: #cdc1e0;
  margin-top: 6px;
}
.hero-image img {
  width: 100%;
  border-radius: 16px;
  border: 2px solid #7c3aed;
  background: #1a1128;
}
.hero-total {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #7c3aed;
}

/* ===== BUILDS ===== */
.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.build-card {
  background: #150e20;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #2a1a3a;
  transition: 0.2s;
}
.build-card:hover {
  border-color: #7c3aed;
}
.build-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.build-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: #b8a6d6;
  margin-bottom: 12px;
}
.build-card p {
  margin-bottom: 10px;
  color: #d4c8ee;
}
.build-image {
  margin: 30px 0 10px;
  text-align: center;
}
.build-image img {
  max-width: 100%;
  border-radius: 16px;
  border: 2px solid #7c3aed;
}
.image-caption {
  font-size: 0.9rem;
  color: #9e8ab8;
  margin-top: 6px;
}
.build-total {
  color: #7c3aed;
  font-weight: 500;
}

/* ===== BEGINNER ===== */
.tip-list {
  list-style: none;
  counter-reset: tip;
  margin: 20px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}
.tip-list li {
  counter-increment: tip;
  padding: 10px 14px 10px 48px;
  background: #150e20;
  border-radius: 10px;
  border-left: 4px solid #7c3aed;
  position: relative;
  color: #d4c8ee;
}
.tip-list li::before {
  content: counter(tip);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.keybinds {
  background: #150e20;
  padding: 24px;
  border-radius: 16px;
  margin-top: 20px;
}
.keybinds h3 {
  margin-bottom: 12px;
}
.keybinds ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
}
.keybinds kbd {
  background: #2a1a3a;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff;
  border: 1px solid #7c3aed;
}
.key-tip {
  margin-top: 14px;
  color: #b09ac8;
}

/* ===== COMBAT ===== */
.combat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin: 20px 0 30px;
}
.combat-combos h3,
.combat-positioning h3 {
  margin-bottom: 14px;
}
.combo-list {
  list-style: none;
}
.combo-list li {
  background: #150e20;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  border-left: 4px solid #7c3aed;
  color: #d4c8ee;
}
.combat-positioning p {
  background: #150e20;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  color: #d4c8ee;
}
.combat-image {
  margin: 20px 0 10px;
  text-align: center;
}
.combat-image img {
  max-width: 100%;
  border-radius: 16px;
  border: 2px solid #7c3aed;
}
.combat-total {
  color: #7c3aed;
  font-weight: 500;
}

/* ===== VIDEOS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.video-card {
  background: #150e20;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a1a3a;
  transition: 0.2s;
}
.video-card:hover {
  border-color: #7c3aed;
}
.video-thumb {
  position: relative;
  height: 140px;
  background: #1f1530;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  font-size: 2.4rem;
  color: #7c3aed;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
  opacity: 0.8;
}
.video-dur {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: #0f0a1a;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.video-card h4 {
  padding: 12px 14px 4px;
  color: #fff;
  font-size: 1rem;
}
.video-meta {
  padding: 0 14px;
  font-size: 0.8rem;
  color: #b09ac8;
}
.diff {
  font-weight: 600;
}
.diff.easy {
  color: #4ade80;
}
.diff.medium {
  color: #facc15;
}
.diff.hard {
  color: #f87171;
}
.diff.expert {
  color: #a78bfa;
}
.video-desc {
  padding: 6px 14px 14px;
  font-size: 0.9rem;
  color: #cdc1e0;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0715;
  padding: 30px 0;
  border-top: 2px solid #7c3aed;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #b09ac8;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: #7c3aed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .build-grid {
    grid-template-columns: 1fr 1fr;
  }
  .combat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f0a1a;
    border-top: 2px solid #7c3aed;
    padding: 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s ease;
    opacity: 0;
    pointer-events: none;
    border-bottom: 2px solid #7c3aed;
  }
  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .hero-classes {
    grid-template-columns: 1fr;
  }
  .build-grid {
    grid-template-columns: 1fr;
  }
  .tip-list {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
  h2 {
    font-size: 1.8rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== PAGE UTILITY (terms/privacy) ===== */
.page-content {
  padding: 40px 0 60px;
}
.page-content h2 {
  margin-top: 40px;
  border-left: 6px solid #7c3aed;
  padding-left: 18px;
}
.page-content h2:first-of-type {
  margin-top: 0;
}
.page-content p,
.page-content li {
  color: #d4c8ee;
  margin-bottom: 12px;
}
.page-content ul {
  padding-left: 28px;
  margin-bottom: 20px;
}
.page-content li {
  margin-bottom: 6px;
}
