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

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0c12;
  color: #e8e6e3;
  font-family:
    "Segoe UI",
    Roboto,
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: #ffc55a;
}

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

.accent {
  color: #ffaa22;
}

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

/* ===== HEADER ===== */
.site-header {
  background: #0a0c12;
  border-bottom: 1px solid #1e212a;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

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

.logo-text {
  color: #fff;
}

.logo-text .accent {
  color: #ffaa22;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-menu a {
  color: #b0b5c0;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  border-bottom-color: #ffaa22;
}

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

.burger .bar {
  width: 26px;
  height: 2.5px;
  background: #e8e6e3;
  border-radius: 2px;
  transition: 0.3s;
}

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

.burger.open .bar:nth-child(2) {
  opacity: 0;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #ffaa22;
  color: #0a0c12;
}

.btn-primary:hover {
  background: #ffbe4d;
  color: #0a0c12;
}

.btn-secondary {
  background: transparent;
  color: #ffaa22;
  border: 2px solid #ffaa22;
}

.btn-secondary:hover {
  background: #ffaa22;
  color: #0a0c12;
}

/* ===== HERO ===== */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(145deg, #0e1118, #0a0c12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-sub {
  font-size: 1.15rem;
  color: #c8cdd8;
  margin-bottom: 1.2rem;
}

.hero-text p {
  color: #b0b5c0;
  margin-bottom: 1rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-placeholder {
  background: #151a24;
  border: 2px dashed #2c3340;
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  min-height: 220px;
}

.hero-img {
  background: #1a1f2b;
  border-color: #ffaa2240;
}

.img-content {
  text-align: center;
  color: #8891a0;
}

.img-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.img-label {
  display: block;
  font-weight: 500;
  color: #c8cdd8;
}

.img-badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: #ffaa22;
  color: #0a0c12;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: #8891a0;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ===== TIPS GRID ===== */
.tips-grid {
  padding: 4rem 0;
  background: #0e1118;
}

.grid-10 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tip-card {
  background: #151a24;
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  border-left: 4px solid #ffaa22;
  transition: 0.25s;
}

.tip-card:hover {
  transform: translateY(-4px);
  background: #1a212e;
}

.tip-num {
  font-size: 0.8rem;
  color: #ffaa22;
  font-weight: 700;
  letter-spacing: 1px;
}

.tip-card h4 {
  color: #fff;
  margin: 0.3rem 0 0.5rem;
  font-size: 1.1rem;
}

.tip-card p {
  color: #b0b5c0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tips-image-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.tips-collage {
  background: #1a1f2b;
  border-color: #ffaa2240;
}

/* ===== ADVANCED ===== */
.advanced {
  padding: 4rem 0;
  background: #0a0c12;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.adv-card {
  background: #12171f;
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  border: 1px solid #1e212a;
}

.adv-card h3 {
  color: #ffaa22;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.adv-card p {
  color: #c0c5d0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ===== BEGINNER ===== */
.beginner {
  padding: 4rem 0;
  background: #0e1118;
}

.beginner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background: #151a24;
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  position: relative;
  border-top: 4px solid #ffaa22;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffaa22;
  opacity: 0.3;
  position: absolute;
  top: 0.6rem;
  right: 1.2rem;
}

.step-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: #b0b5c0;
  font-size: 0.95rem;
}

.beginner-tips {
  background: #151a24;
  border-radius: 16px;
  padding: 1.8rem 2rem;
  border: 1px solid #1e212a;
}

.beginner-tips h3 {
  color: #ffaa22;
  margin-bottom: 0.8rem;
}

.beginner-tips ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.beginner-tips ul li {
  color: #c0c5d0;
  padding-left: 1.2rem;
  position: relative;
}

.beginner-tips ul li::before {
  content: "▹";
  color: #ffaa22;
  position: absolute;
  left: 0;
}

/* ===== COMMUNITY ===== */
.community {
  padding: 4rem 0;
  background: #0a0c12;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.community-card {
  background: #12171f;
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  border-left: 4px solid #ffaa22;
}

.community-author {
  display: block;
  color: #ffaa22;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.community-card p {
  color: #c0c5d0;
  font-style: italic;
  font-size: 0.97rem;
}

.community-footer {
  text-align: center;
  color: #8891a0;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.community-footer strong {
  color: #ffaa22;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #07090e;
  border-top: 1px solid #1e212a;
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-col .logo {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.footer-col p {
  color: #8891a0;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.footer-geo {
  font-weight: 500;
  color: #ffaa22;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

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

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: #8891a0;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: #ffaa22;
}

.footer-bottom {
  border-top: 1px solid #1e212a;
  padding: 1.2rem 0;
  text-align: center;
}

.footer-bottom p {
  color: #5d6578;
  font-size: 0.85rem;
}

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

  .hero-text h1 {
    font-size: 2.2rem;
  }

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

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0c12;
    border-bottom: 1px solid #1e212a;
    padding: 1.5rem 1.5rem;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

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

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu a {
    font-size: 1.05rem;
    border-bottom: none;
    display: block;
    padding: 0.4rem 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

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

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

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

  .beginner-tips ul {
    grid-template-columns: 1fr;
  }

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

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

  .footer-col .logo {
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

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

  .section-title {
    font-size: 1.7rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }
}
