﻿/* Flash Portal — main page styles */
:root {
        --fp-site-name: "Flash Portal";
        --header-h: 4.25rem;
        --terminal: #00ff41;
        --terminal-light: #39ff14;
        --terminal-dim: #1a8f2e;
        --glow-terminal: 0 0 28px rgba(0, 255, 65, 0.35);
      }
      html {
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: #00ff41 #050505;
      }
      html::-webkit-scrollbar {
        width: 10px;
        height: 10px;
      }
      html::-webkit-scrollbar-track {
        background: #050505;
      }
      html::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #39ff14 0%, #00ff41 45%, #1a8f2e 100%);
        border-radius: 999px;
        border: 2px solid #050505;
      }
      html::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #39ff14 0%, #00ff41 50%, #1a8f2e 100%);
      }
      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }
      }
      body {
        background: #000000;
        color: #e8e8e8;
        font-family: var(--font-body);
      }
      ::selection {
        background: rgba(0, 255, 65, 0.45);
        color: #fff;
      }
      .fp-donation-address {
        word-break: break-all;
        color: #39ff14 !important;
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.85em;
        cursor: pointer;
        transition: color 0.15s ease, box-shadow 0.15s ease;
      }
      .fp-donation-address:hover,
      .fp-donation-address:focus,
      .fp-donation-address:focus-visible,
      .fp-donation-address:active {
        color: #39ff14 !important;
        box-shadow: inset 0 -1px 0 rgba(57, 255, 20, 0.45) !important;
      }
      .bg-page {
        background:
          radial-gradient(ellipse 100% 70% at 50% 0%, rgba(0, 255, 65, 0.08) 0%, transparent 42%),
          radial-gradient(ellipse 80% 50% at 100% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
          transparent;
      }
      /* Р–РёРґРєРѕРµ СЃС‚РµРєР»Рѕ */
      .liquid-glass,
      .card-surface {
        position: relative;
        overflow: hidden;
        background: linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.1) 0%,
          rgba(255, 255, 255, 0.03) 42%,
          rgba(0, 255, 65, 0.07) 100%
        );
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid rgba(0, 255, 65, 0.32);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.14),
          inset 0 -1px 0 rgba(0, 0, 0, 0.45),
          0 12px 40px rgba(0, 0, 0, 0.5),
          0 0 0 1px rgba(255, 255, 255, 0.05);
        transition:
          border-color 0.35s ease,
          box-shadow 0.35s ease,
          transform 0.35s ease;
      }
      .liquid-glass::before,
      .card-surface::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.18), transparent 52%);
        opacity: 0.5;
      }
      .liquid-glass:hover,
      .card-surface:hover {
        border-color: rgba(57, 255, 20, 0.45);
        box-shadow:
          var(--glow-terminal),
          inset 0 1px 0 rgba(255, 255, 255, 0.18),
          inset 0 -1px 0 rgba(0, 0, 0, 0.4),
          0 16px 48px rgba(0, 0, 0, 0.55);
      }
      .liquid-glass > *,
      .card-surface > * {
        position: relative;
        z-index: 1;
      }
      .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        height: var(--header-h);
        min-height: var(--header-h);
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(0, 255, 65, 0.22);
        background: rgba(8, 8, 8, 0.78);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
      }
      .section-divider-wrap {
        overflow: visible;
        padding-block: 0.75rem;
      }
      .section-divider {
        width: 100%;
        height: 2px;
        overflow: visible;
        background-color: #00ff41;
        opacity: 1;
        border: none;
        box-shadow: none;
      }
      .hero-grid {
        background-image:
          linear-gradient(rgba(0, 255, 65, 0.05) 1px, transparent 1px),
          linear-gradient(90deg, rgba(0, 255, 65, 0.05) 1px, transparent 1px);
        background-size: 48px 48px;
      }
      .tier-gold-strong {
        color: #39ff14;
        font-weight: 700;
        text-shadow: 0 0 18px rgba(0, 255, 65, 0.5);
      }
      .step-track {
        position: relative;
        isolation: isolate;
      }
      .step-line {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: none;
        opacity: 1;
        filter: none;
        will-change: auto;
        background: linear-gradient(
          180deg,
          rgba(57, 255, 20, 0.55),
          rgba(0, 255, 65, 0.35),
          rgba(122, 98, 32, 0.45)
        );
      }
      .step-list {
        position: relative;
        z-index: 1;
      }
      .step-badge {
        position: relative;
        z-index: 2;
        opacity: 1;
        transform: none;
        filter: none;
        will-change: auto;
      }
      .step-track .step-list > li > .card-surface {
        z-index: 1;
      }
      body.drawer-open .site-header {
        z-index: 65;
      }
      [data-drawer-icon-open],
      [data-drawer-icon-close] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      [data-drawer-icon-close] {
        display: none;
      }
      body.drawer-open [data-drawer-icon-open] {
        display: none;
      }
      body.drawer-open [data-drawer-icon-close] {
        display: inline-flex;
      }
      [data-reveal],
      .reveal-item {
        opacity: 1;
        transform: none;
        filter: none;
      }
      main a {
        color: var(--terminal-light);
        text-decoration: none;
        transition: color 0.2s ease;
      }
      main a:hover {
        color: #fff;
      }
      main a.fp-topic-back,
      main a.no-underline,
      main a.fp-topic-card,
      main a.inline-flex,
      .site-header a {
        text-decoration: none;
      }
      .prose-fp a,
      .fp-article-overlay .prose-fp a {
        text-decoration: underline;
        text-underline-offset: 3px;
      }
      main a.fp-topic-card,
      main a.fp-topic-card:hover,
      main a.fp-topic-card h3,
      main a.fp-topic-card p,
      main a.fp-topic-card span {
        text-decoration: none;
      }
      footer a {
        color: var(--terminal-light);
        text-decoration: none;
        transition: color 0.2s ease;
      }
      footer a:hover {
        color: #fff;
      }
      .site-header a:focus-visible,
      main a:focus-visible,
      footer a:focus-visible {
        outline: 2px solid var(--terminal-light);
        outline-offset: 3px;
      }
      .fp-lang-switch {
        display: inline-flex;
        border: 1px solid var(--color-border);
      }
      .fp-lang-switch button {
        font-family: var(--font-body);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        padding: 0.35rem 0.65rem;
        color: var(--color-text-muted);
        background: transparent;
        border: none;
        border-radius: 0;
        transition: color 0.15s ease, background 0.15s ease;
      }
      .fp-lang-switch button:hover {
        color: var(--color-accent-bright);
      }
      .fp-lang-switch button.is-active {
        color: var(--color-bg);
        background: var(--color-accent);
      }
      .fp-lang-switch button + button {
        border-left: 1px solid var(--color-border);
      }
