:root {
  --green: #009647;
  --green-dark: #005f31;
  --green-deep: #063f24;
  --gold: #f4c72f;
  --gold-soft: #ffe16b;
  --ink: #082017;
  --muted: #52645c;
  --line: #d6e8de;
  --soft: #f3faf6;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 80, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.n188-page { min-height: 100vh; overflow-x: hidden; background: var(--white); }
.n188-wrap { width: min(960px, calc(100% - 72px)); margin: 0 auto; }

.n188-header {
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #edf4ef;
  box-shadow: 0 8px 24px rgba(0, 75, 40, .08);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.n188-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--green);
}
.brand-mark {
  width: 42px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #10b95c, #057b40);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  box-shadow: 0 8px 20px rgba(0, 150, 71, .22);
}
.n188-brand strong { font-size: 34px; line-height: 1; }
.n188-brand span + strong span, .n188-brand strong span { color: #d7a60e; }
.n188-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
}
.n188-nav a {
  position: relative;
  padding: 30px 0 26px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #0a2319;
  white-space: nowrap;
}
.n188-nav a.is-active { color: var(--green); }
.n188-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 999px 999px 0 0;
}
.header-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.n188-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.n188-btn:hover { transform: translateY(-2px); }
.n188-btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, #0bbf62, #008a44);
  box-shadow: 0 12px 24px rgba(0, 150, 71, .22);
}
.n188-hero .n188-btn.primary {
  color: #082017;
  border-color: #f3c11f;
  background: linear-gradient(135deg, #ffe171, #ffc42c);
  box-shadow: 0 14px 28px rgba(244, 199, 47, .28);
}
.n188-btn.outline,
.n188-btn.white {
  color: var(--green-dark);
  background: var(--white);
}
.n188-btn.large { min-height: 50px; padding: 0 26px; border-radius: 9px; }

.n188-hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 28%, rgba(255,255,255,.58) 48%, rgba(255,255,255,0) 70%),
    url("n188-hero.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: flex; align-items: center; min-height: 640px; }
.hero-copy { width: min(560px, 100%); padding: 54px 0 74px; }
.hero-copy h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: .94;
  font-weight: 900;
  letter-spacing: 0;
  color: #06190f;
}
.hero-copy h1::first-letter { color: var(--green); }
.hero-copy h1 span { color: #dcae18; }
.hero-copy p {
  max-width: 560px;
  margin: 28px 0 30px;
  color: #24392f;
  font-size: 18px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 22px;
  color: #0b3824;
  background: rgba(255,255,255,.92);
  border: 1px solid #e6f3ec;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 90, 48, .11);
  font-weight: 800;
}
.hero-link span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #071b11;
}
.hero-link strong { color: var(--green); }

.access-section,
.category-section,
.intro-section,
.news-section { padding: 64px 0; }
.access-strip {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid #d8e8dd;
  border-radius: 14px;
  background: linear-gradient(110deg, #ffffff, #f4fbf6 62%, #fff8dc);
  box-shadow: var(--shadow);
}
.access-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #a5f4c8, #16b464);
  box-shadow: 0 18px 34px rgba(22, 180, 100, .23);
}
.access-strip h2 { margin: 0 0 5px; color: var(--green-dark); font-size: clamp(25px, 3vw, 34px); line-height: 1.08; }
.access-strip p { margin: 0; color: #213a2e; font-size: 15px; font-weight: 700; }

.category-section { background: linear-gradient(180deg, #ffffff, #f5fbf7); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.category-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 18px 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 90, 48, .08);
}
.category-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 22px;
  color: var(--green-dark);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(145deg, #ffe477, #11a75a);
  border: 4px solid #fff;
  box-shadow: 0 14px 28px rgba(0, 150, 71, .16);
}
.category-card h3 { margin: 0 0 10px; color: var(--green-dark); font-size: 21px; line-height: 1; text-transform: uppercase; }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.category-card span:last-child { margin-top: auto; padding-top: 16px; color: var(--green); font-size: 13px; font-weight: 900; }

.intro-section { background: #ffffff; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: center; }
.intro-copy { position: relative; }
.intro-copy::after {
  content: "188";
  position: absolute;
  right: 10px;
  top: 40px;
  z-index: -1;
  color: #edf5ef;
  font-size: 154px;
  font-weight: 900;
  line-height: 1;
}
.intro-copy h2 { margin: 0 0 24px; color: var(--green-dark); font-size: clamp(34px, 5vw, 48px); line-height: 1.08; }
.intro-copy p { margin: 0 0 26px; color: #294236; font-size: 16px; font-weight: 700; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #163628; font-weight: 900; }
.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: #14b763;
  font-size: 14px;
}
.step-list { display: grid; gap: 18px; }
.step-card {
  display: grid;
  grid-template-columns: 62px 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #9dd7b8;
  border-radius: 10px;
  background: #fbfffc;
}
.step-card > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #08371f;
  background: linear-gradient(135deg, #ffe576, #ffc936);
  font-weight: 900;
}
.step-card i { color: var(--green); font-style: normal; font-size: 34px; font-weight: 900; text-align: center; }
.step-card h3 { margin: 0 0 4px; color: var(--green-dark); font-size: 21px; }
.step-card p { margin: 0; color: #334a3e; font-size: 14px; font-weight: 700; }

.news-section { background: #f4faf6; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 38px; }
.section-title::before,
.section-title::after { content: ""; width: 84px; height: 1px; background: #36b974; }
.section-title h2 { margin: 0; color: var(--green-dark); font-size: clamp(32px, 4vw, 42px); line-height: 1.1; text-align: center; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 90, 48, .08);
}
.news-image {
  position: relative;
  display: block;
  min-height: 180px;
  background: url("n188-hero.png") center right / cover no-repeat;
}
.news-image.alt { background-position: center center; }
.news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.18));
}
.news-image span {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 18px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.news-body { padding: 24px; }
.news-body h3 { margin: 0 0 14px; color: var(--green-dark); font-size: 24px; line-height: 1.15; }
.news-body p { margin: 0 0 18px; color: #385246; font-weight: 700; font-size: 15px; }
.read-more { color: var(--green); font-weight: 900; }

.n188-footer {
  color: var(--white);
  background: linear-gradient(145deg, #0a6f3b, #00562e);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 48px;
  padding: 56px 0 44px;
}
.footer-brand .n188-brand { color: var(--white); margin-bottom: 20px; }
.footer-brand p,
.footer-col p { margin: 0 0 12px; color: rgba(255,255,255,.86); font-weight: 700; }
.footer-brand a,
.footer-col a { color: var(--white); font-weight: 800; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { margin: 0 0 12px; color: var(--gold-soft); font-size: 17px; text-transform: uppercase; }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}
.n188-footer.compact .footer-main { grid-template-columns: 1fr 1fr; }

.article-hero {
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0,70,37,.94), rgba(0,107,56,.7)),
    url("n188-hero.png") center right / cover no-repeat;
}
.article-hero h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; }
.article-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.86); font-size: 18px; font-weight: 700; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 58px 0 74px;
}
.article-card,
.article-aside {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.article-card { padding: 34px; }
.article-meta { margin-bottom: 22px; color: var(--green); font-weight: 900; }
.article-body { color: #263d32; font-size: 17px; font-weight: 700; }
.article-body h2 { margin: 28px 0 12px; color: var(--green-dark); font-size: 28px; line-height: 1.12; }
.article-body a { color: var(--green); font-weight: 900; }
.article-aside { padding: 26px; align-self: start; }
.article-aside h2 { margin: 0 0 18px; color: var(--green-dark); font-size: 24px; }
.article-aside a { display: block; padding: 14px 0; border-top: 1px solid var(--line); color: #173c29; font-weight: 900; }
.n188-pagination { margin-top: 28px; }
.n188-pagination ul,
.n188-pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.n188-pagination a,
.n188-pagination span,
.n188-pagination li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f3faf6;
  color: var(--green-dark);
  font-weight: 900;
}

@media (max-width: 980px) {
  .n188-wrap { width: min(100% - 40px, 760px); }
  .header-inner { min-height: auto; padding: 18px 0; flex-wrap: wrap; }
  .n188-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .n188-nav a { padding: 12px 0; }
  .n188-hero {
    min-height: 600px;
    background:
      linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.42) 100%),
      url("n188-hero.png") bottom right / 1100px auto no-repeat;
  }
  .hero-inner { min-height: 600px; align-items: flex-start; }
  .hero-copy { padding-top: 42px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-layout,
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .access-strip { grid-template-columns: 64px 1fr; }
  .access-strip .n188-btn { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 620px) {
  .n188-wrap { width: min(100% - 28px, 520px); }
  .header-actions { width: 100%; }
  .header-actions .n188-btn { flex: 1; }
  .n188-brand strong { font-size: 30px; }
  .n188-hero {
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 52%, rgba(255,255,255,.72) 100%),
      url("n188-hero.png") bottom right / 760px auto no-repeat;
  }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy p { font-size: 16px; }
  .hero-link { align-items: flex-start; border-radius: 16px; }
  .access-section,
  .category-section,
  .intro-section,
  .news-section { padding: 42px 0; }
  .access-strip { grid-template-columns: 1fr; padding: 24px; }
  .category-grid { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 54px 1fr; }
  .step-card i { display: none; }
  .section-title::before,
  .section-title::after { display: none; }
  .footer-main,
  .n188-footer.compact .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .article-card { padding: 24px; }
}
