:root {
  --fo-bg: #030806;
  --fo-panel: #081811;
  --fo-panel-2: #0b2117;
  --fo-ink: #f8f1cf;
  --fo-text: #f0f2e9;
  --fo-muted: #b9c3b3;
  --fo-green: #00ad5e;
  --fo-green-2: #13d879;
  --fo-gold: #f5c437;
  --fo-gold-2: #ffe58b;
  --fo-orange: #f39a22;
  --fo-line: rgba(245, 196, 55, 0.34);
  --fo-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.fo-page {
  margin: 0;
  color: var(--fo-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(17, 103, 51, 0.28), transparent 36%),
    linear-gradient(180deg, #030806 0%, #07110d 46%, #030806 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.fo-site {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(245, 196, 55, 0.07) 0 1px, transparent 1px 135px),
    radial-gradient(circle at 50% 20%, rgba(9, 171, 89, 0.14), transparent 34%);
}

.fo-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.fo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(3, 8, 6, 0.96);
  border-bottom: 1px solid var(--fo-line);
  backdrop-filter: blur(12px);
}

.fo-topbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) auto minmax(500px, 1.25fr);
  align-items: center;
  min-height: 92px;
  gap: 18px;
}

.fo-nav,
.fo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fo-header-right {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.fo-nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.fo-nav::-webkit-scrollbar {
  display: none;
}

.fo-actions {
  justify-content: flex-end;
}

.fo-nav-secondary a {
  padding: 0 10px;
  font-size: 14px;
}

.fo-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.fo-nav a:hover,
.fo-nav a:focus-visible,
.fo-nav a.is-active {
  color: var(--fo-gold);
  border-bottom-color: var(--fo-gold);
  outline: none;
}

.fo-home svg {
  width: 22px;
  height: 22px;
}

.fo-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: linear-gradient(180deg, #fff6b7 0%, #f7c73f 38%, #d88713 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 12px 30px rgba(246, 176, 38, 0.24);
  white-space: nowrap;
}

.fo-logo::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 28px;
  height: 19px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffed8a, #d58b12);
  clip-path: polygon(8% 100%, 92% 100%, 82% 35%, 62% 70%, 50% 0, 38% 70%, 18% 35%);
}

.fo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.fo-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.fo-btn-gold {
  color: #2a1800;
  background: linear-gradient(180deg, #ffe780, #eba22a);
  box-shadow: 0 14px 28px rgba(233, 158, 36, 0.2);
}

.fo-btn-green {
  color: #fff;
  background: linear-gradient(180deg, #19d579, #047c46);
  border-color: rgba(64, 231, 139, 0.48);
}

.fo-btn-outline {
  color: var(--fo-gold);
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(245, 196, 55, 0.75);
}

.fo-official {
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

.fo-official span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--fo-line);
  border-radius: 6px;
  color: var(--fo-gold);
  background: rgba(0, 0, 0, 0.42);
  font-weight: 900;
}

.fo-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 38%, rgba(0, 174, 93, 0.2), transparent 24%),
    radial-gradient(circle at 58% 62%, rgba(245, 196, 55, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(5, 18, 12, 0.82), rgba(2, 6, 5, 0.98));
  border-bottom: 1px solid var(--fo-line);
}

.fo-hero-grid {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) minmax(360px, 540px) 142px;
  gap: 22px;
  align-items: center;
  min-height: 620px;
  padding: 34px 0 46px;
}

.fo-category-rail {
  display: grid;
  gap: 18px;
}

.fo-category {
  min-height: 126px;
  padding: 13px 10px 12px;
  border: 1px solid rgba(43, 222, 117, 0.66);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 25%, rgba(245, 196, 55, 0.15), transparent 45%),
    linear-gradient(180deg, rgba(11, 39, 25, 0.96), rgba(3, 12, 8, 0.96));
  box-shadow: inset 0 0 0 1px rgba(245, 196, 55, 0.08), 0 12px 26px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.fo-category-icon {
  display: grid;
  width: 64px;
  height: 58px;
  place-items: center;
  margin: 0 auto 9px;
  color: var(--fo-gold);
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(245, 196, 55, 0.18));
}

.fo-category strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
}

.fo-hero-copy {
  min-width: 0;
}

.fo-hero-copy h1 {
  max-width: 540px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.13;
  font-weight: 900;
}

.fo-hero-copy h1 strong {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(180deg, #fff3a4 0%, #ffc93a 42%, #e48b10 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(72px, 10vw, 128px);
  line-height: 0.94;
  text-shadow: 0 18px 34px rgba(237, 157, 26, 0.28);
}

.fo-hero-lead {
  max-width: 530px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 700;
}

.fo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fo-hero-actions .fo-btn {
  min-width: 182px;
  min-height: 54px;
  font-size: 17px;
}

.fo-hero-visual {
  min-width: 0;
}

.fo-hero-visual img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.42));
}

.fo-section {
  padding: 46px 0;
}

.fo-intro {
  border-bottom: 1px solid rgba(245, 196, 55, 0.12);
  background: rgba(0, 0, 0, 0.42);
}

.fo-section-title {
  margin: 0 0 18px;
  color: var(--fo-gold);
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
}

.fo-intro-copy {
  max-width: 980px;
  margin: 0 auto 30px;
  color: #e6eadf;
  font-size: 16px;
}

.fo-intro-copy p {
  margin: 0 0 14px;
}

.fo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--fo-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 31, 19, 0.96), rgba(3, 12, 8, 0.96));
  box-shadow: var(--fo-shadow);
}

.fo-feature {
  min-width: 0;
  padding: 26px 20px;
  text-align: center;
}

.fo-feature + .fo-feature {
  border-left: 1px solid var(--fo-line);
}

.fo-feature-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--fo-gold);
}

.fo-feature-icon svg {
  width: 70px;
  height: 70px;
  stroke-width: 1.7;
}

.fo-feature h3 {
  margin: 0 0 9px;
  color: var(--fo-gold);
  font-size: 22px;
  line-height: 1.18;
}

.fo-feature p {
  margin: 0;
  color: var(--fo-muted);
  font-size: 14px;
}

.fo-title-rule {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

.fo-title-rule::before,
.fo-title-rule::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 55, 0.72), transparent);
}

.fo-title-rule .fo-section-title {
  margin: 0;
}

.fo-news {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 196, 55, 0.07), transparent 30%),
    rgba(0, 0, 0, 0.2);
}

.fo-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fo-post {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: linear-gradient(180deg, #101610, #050705);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.fo-post-media {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #06100a;
}

.fo-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fo-post-body {
  padding: 16px 15px 18px;
}

.fo-post h3 {
  margin: 0 0 10px;
  color: var(--fo-gold);
  font-size: 17px;
  line-height: 1.28;
}

.fo-post h3 a:hover,
.fo-post h3 a:focus-visible {
  color: var(--fo-gold-2);
  outline: none;
}

.fo-post p {
  margin: 0 0 13px;
  color: #e6eadf;
  font-size: 14px;
  line-height: 1.55;
}

.fo-post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ccd5c6;
  font-size: 13px;
}

.fo-news-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.fo-guide {
  padding-top: 28px;
}

.fo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--fo-line);
  border-radius: 8px;
  background: rgba(4, 15, 10, 0.94);
}

.fo-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 24px;
  min-width: 0;
}

.fo-step + .fo-step {
  border-left: 1px solid var(--fo-line);
}

.fo-step-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--fo-gold);
  border: 2px solid var(--fo-gold);
  border-radius: 999px;
  background: rgba(0, 136, 76, 0.25);
  font-size: 22px;
  font-weight: 900;
}

.fo-step h3 {
  margin: 0 0 8px;
  color: var(--fo-gold);
  font-size: 20px;
  line-height: 1.25;
}

.fo-step p {
  margin: 0 0 14px;
  color: #e3eadf;
  font-size: 14px;
}

.fo-step img {
  width: 116px;
  max-width: 72%;
}

.fo-footer {
  color: #e9f0e6;
  border-top: 1px solid var(--fo-line);
  background: linear-gradient(180deg, #06110d, #030806);
}

.fo-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 38px;
  padding: 42px 0 32px;
}

.fo-footer .fo-logo {
  margin: 8px 0 14px;
  font-size: 42px;
}

.fo-footer h3 {
  margin: 0 0 14px;
  color: var(--fo-gold);
  font-size: 18px;
}

.fo-footer p,
.fo-footer li {
  color: rgba(233, 240, 230, 0.86);
  font-size: 14px;
}

.fo-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fo-social {
  display: flex;
  gap: 10px;
}

.fo-social span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.fo-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0 18px;
  color: rgba(233, 240, 230, 0.72);
  font-size: 13px;
}

.fo-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fo-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border: 2px solid #f2f2f2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fo-article-hero .fo-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  min-height: 420px;
}

.fo-article-hero .fo-category-rail {
  display: none;
}

.fo-article-hero .fo-hero-copy h1 {
  font-size: clamp(32px, 4.5vw, 58px);
}

.fo-article-main {
  background: rgba(0, 0, 0, 0.35);
}

.fo-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.fo-article-card,
.fo-sidebar {
  border: 1px solid var(--fo-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 24, 16, 0.96), rgba(2, 8, 5, 0.96));
  box-shadow: var(--fo-shadow);
}

.fo-article-card {
  padding: clamp(24px, 4vw, 42px);
}

.fo-article-card h1 {
  margin: 0 0 12px;
  color: var(--fo-gold);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.fo-article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: #cad4c4;
  font-size: 14px;
}

.fo-article-body {
  color: #eef4ea;
  font-size: 16px;
  line-height: 1.86;
}

.fo-article-body h2,
.fo-article-body h3 {
  color: var(--fo-gold);
  line-height: 1.26;
}

.fo-article-body h2 {
  margin: 28px 0 10px;
  font-size: 27px;
}

.fo-article-body h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.fo-article-body p,
.fo-article-body ul,
.fo-article-body ol {
  margin: 0 0 16px;
}

.fo-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.fo-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--fo-gold);
  border-radius: 8px;
  background: rgba(245, 196, 55, 0.08);
  color: var(--fo-gold-2);
  font-weight: 800;
}

.fo-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fo-sidebar {
  position: sticky;
  top: 126px;
  padding: 22px;
}

.fo-sidebar h2 {
  margin: 0 0 14px;
  color: var(--fo-gold);
  font-size: 22px;
}

.fo-side-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fo-side-list li {
  padding: 12px 13px;
  border: 1px solid var(--fo-line);
  border-radius: 8px;
  color: #e4eadf;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.fo-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.fo-pager a,
.fo-pager span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fo-line);
  border-radius: 6px;
  color: var(--fo-gold);
  background: rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .fo-nav-secondary {
    display: none;
  }

  .fo-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  }

  .fo-category-rail {
    display: none;
  }
}

@media (max-width: 920px) {
  .fo-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 0;
  }

  .fo-nav,
  .fo-header-right,
  .fo-actions {
    width: 100%;
    justify-content: center;
  }

  .fo-header-right {
    flex-direction: column;
  }

  .fo-hero-grid,
  .fo-article-hero .fo-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fo-hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .fo-feature-grid,
  .fo-post-grid,
  .fo-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fo-article-layout {
    grid-template-columns: 1fr;
  }

  .fo-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .fo-shell {
    width: min(100% - 22px, 1180px);
  }

  .fo-nav {
    justify-content: flex-start;
  }

  .fo-actions {
    justify-content: space-between;
  }

  .fo-actions .fo-btn {
    flex: 1 1 0;
    padding: 0 10px;
  }

  .fo-official span {
    width: 100%;
    justify-content: center;
    padding: 8px 10px;
    text-align: center;
  }

  .fo-hero-grid {
    padding: 28px 0 34px;
  }

  .fo-hero-copy h1 strong {
    font-size: clamp(66px, 22vw, 92px);
  }

  .fo-hero-lead {
    font-size: 16px;
  }

  .fo-hero-actions .fo-btn {
    width: 100%;
  }

  .fo-feature-grid,
  .fo-post-grid,
  .fo-steps,
  .fo-footer-grid {
    grid-template-columns: 1fr;
  }

  .fo-feature + .fo-feature,
  .fo-step + .fo-step {
    border-left: 0;
    border-top: 1px solid var(--fo-line);
  }

  .fo-title-rule {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fo-title-rule::before,
  .fo-title-rule::after {
    display: none;
  }

  .fo-step {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .fo-copyright-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
