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

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

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

.accent {
  color: #7c3aed;
}

/* ===== HEADER / BURGER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0f0a1aee;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a1f4a;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.logo-icon {
  font-size: 1.8rem;
}
.logo-text {
  color: #fff;
}
.logo-accent {
  color: #7c3aed;
  margin-left: 0.2rem;
}

.nav-menu ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.nav-menu a {
  color: #c4bcdb;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav-menu a:hover {
  color: #fff;
  border-bottom-color: #7c3aed;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f0a1a;
    border-bottom: 1px solid #2a1f4a;
    padding: 1rem 2rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .nav-menu a {
    font-size: 1.1rem;
  }
}

/* ===== SECTIONS (shared) ===== */
section {
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
}
.section-sub {
  color: #b0a8c8;
  font-size: 1.15rem;
  margin-top: 0.3rem;
}

/* ===== HERO ===== */
.hero-section {
  padding-top: 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-content p {
  color: #c8c0dd;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid #2a1f4a;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.skill-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.badge-btn {
  background: #1f1535;
  border: 2px solid #3a2a5a;
  color: #f0eef8;
  padding: 0.7rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.badge-btn:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  transform: scale(1.02);
}
.badge-feedback {
  background: #1a112a;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border-left: 4px solid #7c3aed;
  margin-top: 1rem;
}
.badge-feedback p {
  margin: 0;
  color: #e0d8f0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .skill-badges {
    justify-content: center;
  }
}

/* ===== BEGINNER TUTORIAL ===== */
.tutorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}
.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step-card {
  display: flex;
  gap: 1.2rem;
  background: #14101f;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  border-left: 4px solid #7c3aed;
  transition: 0.2s;
}
.step-card:hover {
  background: #1e1730;
}
.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: #7c3aed;
  line-height: 1;
  min-width: 50px;
}
.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.step-content p {
  color: #b8b0d0;
  font-size: 0.95rem;
}
.tutorial-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #2a1f4a;
  object-fit: cover;
}
@media (max-width: 768px) {
  .tutorial-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-image {
    order: -1;
  }
}

/* ===== COMBAT ===== */
.combat-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
}
.combat-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #2a1f4a;
}
.combat-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.combat-card {
  background: #14101f;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  border-left: 4px solid #7c3aed;
}
.combat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: #f0eef8;
}
.combat-card p {
  color: #b8b0d0;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .combat-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRO TIPS ===== */
.protips-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.protip-item {
  display: flex;
  gap: 1.5rem;
  background: #14101f;
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  border-left: 4px solid #7c3aed;
}
.protip-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #7c3aed;
  min-width: 50px;
  line-height: 1.2;
}
.protip-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.protip-content p {
  color: #b8b0d0;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .protip-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== VIDEO TUTORIALS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.video-card {
  background: #14101f;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a1f4a;
  transition: 0.2s;
}
.video-card:hover {
  transform: translateY(-5px);
  border-color: #7c3aed;
}
.video-thumb {
  position: relative;
}
.video-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  background: #7c3aedcc;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 2px solid #fff;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #0f0a1aee;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.video-meta {
  padding: 1rem 1.2rem 1.2rem;
}
.video-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.difficulty {
  display: inline-block;
  padding: 0.1rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.3rem 0;
}
.difficulty.easy {
  background: #1b5e20;
  color: #b9f6ca;
}
.difficulty.medium {
  background: #b26a00;
  color: #ffe082;
}
.difficulty.hard {
  background: #b71c1c;
  color: #ffcdd2;
}
.video-meta p {
  color: #b8b0d0;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0c0818;
  border-top: 1px solid #2a1f4a;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0.8rem 0;
}
.footer-links a {
  color: #a78bfa;
}
.footer-geo {
  color: #6a5f8a;
  font-size: 0.9rem;
}
