:root {
  --gm-bg: #031129;
  --gm-bg-2: #071b3a;
  --gm-panel: #082247;
  --gm-panel-2: #0b2d58;
  --gm-text: #f8fbff;
  --gm-muted: #bed1e9;
  --gm-blue: #1b65c9;
  --gm-emerald: #13b66c;
  --gm-emerald-2: #4af0a0;
  --gm-gold: #f6bf36;
  --gm-gold-2: #ffe586;
  --gm-line: rgba(246, 191, 54, 0.48);
  --gm-soft-line: rgba(91, 158, 255, 0.28);
  --gm-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.gm-page {
  margin: 0;
  color: var(--gm-text);
  background:
    radial-gradient(circle at 22% 0%, rgba(19, 182, 108, 0.24), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(27, 101, 201, 0.28), transparent 34%),
    linear-gradient(180deg, #020b1c 0%, #031129 44%, #020916 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

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

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

.gm-site {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px),
    radial-gradient(circle at 50% 18%, rgba(19, 182, 108, 0.14), transparent 28%);
}

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

.gm-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2, 11, 28, 0.96);
  border-bottom: 1px solid var(--gm-line);
  backdrop-filter: blur(14px);
}

.gm-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}

.gm-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gm-gold-2);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(246, 191, 54, 0.24);
  white-space: nowrap;
}

.gm-logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: rotate(45deg);
  border: 2px solid var(--gm-gold);
  border-radius: 6px;
  background: linear-gradient(135deg, #0f7f62, #55f2a9 46%, #f5c03c);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12), 0 10px 22px rgba(19, 182, 108, 0.26);
}

.gm-logo-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  transform: rotate(0deg);
  clip-path: polygon(50% 0, 100% 46%, 50% 100%, 0 46%);
  background: rgba(255, 255, 255, 0.78);
}

.gm-logo-text {
  display: inline-block;
  transform: skew(-5deg);
}

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

.gm-nav {
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

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

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

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

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

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

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

.gm-btn-gold {
  color: #2a1700;
  background: linear-gradient(180deg, #ffe586, #f2ad28);
  box-shadow: 0 14px 30px rgba(246, 191, 54, 0.22);
}

.gm-btn-green {
  color: #fff;
  background: linear-gradient(180deg, #27d986, #079152);
  border-color: rgba(74, 240, 160, 0.56);
}

.gm-btn-outline {
  color: var(--gm-gold);
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(246, 191, 54, 0.78);
}

.gm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gm-line);
  background:
    radial-gradient(circle at 30% 45%, rgba(19, 182, 108, 0.22), transparent 24%),
    radial-gradient(circle at 78% 45%, rgba(27, 101, 201, 0.42), transparent 32%),
    linear-gradient(180deg, rgba(6, 25, 57, 0.96), rgba(2, 10, 25, 0.98));
}

.gm-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 42px 0 36px;
}

.gm-hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(246, 191, 54, 0.38);
  border-radius: 8px;
  background: #061733;
  box-shadow: var(--gm-shadow);
}

.gm-hero-media img {
  width: 100%;
  min-height: 438px;
  object-fit: cover;
}

.gm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 62%, rgba(3, 17, 41, 0.66));
}

.gm-hero-copy {
  position: relative;
  z-index: 1;
}

.gm-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.gm-hero h1 strong {
  color: transparent;
  background: linear-gradient(180deg, #fff3a8 0%, #f5bc35 48%, #e08f1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.gm-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d9e7fb;
  font-size: 19px;
  font-weight: 700;
}

.gm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.gm-category-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 0 0 26px;
}

.gm-category {
  display: grid;
  min-height: 126px;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1px solid rgba(246, 191, 54, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(74, 240, 160, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(11, 45, 88, 0.96), rgba(4, 17, 42, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;
}

.gm-category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(74, 240, 160, 0.46);
  border-radius: 50%;
  color: var(--gm-gold);
  background: rgba(3, 17, 41, 0.8);
  font-size: 24px;
  font-weight: 900;
}

.gm-category strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.gm-section {
  padding: 64px 0;
}

.gm-title-rule {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.gm-title-rule::before,
.gm-title-rule::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gm-line), transparent);
}

.gm-section-title {
  margin: 0;
  color: var(--gm-gold);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.gm-intro {
  background: linear-gradient(180deg, rgba(3, 17, 41, 0.62), rgba(5, 20, 47, 0.72));
}

.gm-intro-copy {
  max-width: 930px;
  margin: 0 auto 34px;
  color: var(--gm-muted);
  font-size: 17px;
  text-align: center;
}

.gm-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 25, 54, 0.86);
  box-shadow: var(--gm-shadow);
}

.gm-feature {
  min-height: 230px;
  padding: 28px 22px;
  text-align: center;
}

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

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

.gm-feature-icon svg {
  width: 78px;
  height: 78px;
  stroke-width: 2;
}

.gm-feature h3 {
  margin: 0 0 10px;
  color: var(--gm-gold);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.gm-feature p {
  margin: 0;
  color: #e3edf8;
  font-size: 15px;
}

.gm-news {
  background: rgba(2, 10, 25, 0.24);
}

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

.gm-post {
  overflow: hidden;
  border: 1px solid rgba(246, 191, 54, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 34, 71, 0.92), rgba(4, 16, 38, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.gm-post-media {
  display: block;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #061733;
}

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

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

.gm-post h3 {
  margin: 0 0 10px;
  color: var(--gm-gold);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

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

.gm-post p {
  margin: 0;
  min-height: 76px;
  color: #d8e7f8;
  font-size: 14px;
}

.gm-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 15px;
  color: #f0d98a;
  font-size: 13px;
  font-weight: 800;
}

.gm-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(126, 166, 255, 0.42);
  border-radius: 6px;
  color: #dce8ff;
  background: rgba(27, 101, 201, 0.26);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.gm-guide {
  padding-top: 34px;
}

.gm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(6, 25, 57, 0.88);
}

.gm-step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  min-height: 230px;
  padding: 34px 26px;
}

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

.gm-step-number {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid var(--gm-gold);
  border-radius: 50%;
  color: var(--gm-gold);
  font-size: 22px;
  font-weight: 900;
}

.gm-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.gm-step p {
  margin: 0 0 12px;
  color: #d7e7f8;
  font-size: 15px;
}

.gm-step img {
  width: 128px;
  max-height: 128px;
  object-fit: contain;
}

.gm-footer {
  border-top: 1px solid var(--gm-line);
  background: #020916;
}

.gm-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 28px;
  padding: 48px 0;
}

.gm-footer h3 {
  margin: 0 0 15px;
  color: var(--gm-gold);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.gm-footer p,
.gm-footer li {
  color: #d8e5f3;
  font-size: 15px;
}

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

.gm-social {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.gm-social span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(74, 240, 160, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 34, 71, 0.86);
  font-weight: 900;
}

.gm-copyright {
  border-top: 1px solid rgba(246, 191, 54, 0.22);
}

.gm-copyright-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  color: #c8d6e7;
  font-size: 14px;
}

.gm-age {
  display: inline-flex;
  min-width: 42px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border: 1px solid var(--gm-gold);
  border-radius: 6px;
  color: var(--gm-gold);
  font-weight: 900;
}

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

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

.gm-article-card,
.gm-sidebar {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: rgba(6, 25, 57, 0.9);
  box-shadow: var(--gm-shadow);
}

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

.gm-article-card h1 {
  margin: 0 0 14px;
  color: var(--gm-gold);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.14;
}

.gm-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  color: #e4d28b;
  font-size: 14px;
  font-weight: 800;
}

.gm-article-cover {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--gm-soft-line);
  border-radius: 8px;
}

.gm-article-body {
  color: #e7f0fb;
  font-size: 17px;
}

.gm-article-body h2 {
  margin: 30px 0 10px;
  color: var(--gm-gold);
  font-size: 28px;
  line-height: 1.22;
}

.gm-article-body p {
  margin: 0 0 16px;
}

.gm-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 15px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--gm-border);
}

.gm-article-body th,
.gm-article-body td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gm-border);
}

.gm-article-body th {
  color: #062014;
  background: #eaffd3;
  font-weight: 900;
}

.gm-article-body tr:last-child td {
  border-bottom: 0;
}

.gm-article-body ul,
.gm-article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.gm-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(74, 240, 160, 0.42);
  border-radius: 8px;
  color: #f5fbff;
  background: rgba(19, 182, 108, 0.12);
  font-weight: 800;
}

.gm-article-actions,
.gm-dede-actions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gm-dede-actions a,
.gm-article-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--gm-line);
  border-radius: 6px;
  color: var(--gm-gold);
  background: rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

.gm-sidebar {
  position: sticky;
  top: 112px;
  padding: 22px;
}

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

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

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

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

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

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

  .gm-nav,
  .gm-actions {
    width: 100%;
    justify-content: center;
  }

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

  .gm-hero-media {
    max-width: 650px;
    margin: 0 auto;
  }

  .gm-category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .gm-sidebar {
    position: static;
  }
}

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

  .gm-logo {
    font-size: 42px;
  }

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

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

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

  .gm-hero-grid {
    padding: 30px 0 28px;
  }

  .gm-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .gm-lead {
    font-size: 16px;
  }

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

  .gm-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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