@import url("/css/tokens.css");




      * {
        box-sizing: border-box;
      }


      html {
        scroll-behavior: smooth;
        background: var(--page);
      }


      body {
        min-width: 320px;
        min-height: 100vh;
        margin: 0;
        overflow-x: hidden;
        background:
          radial-gradient(
            circle at 50% -20%,
            rgba(109, 64, 222, 0.13),
            transparent 34%
          ),
          linear-gradient(180deg, #070812 0%, #070812 58%, #05060d 100%);
        color: var(--text);
        font-family: var(--font-ui);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
      }


      a {
        color: inherit;
      }


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


      .container {
        width: min(100% - 40px, var(--container));
        margin: 0 auto;
      }


      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }


      .site-header {
        position: relative;
        z-index: 10;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        background: rgba(5, 6, 13, 0.92);
        backdrop-filter: blur(18px);
      }


      .nav-shell {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        min-height: 89px;
        gap: 24px;
      }


      .brand {
        display: inline-flex;
        align-items: center;
        justify-self: start;
        gap: 11px;
        color: #ffffff;
        text-decoration: none;
        font-family: var(--font-display);
        font-size: 1.37rem;
        font-weight: 800;
        letter-spacing: -0.06em;
      }


      .brand-avatar {
        position: relative;
        width: 47px;
        height: 47px;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 50%;
        background: #121323;
        box-shadow: 0 0 0 3px rgba(137, 90, 247, 0.08);
      }


      .brand-avatar img {
        width: 100%;
        height: 100%;
        border-radius: inherit;
        object-fit: cover;
      }


      .brand-status {
        position: absolute;
        right: -1px;
        bottom: -1px;
        width: 13px;
        height: 13px;
        border: 2px solid #080914;
        border-radius: 50%;
        background: var(--green);
      }


      .header-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(22px, 2.8vw, 42px);
      }


      .header-nav a {
        position: relative;
        color: #e3e3ec;
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 700;
        transition: color 180ms var(--ease);
      }


      .header-nav a::after {
        position: absolute;
        right: 50%;
        bottom: -11px;
        left: 50%;
        height: 2px;
        content: "";
        border-radius: 999px;
        background: var(--purple-bright);
        opacity: 0;
        transition:
          right 180ms var(--ease),
          left 180ms var(--ease),
          opacity 180ms var(--ease);
      }


      .header-nav a:hover,
      .header-nav a:focus-visible {
        color: #ffffff;
      }


      .header-nav a:hover::after,
      .header-nav a:focus-visible::after,
      .header-nav a[aria-current="page"]::after {
        right: 0;
        left: 0;
        opacity: 1;
      }


      .header-action {
        display: flex;
        justify-content: flex-end;
      }


      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        padding: 0 19px;
        border: 1px solid transparent;
        border-radius: 10px;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1;
        transition:
          transform 180ms var(--ease),
          border-color 180ms var(--ease),
          background 180ms var(--ease),
          box-shadow 180ms var(--ease);
      }


      .button:hover,
      .button:focus-visible {
        transform: translateY(-2px);
      }


      .button-primary {
        border-color: rgba(193, 164, 255, 0.35);
        background: linear-gradient(135deg, #7550e6, #9261f9);
        box-shadow:
          0 10px 24px rgba(89, 47, 215, 0.28),
          inset 0 1px 0 rgba(255, 255, 255, 0.18);
      }


      .button-primary:hover,
      .button-primary:focus-visible {
        box-shadow:
          0 14px 29px rgba(89, 47, 215, 0.4),
          inset 0 1px 0 rgba(255, 255, 255, 0.22);
      }


      .button-secondary {
        border-color: rgba(255, 255, 255, 0.16);
        background: rgba(17, 18, 30, 0.82);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      }


      .button-secondary:hover,
      .button-secondary:focus-visible {
        border-color: rgba(170, 136, 255, 0.58);
        background: rgba(30, 29, 49, 0.96);
      }


      .button svg {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
      }


      .site-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(3, 4, 10, 0.42);
      }


      .footer-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-height: 104px;
        padding: 23px 0;
      }


      .footer-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #ffffff;
        text-decoration: none;
        font-family: var(--font-display);
        font-size: 1.08rem;
        font-weight: 800;
        letter-spacing: -0.05em;
      }


      .footer-brand img {
        width: 31px;
        height: 31px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        object-fit: cover;
      }


      .footer-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 17px;
      }


      .footer-links a,
      .footer-meta {
        color: var(--muted-soft);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 600;
        transition: color 180ms var(--ease);
      }


      .footer-links a:hover,
      .footer-links a:focus-visible {
        color: #ffffff;
      }


      .footer-discord {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 11px;
        color: #c6b3ff;
        background: rgba(22, 23, 37, 0.94);
        transition:
          transform 180ms var(--ease),
          border-color 180ms var(--ease),
          background 180ms var(--ease);
      }


      .footer-discord:hover,
      .footer-discord:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(169, 128, 255, 0.5);
        background: rgba(42, 34, 70, 0.95);
      }


      .footer-discord svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
      }
@media (max-width: 860px) {

        .nav-shell {
          grid-template-columns: 1fr auto;
          gap: 16px;
          padding: 15px 0;
        }


        .header-nav {
          grid-column: 1 / -1;
          grid-row: 2;
          justify-content: flex-start;
          width: 100%;
          padding-top: 4px;
          overflow-x: auto;
          gap: 24px;
          scrollbar-width: none;
        }


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


        .header-nav a {
          flex: 0 0 auto;
        }


        .header-nav a::after {
          bottom: -7px;
        }
}
@media (max-width: 620px) {

        .container {
          width: min(100% - 30px, var(--container));
        }


        .brand {
          font-size: 1.21rem;
        }


        .brand-avatar {
          width: 42px;
          height: 42px;
        }


        .header-action .button {
          min-height: 42px;
          padding: 0 13px;
          font-size: 0.84rem;
        }


        .header-action .button span {
          display: none;
        }


        .footer-content {
          flex-wrap: wrap;
          justify-content: center;
          padding: 28px 0;
          text-align: center;
        }


        .footer-brand {
          width: 100%;
          justify-content: center;
        }


        .footer-links {
          order: 3;
          width: 100%;
        }
}

/* Shared accessibility helpers; the approved resting homepage is unchanged. */
:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; transform: translateY(-200%); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface-hover); color: var(--text); }
.skip-link:focus { transform: none; }
