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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Segoe UI",
    Roboto,
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #0f0a1a;
  color: #e2d9f0;
  line-height: 1.6;
  padding-top: 70px;
}

a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c4b5fd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

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

/* ===== HEADER ===== */
header {
  background-color: #0f0a1a;
  border-bottom: 2px solid #7c3aed;
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-domain {
  color: #7c3aed;
  font-weight: 300;
  font-size: 0.8rem;
  background: rgba(124, 58, 237, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

nav ul li a {
  color: #d4c9f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

nav ul li a:hover {
  border-bottom-color: #7c3aed;
  color: #fff;
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #d4c9f0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

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

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

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

/* ===== SECTIONS ===== */
section {
  padding: 60px 0 50px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

section:last-of-type {
  border-bottom: none;
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  border-left: 6px solid #7c3aed;
  padding-left: 18px;
}

h3 {
  font-size: 1.4rem;
  color: #c4b5fd;
  margin: 16px 0 8px;
}

.section-intro {
  font-size: 1.1rem;
  color: #b9adde;
  margin-bottom: 30px;
  max-width: 800px;
}

/* ===== HERO ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text p {
  margin-bottom: 18px;
  color: #d4c9f0;
}

.hero-sub {
  font-size: 1.2rem;
  color: #c4b5fd;
  font-weight: 400;
}

.hero-image img {
  border: 3px solid #7c3aed;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.img-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #a78bfa;
  margin-top: 8px;
  opacity: 0.8;
}

/* ===== CLASSES ===== */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 30px 0 30px;
}

.class-card {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 20px 18px;
  transition: 0.3s;
}

.class-card:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.2);
}

.class-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.class-card p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.class-image-wrapper,
.farming-image-wrapper {
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
}

/* ===== COMBAT ===== */
.combat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.combat-text h3 {
  margin-top: 24px;
}

.combat-text h3:first-of-type {
  margin-top: 0;
}

.combat-text p {
  margin-bottom: 16px;
}

.combat-image img {
  border: 2px solid #7c3aed;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.25);
}

/* ===== FARMING ===== */
.farming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.farm-card {
  background: rgba(124, 58, 237, 0.06);
  border-left: 4px solid #7c3aed;
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
}

.farm-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.farm-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== PRO TIPS ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.tip-card {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  transition: 0.3s;
}

.tip-card:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: #7c3aed;
}

.tip-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.3);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.tip-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.tip-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.tips-cta {
  margin-top: 30px;
  font-size: 1.15rem;
  text-align: center;
  color: #c4b5fd;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  padding-top: 24px;
}

/* ===== FOOTER ===== */
footer {
  background: #0a0715;
  border-top: 2px solid #7c3aed;
  padding: 40px 0 20px;
  margin-top: 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  color: #c4b5fd;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  color: #b0a3d6;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: #b0a3d6;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #c4b5fd;
  padding-left: 4px;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: #8a7db0;
}

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

  .hero-image {
    order: -1;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 62px;
  }

  .burger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f0a1a;
    border-bottom: 2px solid #7c3aed;
    padding: 16px 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: all;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  nav ul li a {
    font-size: 1.1rem;
  }

  .class-grid,
  .farming-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  .logo-text {
    font-size: 1rem;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-section {
  padding: 30px 0 20px;
}

.legal-section h2 {
  border-left-color: #7c3aed;
  margin-top: 30px;
}

.legal-section h2:first-of-type {
  margin-top: 0;
}

.legal-section p,
.legal-section li {
  color: #d4c9f0;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section ul li {
  margin-bottom: 6px;
}

.legal-section .last-updated {
  color: #8a7db0;
  font-style: italic;
  margin-top: 20px;
}
