:root{
    color-scheme:dark;
    --bg:#05060a;
    --panel:#090b11;
    --panel-2:#10131b;
    --line:rgba(255,255,255,.10);
    --line-soft:rgba(255,255,255,.055);
    --text:#f6f7fb;
    --muted:rgba(242,244,250,.62);
    --muted-2:rgba(242,244,250,.42);
    --gold:#f0ba4a;
    --gold-2:#ffd67a;
    --gold-3:#b6791f;
    --purple:#7c4dff;
    --purple-2:#9f7aff;
    --radius:34px;
}

*{
    box-sizing:border-box;
}

html{
    min-height:100%;
    background:#030408;
}

body{
    margin:0;
    min-width:320px;
    min-height:100vh;
    min-height:100dvh;
    color:var(--text);
    background:
        radial-gradient(circle at 12% 6%,rgba(101,56,196,.15),transparent 29%),
        radial-gradient(circle at 90% 86%,rgba(222,155,42,.12),transparent 27%),
        #030408;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

a{
    color:inherit;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

.landing-shell{
    min-height:100vh;
    min-height:100dvh;
    display:grid;
    place-items:center;
    padding:
        max(18px,env(safe-area-inset-top))
        max(18px,env(safe-area-inset-right))
        max(18px,env(safe-area-inset-bottom))
        max(18px,env(safe-area-inset-left));
}

.landing-card{
    position:relative;
    isolation:isolate;
    width:min(100%,760px);
    min-height:min(920px,calc(100dvh - 36px));
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border:1px solid rgba(255,255,255,.12);
    border-radius:var(--radius);
    background:
        linear-gradient(145deg,rgba(255,255,255,.026),transparent 28%),
        linear-gradient(180deg,rgba(10,12,18,.96),rgba(5,6,10,.985));
    box-shadow:
        0 34px 120px rgba(0,0,0,.62),
        inset 0 1px 0 rgba(255,255,255,.045);
}

.landing-card::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    border-radius:inherit;
    background:
        linear-gradient(90deg,rgba(155,105,255,.13),transparent 13%,transparent 87%,rgba(255,194,75,.10));
    opacity:.55;
}

.visual-layer{
    position:absolute;
    inset:0;
    z-index:-2;
    overflow:hidden;
    pointer-events:none;
}

.glow{
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    filter:blur(72px);
    opacity:.17;
}

.glow-purple{
    left:-210px;
    top:-190px;
    background:#7040e8;
}

.glow-gold{
    right:-240px;
    bottom:80px;
    background:#dc9324;
}

.light-arc{
    position:absolute;
    display:block;
    border-radius:50%;
    border-style:solid;
    opacity:.68;
    filter:
        drop-shadow(0 0 8px currentColor)
        drop-shadow(0 0 22px currentColor);
}

.arc-purple{
    color:#774cff;
    border-color:rgba(126,77,255,.62);
}

.arc-purple-a{
    width:620px;
    height:620px;
    left:-430px;
    top:-270px;
    border-width:2px 5px 0 0;
    transform:rotate(20deg);
}

.arc-purple-b{
    width:730px;
    height:730px;
    left:-520px;
    top:-330px;
    border-width:1px 2px 0 0;
    opacity:.28;
    transform:rotate(25deg);
}

.arc-gold{
    color:#e5aa3f;
    border-color:rgba(242,183,70,.64);
}

.arc-gold-a{
    width:650px;
    height:650px;
    right:-470px;
    bottom:-310px;
    border-width:2px 0 0 5px;
    transform:rotate(-18deg);
}

.arc-gold-b{
    width:760px;
    height:760px;
    right:-560px;
    bottom:-370px;
    border-width:1px 0 0 2px;
    opacity:.28;
    transform:rotate(-14deg);
}

.spark{
    position:absolute;
    width:3px;
    height:3px;
    border-radius:50%;
    background:#ffd27a;
    box-shadow:0 0 12px #ffbf4a;
    opacity:.65;
    animation:sparkPulse 4s ease-in-out infinite;
}

.spark-1{top:18%;left:21%;animation-delay:.3s}
.spark-2{top:28%;right:17%;animation-delay:1.1s}
.spark-3{top:43%;left:11%;animation-delay:2.2s}
.spark-4{top:52%;right:8%;animation-delay:1.7s}
.spark-5{bottom:24%;left:18%;animation-delay:2.8s}
.spark-6{bottom:12%;right:24%;animation-delay:.8s}

.landing-topbar{
    position:relative;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:24px 26px 0;
}

.mini-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,.82);
    text-decoration:none;
    font-size:13px;
    font-weight:900;
    letter-spacing:.16em;
}

.mini-brand img{
    width:30px;
    height:30px;
    object-fit:contain;
    border-radius:9px;
    filter:drop-shadow(0 8px 18px rgba(236,174,62,.18));
}

.age-chip{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:7px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(5,7,11,.54);
    backdrop-filter:blur(14px);
}

.age-chip strong{
    color:#d6c3ff;
    font-size:12px;
    letter-spacing:.03em;
}

.age-chip small{
    color:var(--muted-2);
    font-size:10px;
    font-weight:700;
}

.hero{
    position:relative;
    z-index:3;
    width:min(100%,560px);
    margin:0 auto;
    padding:42px 28px 24px;
    text-align:center;
}

.brand-emblem{
    position:relative;
    width:148px;
    height:148px;
    margin:0 auto 18px;
    display:grid;
    place-items:center;
}

.emblem-aura{
    position:absolute;
    inset:14px;
    border-radius:50%;
    background:
        radial-gradient(circle,rgba(255,205,103,.20),rgba(164,93,14,.05) 46%,transparent 72%);
    filter:blur(8px);
    animation:auraPulse 4.8s ease-in-out infinite;
}

.brand-emblem img{
    position:relative;
    z-index:2;
    width:118px;
    height:118px;
    object-fit:contain;
    filter:
        drop-shadow(0 14px 28px rgba(0,0,0,.48))
        drop-shadow(0 0 20px rgba(241,182,70,.20));
}

.hero h1{
    margin:0;
    color:#fff;
    font-size:clamp(48px,9vw,76px);
    font-weight:420;
    line-height:.95;
    letter-spacing:.24em;
    text-indent:.24em;
    text-shadow:0 8px 28px rgba(0,0,0,.34);
}

.brand-divider{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:12px;
    width:min(100%,250px);
    margin:24px auto 20px;
}

.brand-divider span{
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(240,186,74,.75));
}

.brand-divider span:last-child{
    background:linear-gradient(90deg,rgba(240,186,74,.75),transparent);
}

.brand-divider i{
    color:var(--gold);
    font-size:11px;
    font-style:normal;
    filter:drop-shadow(0 0 8px rgba(240,186,74,.45));
}

.hero-title{
    margin:0;
    color:rgba(255,255,255,.92);
    font-size:clamp(23px,4vw,31px);
    font-weight:430;
    line-height:1.35;
    letter-spacing:-.02em;
}

.hero-subtitle{
    width:min(100%,440px);
    margin:14px auto 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.6;
    font-weight:600;
}

.entry-panel{
    position:relative;
    z-index:4;
    width:min(100%,580px);
    margin:auto auto 0;
    padding:0 28px 30px;
}

.entry-actions{
    display:grid;
    gap:14px;
}

.entry-btn{
    position:relative;
    min-height:78px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 30px;
    align-items:center;
    gap:12px;
    padding:12px 18px;
    border-radius:22px;
    text-decoration:none;
    overflow:hidden;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease,
        filter .16s ease;
}

.entry-btn::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.13) 48%,transparent 72%);
    transform:translateX(-130%);
    transition:transform .6s ease;
}

.entry-btn:hover::after{
    transform:translateX(130%);
}

.entry-btn:hover{
    transform:translateY(-1px);
}

.entry-btn:active{
    transform:scale(.988);
}

.register-btn{
    color:#17120a;
    border:1px solid rgba(255,230,165,.70);
    background:
        radial-gradient(circle at 50% 0,rgba(255,255,255,.26),transparent 48%),
        linear-gradient(135deg,#ca8e2d,#f3c660 48%,#bf7e23);
    box-shadow:
        0 20px 48px rgba(172,108,18,.22),
        inset 0 1px 0 rgba(255,255,255,.42);
}

.register-btn:hover{
    box-shadow:
        0 24px 58px rgba(193,126,25,.29),
        inset 0 1px 0 rgba(255,255,255,.48);
    filter:brightness(1.035);
}

.login-btn{
    color:#f5f6fb;
    border:1px solid rgba(255,255,255,.13);
    background:
        linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.022)),
        rgba(10,12,18,.83);
    box-shadow:
        0 18px 44px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter:blur(16px);
}

.login-btn:hover{
    border-color:rgba(255,255,255,.22);
}

.btn-icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:15px;
}

.register-btn .btn-icon{
    background:rgba(29,19,5,.08);
}

.login-btn .btn-icon{
    background:rgba(255,255,255,.045);
    color:rgba(255,255,255,.63);
}

.btn-icon svg{
    width:25px;
    height:25px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.btn-copy{
    min-width:0;
}

.btn-copy strong,
.btn-copy small{
    display:block;
}

.btn-copy strong{
    font-size:17px;
    font-weight:900;
    line-height:1.2;
}

.btn-copy small{
    margin-top:4px;
    font-size:10.5px;
    font-weight:750;
    opacity:.62;
}

.btn-arrow{
    font-size:34px;
    font-weight:300;
    line-height:1;
    opacity:.82;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:28px;
    padding:4px 0 22px;
}

.trust-grid article{
    position:relative;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:0 12px;
}

.trust-grid article + article::before{
    content:"";
    position:absolute;
    left:0;
    top:12px;
    bottom:5px;
    width:1px;
    background:linear-gradient(180deg,transparent,var(--line),transparent);
}

.trust-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin-bottom:10px;
    color:#9870ff;
    filter:drop-shadow(0 0 15px rgba(126,77,255,.18));
}

.trust-icon svg{
    width:40px;
    height:40px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.shield-icon{
    border:1.5px solid currentColor;
    clip-path:polygon(50% 0,93% 14%,88% 68%,50% 100%,12% 68%,7% 14%);
    font-size:13px;
    font-weight:950;
}

.trust-grid strong{
    color:rgba(255,255,255,.90);
    font-size:12px;
    font-weight:850;
    line-height:1.3;
}

.trust-grid small{
    display:block;
    max-width:130px;
    margin-top:5px;
    color:var(--muted-2);
    font-size:9.5px;
    font-weight:600;
    line-height:1.35;
}

.privacy-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:16px 0 14px;
    border-top:1px solid var(--line-soft);
}

.privacy-line span{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    color:var(--gold);
}

.privacy-line svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.privacy-line p{
    margin:0;
    color:var(--muted-2);
    font-size:10px;
    font-weight:650;
}

.legal-links{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    min-height:28px;
}

.legal-links a{
    color:rgba(255,255,255,.44);
    text-decoration:none;
    font-size:10px;
    font-weight:700;
    transition:color .16s ease;
}

.legal-links a:hover{
    color:rgba(255,255,255,.78);
}

.legal-links i{
    width:1px;
    height:14px;
    background:var(--line);
}

@keyframes auraPulse{
    0%,100%{transform:scale(.92);opacity:.65}
    50%{transform:scale(1.08);opacity:1}
}

@keyframes sparkPulse{
    0%,100%{transform:scale(.65);opacity:.25}
    50%{transform:scale(1.35);opacity:.9}
}

@media (max-width:620px){
    .landing-shell{
        padding:0;
    }

    .landing-card{
        width:100%;
        min-height:100vh;
        min-height:100dvh;
        border:0;
        border-radius:0;
    }

    .landing-topbar{
        padding:
            calc(16px + env(safe-area-inset-top))
            18px
            0;
    }

    .age-chip small{
        display:none;
    }

    .hero{
        padding:
            clamp(28px,5.5vh,48px)
            22px
            20px;
    }

    .brand-emblem{
        width:126px;
        height:126px;
        margin-bottom:14px;
    }

    .brand-emblem img{
        width:102px;
        height:102px;
    }

    .hero h1{
        font-size:52px;
    }

    .hero-title{
        font-size:24px;
    }

    .entry-panel{
        padding:
            0
            18px
            calc(22px + env(safe-area-inset-bottom));
    }

    .entry-btn{
        min-height:72px;
        border-radius:20px;
    }

    .trust-grid{
        margin-top:24px;
    }

    .trust-grid article{
        padding:0 7px;
    }

    .trust-grid small{
        font-size:8.8px;
    }
}

@media (max-width:410px){
    .mini-brand span{
        display:none;
    }

    .hero-subtitle{
        max-width:320px;
        font-size:12px;
    }

    .entry-btn{
        grid-template-columns:42px minmax(0,1fr) 24px;
        padding:11px 14px;
    }

    .btn-icon{
        width:40px;
        height:40px;
    }

    .btn-copy strong{
        font-size:15px;
    }

    .btn-copy small{
        font-size:9.5px;
    }

    .trust-grid strong{
        font-size:10.5px;
    }

    .privacy-line p{
        font-size:9px;
    }
}

@media (max-height:760px) and (min-width:621px){
    .landing-card{
        min-height:720px;
    }

    .hero{
        padding-top:24px;
        padding-bottom:16px;
    }

    .brand-emblem{
        width:116px;
        height:116px;
        margin-bottom:8px;
    }

    .brand-emblem img{
        width:94px;
        height:94px;
    }

    .hero h1{
        font-size:54px;
    }

    .brand-divider{
        margin-top:18px;
        margin-bottom:14px;
    }

    .hero-title{
        font-size:22px;
    }

    .hero-subtitle{
        margin-top:8px;
    }

    .entry-btn{
        min-height:66px;
    }

    .trust-grid{
        margin-top:18px;
        padding-bottom:14px;
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto!important;
        animation-duration:.001ms!important;
        animation-iteration-count:1!important;
        transition-duration:.001ms!important;
    }
}
