@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root{color-scheme:dark;--ember:#ff5105;--ember-bright:#ff720b;--white:#fff;--muted:#c6c0bd;--line:rgba(255,111,53,.28)}
*{box-sizing:border-box;margin:0;padding:0}
html{min-width:320px;scroll-behavior:smooth}
body{background:#090301;color:var(--white);font-family:'Segoe UI',Arial,sans-serif;min-height:100vh}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid #ff9a5f;outline-offset:6px}
.icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}

/* Existing splash timing and verification script are preserved. */
#splash-screen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 45%,#411007 0,#170601 40%,#080302 75%);transition:opacity 1s ease}
#splash-screen.hide{opacity:0;pointer-events:none}
.splash-content{text-align:center;padding:24px;width:min(100%,640px)}
.logo-text{font-family:Orbitron,'Arial Black',sans-serif;font-size:clamp(40px,8vw,96px);font-weight:700;letter-spacing:.16em;padding-left:.16em}
.logo-text span{display:inline-block;opacity:0;animation:letter-reveal .5s ease forwards;color:#fff;text-shadow:0 0 30px rgba(255,75,0,.7)}
.logo-text span:nth-child(1){animation-delay:.1s}.logo-text span:nth-child(2){animation-delay:.3s}.logo-text span:nth-child(3){animation-delay:.5s}.logo-text span:nth-child(4){animation-delay:.7s}.logo-text span:nth-child(5){animation-delay:.9s}.logo-text span:nth-child(6){animation-delay:1.1s}.logo-text span:nth-child(7){animation-delay:1.3s}
.splash-subtitle{font-family:Rajdhani,'Segoe UI',sans-serif;font-size:15px;letter-spacing:.25em;color:#c9b3aa;text-transform:uppercase;margin-top:22px}
.loading-bar{width:min(100%,350px);height:2px;background:#482015;margin:34px auto 0;overflow:hidden}
.loading-progress{width:0;height:100%;background:linear-gradient(90deg,#ff3300,#ff8c2e);animation:loading 2s ease 2s forwards;box-shadow:0 0 18px #ff5105}
@keyframes letter-reveal{to{opacity:1}}
@keyframes loading{to{width:100%}}

/* Keep the slider measurable before .show; its script reads dimensions on load. */
#puzzle-screen{position:fixed;inset:0;z-index:9998;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;visibility:hidden;opacity:0;background:radial-gradient(ellipse at 0 43%,#7e1608 0,transparent 36%),radial-gradient(ellipse at 100% 100%,#9e1601 0,#3d0901 25%,transparent 58%),#070302;transition:opacity .5s ease}
#puzzle-screen.show{visibility:visible;opacity:1}
.puzzle-background{position:absolute;inset:0;min-height:100%;overflow:hidden;pointer-events:none}
.puzzle-background:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 20%,rgba(0,0,0,.16) 47%,transparent 75%)}
.mesh-art{position:absolute;right:-3%;top:0;width:70%;height:100%;min-height:750px;opacity:.43;color:#e42e0a}
.security-portrait{position:absolute;left:-1%;bottom:0;width:36%;height:calc(100% - 80px);object-fit:cover;object-position:70% top;opacity:.98;mask-image:linear-gradient(90deg,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 78%,transparent 100%)}
.network-art{position:absolute;width:155px;height:170px;right:7%;top:18%;color:#ffded0;opacity:.86;filter:drop-shadow(0 0 12px #ff3509)}
.site-header{position:relative;z-index:2;flex-shrink:0;display:flex;align-items:center;gap:28px;width:calc(100% - 112px);max-width:1760px;min-height:72px;margin:12px auto 0;padding:0 28px 0 38px;border:1px solid var(--line);border-radius:19px;background:linear-gradient(115deg,rgba(107,24,9,.65),rgba(16,7,4,.84) 37%,rgba(63,13,5,.55));box-shadow:0 10px 40px #0003;backdrop-filter:blur(14px)}
.brand{font-family:Orbitron,'Arial Black',sans-serif;font-weight:700;letter-spacing:.18em;font-size:25px;text-shadow:0 0 15px #ff591755;white-space:nowrap}
.header-subtitle{font-family:Rajdhani,'Segoe UI',sans-serif;font-weight:600;letter-spacing:.09em;font-size:15px;border-left:1px solid #8e5c4b;padding-left:22px;white-space:nowrap}
.header-section{font-family:Rajdhani,'Segoe UI',sans-serif;letter-spacing:.05em;font-size:16px;font-weight:700;margin:auto;color:var(--ember);padding:26px 0 22px;border-bottom:2px solid var(--ember)}
.header-access{display:inline-flex;align-items:center;justify-content:center;gap:14px;font-family:Rajdhani,'Segoe UI',sans-serif;font-size:16px;font-weight:700;letter-spacing:.05em;border:1px solid #d6c1b8;padding:9px 24px;border-radius:11px;transition:background-color .2s,border-color .2s}
.header-access:hover{background:#69220c;border-color:#ff743c}
.security-layout{position:relative;z-index:1;width:calc(100% - 112px);max-width:1760px;margin:auto;display:grid;grid-template-columns:33% minmax(0,1fr);gap:24px;padding:64px 0 74px;align-items:center;min-height:calc(100svh - 98px);flex:1}
.puzzle-container{grid-column:2;width:100%;max-width:850px;position:relative;text-align:left}
.eyebrow{display:flex;align-items:center;gap:12px;font-family:Rajdhani,'Segoe UI',sans-serif;font-size:24px;font-weight:700;letter-spacing:.2em;color:var(--ember);margin-bottom:14px}
.eyebrow .icon{width:22px;height:25px;fill:currentColor;stroke:#130400}
.puzzle-title{font-size:clamp(35px,3.5vw,62px);line-height:1.13;font-weight:500;letter-spacing:-.035em;white-space:nowrap}
.puzzle-subtitle{font-size:clamp(18px,1.65vw,27px);line-height:1.5;color:var(--muted);margin-top:12px;font-weight:400}
.title-rule{width:65px;height:2px;margin:23px 0 38px;background:var(--ember)}
.puzzle-board{position:relative;isolation:isolate;border:1px solid rgba(255,127,81,.68);border-radius:24px;padding:60px 42px 37px;background:radial-gradient(ellipse at 0 100%,#ff642933,transparent 40%),radial-gradient(ellipse at 100% 100%,#ff43182b,transparent 38%),linear-gradient(145deg,#6e1b103b,#140401d9 65%);box-shadow:inset 0 0 45px #ff2e0612,0 15px 45px #0005;backdrop-filter:blur(12px)}
.puzzle-board:after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 -2px 10px #ff7b3c44;pointer-events:none;z-index:-1}
.slider-container{position:relative;width:100%;height:86px;border-radius:55px;border:2px solid #ff4a00;background:linear-gradient(180deg,#260800,#100400);box-shadow:0 0 16px #fb420459,inset 0 0 16px #ff3e002d;touch-action:none;isolation:isolate}
.slider-track{position:absolute;top:0;left:0;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ff8a176b,#ff4d013d);transition:width .1s ease;pointer-events:none}
.slider-handle{position:absolute;top:50%;left:0;transform:translateY(-50%);width:98px;height:98px;display:flex;align-items:center;justify-content:center;cursor:grab;border-radius:50%;border:2px solid #ffd4b7;background:linear-gradient(145deg,#ffb275 0,#ff772c 25%,#ff4700 75%);box-shadow:0 0 0 7px #ff610c17,0 0 26px #ff4b0099,inset 0 1px 3px #fff9;user-select:none;touch-action:none;color:white;font-size:32px;transition:background-color .15s}
.slider-handle:active{cursor:grabbing}
.slider-handle .icon{width:35px;height:39px;stroke-width:2}
.slider-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:26px;padding-left:70px;pointer-events:none;font-family:Rajdhani,'Segoe UI',sans-serif;font-weight:700;font-size:clamp(18px,1.65vw,27px);letter-spacing:.12em;white-space:nowrap}
.slider-text .icon{width:28px;height:28px;stroke-width:1.5}
.puzzle-info{margin-top:45px;text-align:center}
.verification-caption{display:flex;align-items:center;gap:20px;font-family:Rajdhani,'Segoe UI',sans-serif;letter-spacing:.13em;color:#d7c6bc;font-size:14px;font-weight:500;white-space:nowrap}
.verification-caption:before,.verification-caption:after{content:'';height:1px;background:#725144;flex:1}
.security-badge{display:inline-flex;align-items:center;gap:10px;margin-top:22px;border:1px solid #9d6654;border-radius:30px;background:#23150d80;color:#e8d4c9;padding:11px 24px;font-family:Rajdhani,'Segoe UI',sans-serif;letter-spacing:.09em;font-size:14px;font-weight:600}
.security-badge .icon{width:19px;height:19px;color:var(--ember)}
.trust-row{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:24px;margin:45px 0 0;padding:8px 0;list-style:none}
.trust-row li{display:flex;align-items:center;gap:19px;min-width:0;font-family:Rajdhani,'Segoe UI',sans-serif;font-size:16px;line-height:1.35;font-weight:600;letter-spacing:.1em}
.trust-row li+li{border-left:1px solid #644b41;padding-left:25px}
.trust-row .icon{width:38px;height:43px;color:var(--ember);stroke-width:1.5}
.success-message{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 40px));padding:40px;text-align:center;background:#1a0906f5;border:1px solid #fb6a35;border-radius:24px;box-shadow:0 25px 120px #000b,0 0 40px #ff541b33;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .5s ease;z-index:4}
.success-message.show{opacity:1;visibility:visible}
.success-icon{font-size:62px;margin-bottom:20px}
.success-text{font-size:30px;font-weight:600;margin-bottom:8px}
.success-subtext{color:#d2bfb6;font-size:16px}

@media(min-width:1700px){.puzzle-container{max-width:880px}.security-layout{grid-template-columns:33.5% minmax(0,1fr)}.puzzle-board{padding:65px 55px 44px}.slider-container{height:90px}.slider-handle{width:104px;height:104px}.puzzle-title{font-size:64px}}
@media(max-width:1250px){.site-header,.security-layout{width:calc(100% - 64px)}.site-header{padding-inline:24px;gap:20px}.brand{font-size:21px}.header-subtitle{font-size:13px;padding-left:18px}.header-section{font-size:14px}.security-layout{grid-template-columns:30% minmax(0,1fr);gap:22px;padding-top:48px}.puzzle-title{font-size:clamp(33px,3.65vw,48px)}.puzzle-subtitle{font-size:20px}.puzzle-board{padding:42px 28px 30px}.slider-container{height:72px}.slider-handle{width:84px;height:84px}.slider-text{font-size:20px;letter-spacing:.09em;gap:14px}.trust-row{gap:15px;margin-top:32px}.trust-row li{gap:12px;font-size:13px}.trust-row li+li{padding-left:15px}.trust-row .icon{width:28px;height:33px}.network-art{right:1%;top:12%;width:110px}}
@media(max-width:900px){.header-subtitle{display:none}.security-layout{grid-template-columns:24% minmax(0,1fr)}.security-portrait{width:42%;opacity:.65;mask-image:linear-gradient(90deg,#000 10%,transparent 96%);-webkit-mask-image:linear-gradient(90deg,#000 10%,transparent 96%)}.puzzle-title{white-space:normal;font-size:37px}.puzzle-subtitle{font-size:18px}.eyebrow{font-size:19px}.puzzle-board{padding:34px 22px 26px}.slider-text{font-size:17px;padding-left:65px;gap:10px;letter-spacing:.06em}.slider-text .icon{width:22px}.trust-row li{font-size:12px;letter-spacing:.04em;gap:9px}.trust-row li+li{padding-left:10px}.verification-caption{font-size:12px;letter-spacing:.06em;gap:10px}.security-badge{font-size:12px;padding:9px 16px}.network-art{display:none}}
@media(max-width:620px){.site-header{width:calc(100% - 32px);min-height:64px;margin-top:16px;padding:0 17px;border-radius:14px;gap:12px}.brand{font-size:19px;letter-spacing:.12em}.header-section{font-size:13px;padding:22px 0 18px}.header-access{display:none}.security-layout{display:block;width:calc(100% - 40px);padding:47px 0 50px;min-height:calc(100svh - 96px);margin:0 auto}.puzzle-container{width:100%;margin:0 auto;max-width:470px}.security-portrait{width:80%;height:80%;left:-30%;opacity:.24;object-position:right top;mask-image:linear-gradient(90deg,#000 0,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0,transparent 100%)}.mesh-art{width:180%;right:-100%;opacity:.3}.eyebrow{font-size:17px;gap:9px;margin-bottom:13px}.eyebrow .icon{width:18px}.puzzle-title{font-size:clamp(32px,8vw,42px);line-height:1.15;letter-spacing:-.025em;max-width:420px}.puzzle-subtitle{font-size:17px;line-height:1.55;max-width:330px;margin-top:15px}.title-rule{margin:21px 0 29px;width:50px}.puzzle-board{border-radius:20px;padding:36px 18px 26px;background:linear-gradient(145deg,#441308bf,#140602e8 70%);backdrop-filter:blur(8px)}.slider-container{height:65px}.slider-handle{width:76px;height:76px}.slider-handle .icon{width:27px;height:32px}.slider-text{font-size:16px;letter-spacing:.075em;padding-left:63px;gap:10px}.slider-text .icon{width:21px}.puzzle-info{margin-top:32px}.verification-caption{font-size:11px;gap:9px;letter-spacing:.07em}.security-badge{margin-top:19px;font-size:11px;padding:9px 14px}.trust-row{gap:11px;margin-top:29px}.trust-row li{flex-direction:column;align-items:flex-start;gap:9px;font-size:11px;letter-spacing:.05em}.trust-row li+li{padding-left:12px}.trust-row .icon{width:25px;height:29px}.splash-subtitle{font-size:12px;letter-spacing:.16em}}
@media(max-width:360px){.site-header{padding-inline:12px}.header-section{font-size:12px}.brand{font-size:17px}.slider-text{font-size:14px;letter-spacing:.03em;gap:6px}.slider-handle{width:70px;height:70px}.slider-container{height:61px}.verification-caption{font-size:10px;letter-spacing:0}.trust-row{gap:8px}.trust-row li{font-size:10px}.security-layout{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}

@media(max-width:620px){.slider-text{padding-left:76px;padding-right:14px;gap:8px;font-size:14px;letter-spacing:.06em}.slider-text span{white-space:normal;text-align:center;max-width:140px;line-height:1.25}}
@media(max-width:360px){.slider-text{padding-left:67px;font-size:13px;letter-spacing:.03em;gap:6px}.slider-text span{max-width:120px}}
