/* GG-NAS brand foundations, verified against ggnas.ru.
   Original SVG logo, #FF5900, #070707, white and glossy 3D graphics.
   Type roles and responsive reading sizes are defined in typography.css. */
:root {
  --bg: #070707;
  --surface: #121212;
  --surface-2: #181818;
  --line: #2b2b2b;
  --text: #ffffff;
  --muted: #b0b0b0;
  --accent: #ff5900;
  --light: #121212;
  --font: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

.mono,
.eyebrow {
  font-family: var(--font);
  font-weight: 600;
}

h1,
h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.05em;
}

h3 {
  font-weight: 700;
}

.brand-logo {
  width: 164px;
  height: auto;
  display: block;
}

.brand-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 800;
  padding: 7px 10px;
  margin-left: 6px;
  border: 1px solid #ff590070;
  border-radius: 5px;
  color: var(--accent);
  background: #ff59000a;
  letter-spacing: .09em;
}

.site-header {
  background: #070707f5;
  border-color: #ffffff0d;
}

.desktop-nav {
  gap: 27px;
  padding-left: 0;
}

.desktop-nav a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.button {
  border-radius: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 4px 28px #ff590032;
}

.button-primary:hover {
  background: #ff7900;
  border-color: #ff7900;
  box-shadow: 0 8px 35px #ff590050;
}

.nav-cta {
  min-height: 46px;
  padding: 12px 21px;
  gap: 19px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 0 20px #ff590040;
}

.nav-cta:hover {
  background: #ff7900;
}

.hero-shell {
  position: relative;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #07070755, #07070770 50%, #070707 95%), url('assets/games-backdrop.webp');
  background-size: cover;
  background-position: center top;
  opacity: .1;
  z-index: -1;
  pointer-events: none;
}

.hero {
  padding-top: 67px;
}

.hero-eyebrow {
  color: #ff8f50;
  font-size: 10px;
  letter-spacing: .12em;
}

.hero h1 {
  font-size: clamp(46px, 4.8vw, 72px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.hero h1 > span {
  color: #ffffff;
}

.hero-subline {
  font-size: 20px;
  font-weight: 600;
  margin-top: 26px;
}

.hero-description {
  color: #bcbcbc;
  font-size: 15px;
  max-width: 425px;
  line-height: 1.8;
}

.hero-actions {
  gap: 24px;
  margin-top: 30px;
}

.hero-actions .button {
  font-size: 18px;
  min-height: 60px;
  gap: 20px;
}

.hero-actions .text-link {
  font-size: 12px;
}

.hero-note {
  font-size: 10px;
  color: #b0b0b0;
}

.hero-halo {
  background: #ff590014;
}

.hero-machine {
  left: -25%;
  width: 137%;
  height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 81%, transparent 100%);
  mask-composite: intersect;
}

.visual-cross,
.visual-coordinate,
.visual-caption {
  color: #8d8d8d;
}

.machine-label {
  background: #101010ed;
  border-color: #ffffff25;
  border-radius: 12px;
  box-shadow: 0 12px 45px #0008;
}

.machine-label small {
  color: #a0a0a0;
}

.label-server {
  border-color: #ff590060;
  right: 0;
}

.hero-spec p {
  font-size: 10px;
}

.ticker {
  background: #ff5900;
  color: #070707;
  height: 58px;
}

.ticker-track > span {
  font-weight: 800;
}

.section-copy > p {
  color: #d4d4d4;
  font-size: 14px;
}

.section-copy > p.muted {
  color: #b0b0b0;
  font-size: 13px;
}

.section-meta > .muted {
  color: #8d8d8d;
}

.architecture {
  background: radial-gradient(ellipse at 50% 30%, #ff59000c, transparent 68%), #101010;
  border-color: #353535;
  border-radius: 18px;
}

.network-grid {
  background-image: radial-gradient(#ffffff22 1px, transparent 1px);
}

.network-lines {
  stroke: #49413b;
}

.network[data-view=server] .network-hub > strong {
  color: var(--accent);
}

.network[data-view=clients] .hub-graphic {
  color: #aaaaaa;
}

.network[data-view=clients] .hub-badge {
  background: #343434;
  color: #ffffff;
}

.network[data-view=clients] .client {
  color: #ffffff;
}

.network[data-view=clients] .monitor-icon,
.network[data-view=clients] .monitor-icon:before,
.network[data-view=clients] .monitor-icon:after {
  border-color: var(--accent);
  box-shadow: 0 0 16px #ff590020;
}

.network-switch {
  background: #15100d;
  border-color: #ff590055;
}

.monitor-icon {
  background: linear-gradient(130deg, #ff590012, #111111);
  border-color: #8b8b8b;
}

.monitor-icon:before,
.monitor-icon:after {
  background: #8b8b8b;
}

.client {
  color: #bcbcbc;
}

.segmented {
  background: #070707;
  border-color: #303030;
}

.segmented button.active {
  color: #070707;
}

.features-section {
  background: #0c0c0c;
  border-color: #242424;
}

.features-heading h2 {
  font-size: clamp(36px, 4vw, 56px);
}

.features-heading > p {
  color: #b0b0b0;
  font-size: 13px;
}

.feature-library,
.feature-hardware,
.feature-team {
  background: #121212;
  border-color: #2b2b2b;
  border-radius: 18px;
}

.feature-library {
  background: radial-gradient(ellipse at 100% 0%, #ff590016, transparent 63%), #121212;
}

.feature-tag,
.feature-arrow {
  color: #ff955c;
}

.feature-library > p,
.feature-hardware > p,
.feature-team > p {
  color: #b0b0b0;
  font-size: 13px;
}

.update-demo {
  background: #070707;
  border-color: #ff590035;
}

.demo-caption {
  color: #aaaaaa;
  border-color: #3f3f3f;
}

.demo-game,
.team-signature {
  border-color: #292929;
}

.demo-game strong {
  font-size: 11px;
}

.game-status {
  color: #999999;
}

.game-cover {
  color: #ffffff;
  border-color: #ff590040;
}

.cover-one {
  background: linear-gradient(140deg, #9a410f, #2d1508);
}

.cover-two {
  background: linear-gradient(140deg, #666666, #202020);
}

.cover-three {
  background: linear-gradient(140deg, #9c6330, #362112);
}

.game-check {
  color: #a0a0a0;
}

.demo-bottom > span,
.team-signature {
  color: #b0b0b0;
}

.hardware-equation > span:not(.plus):not(.equal) {
  border-color: #3b3b3b;
  color: #bcbcbc;
}

.signature-mark {
  background: none;
  border-radius: 0;
  transform: none;
  width: 76px;
  height: 22px;
}

.signature-mark img {
  display: block;
  width: 76px;
  height: auto;
}

.club-section {
  background: radial-gradient(ellipse at 8% 50%, #ff59000a, transparent 55%), #070707;
  color: #ffffff;
  border-bottom: 1px solid #242424;
}

.club-intro .eyebrow,
.club-intro h2 > span {
  color: var(--accent);
}

.club-intro > p {
  color: #b0b0b0;
  font-size: 14px;
}

.club-symbol > span:first-child {
  color: #ff5900;
}

.club-symbol > span:nth-child(2) {
  color: #9b3600;
}

.club-symbol > span:last-child {
  color: #4a1b01;
}

.club-config {
  background: #121212;
  border: 1px solid #353535;
  border-radius: 18px;
}

.config-heading > .mono,
.count-heading > span:not(.count-type),
.config-summary p {
  color: #bcbcbc;
}

.count-type {
  background: #ff590016;
  color: #ffa36f;
}

.config-heading > .mono:last-child,
.range-labels,
.config-note {
  color: #999999;
}

#pc-count {
  background: linear-gradient(to right, #ff5900 var(--range-progress, 26.32%), #424242 var(--range-progress, 26.32%));
}

#pc-count::-webkit-slider-thumb {
  background: #ff5900;
  border-color: #ffffff;
  box-shadow: 0 0 0 4px #121212;
}

#pc-count::-moz-range-thumb {
  background: #ff5900;
  border-color: #ffffff;
}

.config-divider {
  background: #303030;
}

.hardware-options > button {
  color: #bcbcbc;
  border-color: #393939;
}

.hardware-options > button.selected {
  background: #ff590015;
  border-color: #ff5900;
  color: #ffffff;
}

.summary-icon {
  color: #ff5900;
}

.club-config .button-dark {
  background: #ff5900;
  border-color: #ff5900;
  color: #ffffff;
  font-size: 18px;
  min-height: 57px;
}

.club-section :focus-visible {
  outline-color: #ff5900;
}

.step h3 {
  font-size: 23px;
}

.step p,
.faq-answer p {
  font-size: 13px;
  color: #bcbcbc;
}

.step-line {
  background: #3a3a3a;
}

.step-bottom {
  color: #999999;
}

.faq-list summary {
  font-size: 14px;
  font-weight: 600;
}

.final-cta {
  background: radial-gradient(ellipse at 80% 40%, #ff590015, transparent 70%), #101010;
  border-color: #ff590050;
  border-radius: 20px;
}

.final-cta:after {
  background: radial-gradient(circle, #ff590028, transparent 65%);
}

.cta-grid {
  opacity: .4;
  background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
}

.cta-content .eyebrow,
.cta-content > p,
.cta-art-text,
.cta-footer {
  color: #b0b0b0;
}

.cta-content > .button {
  font-size: 18px;
  min-height: 60px;
}

.cta-art {
  width: 47%;
  right: -15px;
  top: 30px;
  bottom: 40px;
}

.cta-art > img {
  width: 118%;
  height: 100%;
  object-fit: contain;
  max-width: none;
  transform: rotate(-5deg);
  filter: drop-shadow(0 20px 45px #0008);
}

.cta-art-text {
  right: 50px;
  font-size: 8px;
}

.footer .brand-logo {
  width: 164px;
}

.footer-contacts > a:first-child {
  color: #ffffff;
}

.footer-contacts > a:first-child > span {
  color: #ff5900;
}

dialog {
  background: #121212;
  border-color: #ff590055;
  border-radius: 18px;
}

dialog::backdrop {
  background: #000b;
}

.dialog-close:hover {
  background: #ff590015;
}

.dialog-shell .eyebrow,
#request-form label {
  color: #bcbcbc;
}

#request-form input,
#request-form select,
#request-text {
  background: #070707;
  border-color: #414141;
  border-radius: 10px;
}

#request-form .button,
#request-step > .button {
  font-size: 18px;
  min-height: 56px;
}

.button-telegram {
  background: #1c1c1c;
  border-color: #555555;
  color: #ffffff;
}

.dialog-back {
  color: #bcbcbc;
}

@media (max-width: 1150px) {
  .desktop-nav { gap: 19px; }
  .desktop-nav a { font-size: 11px; }
  .brand-logo { width: 143px; }
  .brand-label { font-size: 8px; padding: 6px 8px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .hero-actions .button { font-size: 18px; padding-inline: 20px; }
  .hero-visual { height: 570px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-description { font-size: 14px; }
  .features-heading > p { font-size: 11px; }
  .club-intro > p { font-size: 13px; }
}

@media (max-width: 900px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 35px; height: 35px; padding: 6px; background: none; }
  .menu-toggle > span { height: 1px; width: 23px; background: #ffffff; }
  .menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 75px; left: 0; right: 0; background: #121212; border-bottom: 1px solid #333333; display: flex; flex-direction: column; padding: 14px 36px 24px; box-shadow: 0 25px 30px #0008; }
  .mobile-nav > a { padding: 13px 0; border-bottom: 1px solid #2b2b2b; font-size: 15px; }
  .mobile-nav > .button { margin-top: 20px; background: #ff5900; color: #ffffff; font-size: 18px; min-height: 56px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 4.95vw; }
  .hero-subline { font-size: 16px; }
  .hero-description { font-size: 12px; }
  .hero-visual { height: 500px; }
  .hero-actions .button { font-size: 16px; color: #070707; }
  .hero-note { font-size: 8px; }
  .section-copy > p { font-size: 12px; }
  .section-copy > p.muted { font-size: 11px; }
  .features-heading h2 { font-size: 40px; }
  .feature-library > p, .feature-hardware > p, .feature-team > p { font-size: 11px; }
  .club-intro h2 { font-size: 38px; }
  .club-config .button-dark { font-size: 16px; color: #070707; }
  .step h3 { font-size: 19px; }
  .step p, .faq-answer p { font-size: 11px; }
  .faq-list summary { font-size: 12px; }
  .cta-content > .button { font-size: 18px; }
  .cta-content h2 { font-size: 48px; }
}

@media (max-width: 700px) {
  .brand-logo, .footer .brand-logo { width: 149px; }
  .brand-label { font-size: 8px; padding: 6px 8px; margin-left: 5px; }
  .mobile-nav { top: 70px; padding-inline: 20px; }
  .hero { padding-top: 35px; }
  .hero-backdrop { background-size: auto 550px; background-repeat: no-repeat; opacity: .1; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(32px, 9.8vw, 64px); line-height: 1.1; }
  .hero-subline { font-size: 17px; margin-top: 20px; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 26px; }
  .hero-actions .button { width: 100%; font-size: 18px; min-height: 58px; color: #ffffff; padding-inline: 20px; }
  .hero-actions .text-link { font-size: 13px; align-self: flex-start; }
  .hero-note { font-size: 9px; margin-top: 19px; }
  .hero-visual { height: 350px; margin-top: 22px; }
  .hero-machine { left: -25%; width: 132%; height: 110%; top: -5%; }
  .hero-spec p { font-size: 8px; }
  .ticker { height: 51px; }
  .section-copy h2 { font-size: 40px; }
  .section-copy > p { font-size: 13px; }
  .section-copy > p.muted { font-size: 12px; }
  .features-heading h2 { font-size: 32px; line-height: 1.12; }
  .features-heading > p { font-size: 12px; }
  .feature-library h3 { font-size: 30px; }
  .feature-library > p, .feature-hardware > p, .feature-team > p { font-size: 12px; }
  .demo-game strong { font-size: 10px; }
  .club-intro h2 { font-size: 37px; }
  .club-intro > p { font-size: 13px; }
  .club-config .button-dark { font-size: 18px; color: #ffffff; }
  .step h3 { font-size: 22px; }
  .step p, .faq-answer p { font-size: 12px; }
  .faq-intro h2 { font-size: 39px; }
  .faq-list summary { font-size: 13px; }
  .cta-content h2 { font-size: 37px; }
  .cta-content > p { font-size: 12px; }
  .cta-content > .button { font-size: 18px; }
  .final-cta { min-height: 575px; padding-bottom: 190px; }
  .cta-art { opacity: .75; width: 270px; height: 185px; right: -6px; bottom: 10px; top: auto; }
  .cta-art > img { transform: rotate(-6deg); width: 110%; }
  .cta-art-text { display: none; }
  .cta-footer { z-index: 2; bottom: 17px; }
  .dialog-shell h2 { font-size: 33px; }
  #request-form .button, #request-step > .button { font-size: 18px; }
}

@media (max-width: 365px) {
  .brand-logo, .footer .brand-logo { width: 137px; }
  .brand-label { font-size: 7px; padding: 6px; }
  .hero h1 { font-size: 9.7vw; }
  .hero-subline { font-size: 15px; }
  .hero-description { font-size: 13px; }
  .hero-actions .button { font-size: 18px; padding-inline: 16px; }
  .hero-note { font-size: 8px; }
  .hero-visual { height: 310px; }
  .hero-spec p { font-size: 7px; }
  .hero-spec { gap: 9px; }
  .section-copy h2 { font-size: 35px; }
  .features-heading h2 { font-size: 28px; }
  .feature-library h3 { font-size: 27px; }
  .club-intro h2 { font-size: 32px; }
  .club-config .button-dark { font-size: 18px; padding-inline: 15px; gap: 15px; }
  .faq-intro h2 { font-size: 34px; }
  .cta-content h2 { font-size: 32px; }
  .cta-content > .button { font-size: 18px; padding-inline: 16px; gap: 20px; }
  .dialog-shell h2 { font-size: 29px; }
  #request-form .button, #request-step > .button { font-size: 18px; gap: 17px; padding-inline: 16px; }
}
