:root{color-scheme:dark;--gold:#b99966;--bright:#f0d29a;--muted:#aaa09a;--line:rgba(185,153,102,.27);font-family:Inter,Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{min-height:100%}body{min-height:100svh;margin:0;color:var(--bright);background:radial-gradient(ellipse at 50% 10%,rgba(111,77,38,.18),transparent 50%),radial-gradient(ellipse at 3% 79%,rgba(115,75,22,.16),transparent 40%),radial-gradient(ellipse at 96% 80%,rgba(115,75,22,.12),transparent 42%),#090807;display:flex;flex-direction:column;align-items:center;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E")}a{color:inherit}.ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.orbit{position:absolute;border:1px solid rgba(185,153,102,.12);border-radius:50%;left:50%;top:35%;transform:translate(-50%,-50%)}.orbit-one{width:480px;height:480px}.orbit-two{width:770px;height:770px;border-color:rgba(185,153,102,.095)}.orbit-three{width:1190px;height:1190px;border-color:rgba(185,153,102,.07)}.star{position:absolute;width:5px;height:5px;background:#eac17c;border-radius:50%;box-shadow:0 0 12px #d9a951,0 0 23px #d9a951}.s1{top:18%;left:25%}.s2{top:29%;left:67%}.s3{top:63%;left:13%}.s4{top:71%;left:89%}.s5{top:54%;left:51%}.masthead{width:100%;max-width:1600px;display:flex;justify-content:space-between;align-items:center;padding:32px 42px 12px;color:#d4b67b;font-size:11px;font-weight:700;letter-spacing:.28em}.small-brand .dot{font-size:10px;padding-right:8px}.micro{font-size:10px;color:#8d8780;font-weight:400}.portal{position:relative;width:min(1050px,calc(100% - 44px));margin:18px auto 36px;padding:42px clamp(24px,7vw,100px) 37px;border:1px solid var(--line);border-radius:62px;background:radial-gradient(ellipse at 50% 2%,rgba(89,61,29,.13),transparent 45%),linear-gradient(155deg,rgba(29,26,23,.86),rgba(9,9,9,.94) 49%,rgba(23,19,15,.92));box-shadow:0 22px 80px rgba(0,0,0,.35),inset 0 1px rgba(255,225,167,.04);text-align:center}.hero{display:flex;align-items:center;flex-direction:column}.logo{width:min(300px,100%);color:var(--gold)}.logo svg{display:block;width:155px;max-width:100%;height:auto;margin:0 auto 8px;filter:drop-shadow(0 0 18px rgba(187,141,78,.10))}.logo-word{font-weight:900;font-size:24px;letter-spacing:.075em;white-space:nowrap}.tagline{display:flex;align-items:center;gap:15px;margin-top:15px;color:#b99b6b;font-size:9px;letter-spacing:.32em}.tagline span{width:42px;height:1px;background:var(--line)}h1{font-size:clamp(34px,5vw,55px);font-weight:400;letter-spacing:-.045em;margin:31px 0 8px}.subtitle{font-size:17px;color:#aaa5a0;margin:0}.choices{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:40px;max-width:780px;margin:35px auto 0}.client{min-width:0;display:flex;flex-direction:column;align-items:center}.client-icon{border:1px solid rgba(185,153,102,.48);width:60px;height:60px;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 6px rgba(185,153,102,.045),0 0 17px rgba(185,153,102,.06)}.client-icon svg{width:27px;height:27px;fill:none;stroke:var(--bright);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}h2{font-size:24px;font-weight:400;letter-spacing:-.02em;margin:15px 0 7px}.method{font-size:11px;color:#b9ada0;letter-spacing:.26em;margin:0}.buttons{display:grid;gap:14px;margin-top:24px;width:min(100%,290px)}.proxy-button{position:relative;display:flex;align-items:center;justify-content:center;height:60px;border:1px solid var(--gold);border-radius:12px;text-decoration:none;font-size:24px;font-weight:400;color:var(--bright);background:linear-gradient(160deg,rgba(192,144,65,.1),rgba(22,19,16,.54));box-shadow:inset 0 1px rgba(250,207,138,.15),0 0 13px rgba(173,119,54,.04);transition:background .18s ease,transform .18s ease,border-color .18s ease,box-shadow .18s ease}.proxy-button span{position:absolute;right:21px;font-size:28px;top:50%;transform:translateY(-53%)}.proxy-button:hover,.proxy-button:focus-visible{background:linear-gradient(160deg,rgba(202,158,88,.25),rgba(47,34,22,.65));border-color:#f4ce8f;box-shadow:0 0 24px rgba(199,149,75,.15);transform:translateY(-2px);outline:none}.proxy-button:active{transform:translateY(0)}.proxy-button.unavailable{opacity:.48;cursor:not-allowed}.separator{background:linear-gradient(transparent,rgba(185,153,102,.25) 25%,rgba(185,153,102,.25) 75%,transparent);position:relative;min-height:250px}.separator span{position:absolute;width:6px;height:6px;background:#d8ac68;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 12px #bc8948}footer{display:flex;align-items:center;justify-content:center;gap:30px;color:#ae9066;font-size:10px;letter-spacing:.23em;margin:53px auto 0;white-space:nowrap}footer span{height:1px;width:100px;background:linear-gradient(90deg,transparent,var(--gold))}footer span:last-child{transform:rotate(180deg)}.notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(540px,calc(100% - 24px));width:max-content;background:#201a14;border:1px solid #7c6041;padding:14px 20px;border-radius:12px;color:#f1d4a2;z-index:2;text-align:center;font-size:14px}@media(max-width:670px){.masthead{padding:22px 20px 5px}.micro{display:none}.portal{width:calc(100% - 24px);margin:14px auto 24px;border-radius:35px;padding:39px 20px 32px}.logo svg{width:150px}.logo-word{font-size:22px}h1{font-size:clamp(33px,10vw,45px);margin:28px 0 12px}.subtitle{font-size:14px}.choices{display:flex;flex-direction:column;gap:29px;margin-top:34px}.separator{width:80%;height:1px;min-height:1px;margin:4px auto;background:linear-gradient(90deg,transparent,rgba(185,153,102,.4),transparent)}.buttons{margin-top:19px;gap:13px;width:min(100%,350px)}.proxy-button{height:62px}.client-icon{width:55px;height:55px}h2{margin-top:14px;font-size:25px}footer{margin-top:42px;gap:14px;letter-spacing:.12em;font-size:9px}footer span{width:40px}.orbit-one{width:420px;height:420px}.orbit-two{width:700px;height:700px}.orbit-three{width:900px;height:900px}}
@media(prefers-reduced-motion:reduce){.proxy-button{transition:none}}

/* Auth overlay: visually blurred page; data is supplied only after successful server login. */
body:not(.unlocked) .portal,body:not(.unlocked) .masthead{filter:blur(8px);pointer-events:none;user-select:none}
.gate{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:rgba(2,2,2,.30);backdrop-filter:blur(2px)}
.gate[hidden]{display:none}.gate-panel{width:min(420px,100%);border-radius:24px;padding:35px 30px;text-align:center;background:radial-gradient(ellipse at 50% 0,rgba(165,112,50,.12),transparent 70%),#14110f;border:1px solid rgba(211,166,92,.47);box-shadow:0 24px 90px #000b,0 0 45px #b7934220}
.gate-mark{font-size:28px;color:#d9ae70}.gate-kicker{font-size:10px;letter-spacing:.24em;color:#ad8e61;margin:15px 0}.gate-panel h2{font-size:29px;color:#ebd1a7}.gate-panel>p{color:#b3aaa0;font-size:14px}.gate-label{display:block;text-align:left;font-size:12px;letter-spacing:.1em;color:#c2a071;margin:25px 0 9px}.gate-panel input{width:100%;border:1px solid #765e41;border-radius:10px;padding:15px 16px;outline:none;color:#f9e0b5;background:#0b0a09;font-size:18px}.gate-panel input:focus{border-color:#e8bc75;box-shadow:0 0 0 3px #d5a55c2b}.gate-submit{width:100%;margin-top:15px;padding:15px;border-radius:10px;border:1px solid #c5a071;background:linear-gradient(160deg,#3b2b1c,#1d1710);color:#efd4a4;font-size:16px;cursor:pointer}.gate-submit:disabled{opacity:.5;cursor:wait}.gate-submit span{margin-left:8px}.gate-error{min-height:1.5em;color:#f0a09a!important;font-size:13px!important}.proxy-button:not([href^="https://t.me/"]){cursor:not-allowed}
@media(max-width:670px){.gate-panel{padding:27px 22px}.gate-panel h2{font-size:25px}}


/* EGQ ORIGINAL BACKGROUND OVERRIDE */

/* Original EGQ palette */
body {
    background: var(--bg);
}

/* Original EGQ grid */
body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 84px 84px;
      mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
      opacity: .52;
    }

/* Original EGQ animated atmosphere */
body::after {
      content: "";
      position: fixed;
      inset: -40%;
      pointer-events: none;
      background: conic-gradient(from 180deg, transparent, rgba(185,153,102,.035), transparent 35%, rgba(138,14,42,.03), transparent 60%);
      filter: blur(18px);
      animation: atmosphere 24s linear infinite;
    }

@keyframes atmosphere { to { transform: rotate(360deg); } }

/* Original EGQ grain */
.grain {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: .035;
      mix-blend-mode: screen;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

/* Keep all GG content above background layers */
body::before,
body::after {
    z-index: 0;
}

body > :not(.ambient) {
    position: relative;
    z-index: 1;
}

/* Hide old GG orbit/star background */
.ambient {
    display: none !important;
}

/* Preserve GG password overlay */
.gate {
    position: fixed !important;
    z-index: 20 !important;
}

/* EGQ ORIGINAL LOGO STYLE */
.logo .original-logo {
    display: block;
    width: min(300px, 100%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.logo .logo-word {
    display: none;
}


/* EGQ ORIGINAL LOGO ANIMATION */

.logo {
    position: relative;
    isolation: isolate;
    width: min(360px, 100%);
    margin: 0 auto;
    animation:
        egqLogoIn 1.1s cubic-bezier(.18,.8,.2,1) both,
        egqLogoBreath 6.4s ease-in-out 1.2s infinite;
    filter:
        drop-shadow(0 0 32px rgba(185,153,102,.18))
        drop-shadow(0 30px 72px rgba(0,0,0,.72));
}

.logo .original-logo {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

/* Decorative gold circle */
.logo::before {
    content: "";
    position: absolute;
    width: 105%;
    aspect-ratio: 1;
    border: 1px solid rgba(185,153,102,.24);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 35px rgba(185,153,102,.08),
        inset 0 0 35px rgba(185,153,102,.04);
    z-index: -1;
    pointer-events: none;
}

@keyframes egqLogoIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.965);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes egqLogoBreath {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

@media (max-width: 670px) {
    .logo {
        width: min(300px, 88vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo {
        animation: none;
    }
}


/* EGQ LOGO COMPOSITION V2 */

.portal {
    padding-top: 45px;
}

.logo {
    width: min(250px, 100%);
    margin: 25px auto 0;
    flex-shrink: 0;
}

.logo .original-logo {
    display: block;
    width: 100%;
    height: auto;
}

.logo::before {
    width: 290px;
    height: 290px;
    aspect-ratio: auto;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    margin-top: 26px;
}

@media (max-width: 670px) {
    .portal {
        padding-top: 36px;
    }

    .logo {
        width: min(210px, 100%);
        margin-top: 20px;
    }

    .logo::before {
        width: 245px;
        height: 245px;
    }

    .hero h1 {
        margin-top: 22px;
    }
}


/* EGQ HOSTS: isolated additions to original GG design */
:root { --bg: #090807; }
body { min-height: 100svh; }
body::before, body::after { pointer-events: none; }
.grain { pointer-events: none; }
.masthead, .portal { z-index: 2; }
.hosts-portal {
    width: min(720px, calc(100% - 32px));
    margin: max(20px, 3vh) auto 35px;
    padding: 32px clamp(22px, 5vw, 60px) 35px;
}
.hosts-portal .logo { width: min(225px, 100%); }
.hosts-portal .logo::before {
    width: 265px;
    height: 265px;
}
.hosts-portal h1 { margin-top: 25px; }
.hosts-access {
    width: min(405px, 100%);
    margin: 33px auto 0;
    padding: 30px clamp(18px, 5vw, 34px);
    border: 1px solid rgba(211,166,92,.42);
    border-radius: 23px;
    background:
      radial-gradient(ellipse at 50% 0,
        rgba(165,112,50,.13), transparent 75%),
      rgba(20,17,15,.87);
    box-shadow: 0 20px 75px rgba(0,0,0,.32),
                0 0 38px rgba(185,153,102,.055);
}
.hosts-access h2 {
    font-size: 27px;
    color: #ebd1a7;
    margin: 10px 0;
}
.hosts-hint {
    color: #b3aaa0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.hosts-access form { text-align: left; }
.hosts-access input {
    display: block;
    width: 100%;
    padding: 15px 16px;
    color: #f9e0b5;
    background: #0b0a09;
    border: 1px solid #765e41;
    border-radius: 10px;
    font-size: 18px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.hosts-access input:focus {
    border-color: #e8bc75;
    box-shadow: 0 0 0 3px rgba(213,165,92,.17);
}
.hosts-access .gate-submit {
    transition: transform .2s, box-shadow .2s,
                border-color .2s, background .2s;
}
.hosts-access .gate-submit:hover {
    transform: translateY(-2px);
    border-color: #f0d29a;
    background: linear-gradient(155deg,#503720,#271c13);
    box-shadow: 0 0 25px rgba(185,153,102,.15);
}
.hosts-access .gate-submit:active {
    transform: translateY(0);
}
.hosts-access .gate-error:empty { display: none; }
.hosts-access .gate-error:not(:empty) { margin-bottom: 0; }
.hosts-portal footer { margin-top: 38px; }
@media(max-width:670px) {
    .hosts-portal {
        margin-top: 14px;
        padding: 28px 18px 30px;
        border-radius: 34px;
    }
    .hosts-portal .logo { width: min(190px, 80vw); }
    .hosts-portal .logo::before {
        width: 225px;
        height: 225px;
    }
    .hosts-access { margin-top: 27px; padding: 26px 20px; }
    .hosts-access h2 { font-size: 25px; }
    .hosts-portal footer { white-space: normal; }
}
@media(prefers-reduced-motion:reduce) {
    body::after, .hosts-portal .logo { animation: none; }
    .hosts-access .gate-submit { transition: none; }
}


/* EGQ LOCAL TWEAKS */
.orbit,
.orbit-one,
.orbit-two,
.orbit-three {
  max-width: 260px !important;
  max-height: 260px !important;
}


/* EGQ HOSTS LOGO CIRCLE FIX V1 */

.hosts-portal .logo::before {
    width: 205px;
    height: 205px;
}

@media (max-width: 670px) {
    .hosts-portal .logo::before {
        width: 190px;
        height: 190px;
    }
}
