﻿    /* --- DRAWER --- */
    .drawer { 
      position: fixed; inset: 0; display:none; z-index: 9999; 
      opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity 0.2s ease, visibility 0.2s ease;
      will-change: opacity;
    }
    .drawer.open { display:block; opacity: 1; visibility: visible; pointer-events: auto; }
    .backdrop { position:absolute; inset:0; background: rgba(5,8,15,.65); opacity: 0; transition: opacity 0.2s ease; }
    .drawer.open .backdrop { opacity: 1; }
    .panel { 
      position:absolute; left:0; right:0; top:0; bottom:0; width: 100vw; max-width: none;
      background: linear-gradient(180deg, rgba(12,16,28,0.98), rgba(10,13,20,0.98)); border-left: 0;
      overflow-y:auto; height: 100vh; z-index: 10000; padding: 80px 20px 20px;
      transform: translate3d(100%, 0, 0); transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .drawer.open .panel { transform: translate3d(0, 0, 0); }
    .panel .group { margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
    .navlink { padding: 12px 14px; border-radius: 12px; border:1px solid var(--border); background: var(--surface); text-align:left; }
    .navlink:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.05); }
    
    .drawer-lang-switch { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
    .drawer-lang-btn {
        flex: 1; padding: 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px;
        color: var(--text); cursor: pointer; text-align: center; font-weight: 700;
    }
    .drawer-lang-btn.active { background: var(--grad-main); border-color: transparent; color: #fff; }

    .hero { position:relative; overflow:hidden; background: radial-gradient(1200px 420px at -10% -10%, rgba(91,140,255,.26), transparent 60%), radial-gradient(1200px 420px at 110% 30%, rgba(139,92,246,.22), transparent 60%), var(--bg); }
    .hero .cta { display:flex; gap:12px; flex-wrap:wrap; margin-top: 24px; }
    .stats { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
    .stat { text-align:center; padding:16px; border-radius: 16px; border:1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-soft); }
    .stat .v { font-weight:900; font-size: 20px; }
    .stat .l { font-size: 12px; color: var(--text-dim); }
    .hero-exchange-cta {
      position: fixed;
      isolation: isolate;
      display: none;
      align-items: center;
      justify-content: center;
      gap: 7px;
      right: 0;
      top: calc(100vh - 72px);
      top: calc(100dvh - 72px);
      z-index: 450000;
      width: 168px;
      min-height: 42px;
      margin: 0;
      padding: 0 12px 0 14px;
      border: 1px solid rgba(255,255,255,.16);
      border-right: 0;
      border-radius: 999px 0 0 999px !important;
      color: #fff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.01em;
      background:
        radial-gradient(50px 28px at 18% 0%, rgba(255,255,255,.28), transparent 70%),
        linear-gradient(135deg, #5b8cff 0%, #724cff 48%, #b54cff 100%);
      box-shadow:
        0 14px 34px rgba(91,140,255,.26),
        0 8px 22px rgba(139,92,246,.22),
        inset 0 1px 0 rgba(255,255,255,.22);
      overflow: hidden;
      transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }
    .hero-exchange-cta::before {
      content: "";
      position: absolute;
      inset: 1px;
      z-index: -1;
      border-radius: inherit;
      background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 54%);
      pointer-events: none;
    }
    .hero-exchange-cta:hover {
      transform: translateX(-2px);
      filter: saturate(1.08);
      box-shadow:
        0 16px 40px rgba(91,140,255,.32),
        0 10px 26px rgba(139,92,246,.26),
        inset 0 1px 0 rgba(255,255,255,.26);
    }
    .hero-exchange-cta:active { transform: translateX(0) scale(.98); }
    .hero-exchange-cta__icon {
      display: grid;
      place-items: center;
      width: 17px;
      height: 17px;
      color: rgba(255,255,255,.94);
      flex: 0 0 auto;
    }
    .hero-exchange-cta__icon svg {
      width: 17px;
      height: 17px;
      display: block;
    }
    @media (max-width: 768px){
      .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .hero-exchange-cta {
        display: inline-flex;
      }
    }
    #cometCanvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }
    .hero .container { position: relative; z-index: 1; }

