@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
  --ink: #030806;
  --text: #eaf4ed;
  --muted: #81968a;
  --green: #75ec9b;
  --edge: rgba(144, 238, 176, .17);
  --mono: 'DM Mono', 'Consolas', 'Courier New', monospace;
  --sans: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { width: 100%; height: 100%; background: var(--ink); }
body { margin: 0; width: 100%; height: 100%; height: 100dvh; overflow: hidden; background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
#experience, #matrix, #world, #atmosphere, #scanlines, #vignette { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#experience { overflow: hidden; z-index: 0; background: radial-gradient(ellipse 62% 52% at 50% 55%, #0b1b14 0%, #040a08 67%, #010403 100%); }
#matrix { z-index: 1; opacity: .85; }
#atmosphere { z-index: 2; background: radial-gradient(ellipse 52% 75% at 50% 52%, rgba(3,9,7,.1) 0%, rgba(2,9,7,.18) 40%, rgba(1,5,4,.55) 85%), linear-gradient(90deg, rgba(1,5,3,.45), transparent 20%, transparent 80%, rgba(1,5,3,.45)); }
#world { z-index: 3; display: block; }
#scanlines { z-index: 4; opacity: .13; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.40) 3px 4px); mix-blend-mode: multiply; }
#vignette { z-index: 5; background: radial-gradient(ellipse 76% 67% at 50% 48%, transparent 31%, rgba(0,2,1,.30) 72%, rgba(0,1,1,.82) 100%), linear-gradient(180deg, rgba(0,3,2,.49) 0%, transparent 21%, transparent 72%, rgba(0,3,2,.65)); }
.topbar, .title-zone, .readout, .bottom-bar { z-index: 6; position: absolute; pointer-events: none; }
.topbar { top: 0; left: 0; right: 0; padding: 30px clamp(24px,4.3vw,78px); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 34px; height: 34px; border: 1px solid rgba(123,236,158,.46); display: grid; grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); justify-content: center; align-content: center; gap: 4px; transform: rotate(-10deg); box-shadow: 0 0 24px rgba(48,186,108,.12), inset 0 0 16px rgba(48,186,108,.06); }
.brand-mark span { display:block; border: 1px solid #82ffb0; opacity:.9; } .brand-mark span:nth-child(1),.brand-mark span:nth-child(4) { background:#82ffb0;box-shadow:0 0 8px #82ffb0; }
.brand-title { font-family:var(--mono); font-size:13px; font-weight:500; letter-spacing:.18em; white-space: nowrap; }
.brand-dot { color:var(--green); animation: blink 1.2s steps(2,end) infinite; }
.brand-subtitle { font-family:var(--mono); font-size:8px; letter-spacing:.175em; margin-top:7px; color:#789584; }
.top-right { display:flex;align-items:center; gap:11px; margin-top:11px; color:#93aaa0; font:10px var(--mono); letter-spacing:.13em; white-space:nowrap; }
.live-led { width:5px;height:5px;border-radius:50%;background:#a7ffb6;box-shadow:0 0 10px #79ff9c;animation: pulse 2.1s infinite; }
.top-divider {opacity:.3;margin-inline:7px;} #local-time {color:#d1e8da;letter-spacing:.05em;}
.title-zone { left:clamp(24px,4.3vw,78px); top:34%; transform:translateY(-40%); max-width:550px; }
.eyebrow { display:flex;align-items:center;gap:10px; font:9px var(--mono); color:#7bcb99; letter-spacing:.26em; margin-bottom:24px; white-space:nowrap; }
.hairline { display:block;width:23px;height:1px;background:#73d997;box-shadow:0 0 10px #73d997; }
h1 { margin:0; font-size:clamp(32px,3.85vw,69px); line-height:1.075; letter-spacing:-.05em; font-weight:600; color:#f5faf5; text-shadow:0 7px 35px rgba(0,0,0,.92); }
h1 em { font-style:normal; color:#a2d8b3; font-weight:400; }
.title-zone p { margin:18px 0 0; font:11px var(--mono); color:#7b9788;letter-spacing:.035em;line-height:1.7;text-shadow:0 2px 16px #000; }
.readout { right:clamp(24px,4.3vw,78px); top:50%; display:flex;flex-direction:column;gap:18px;transform:translateY(-20%);padding-left:18px;border-left:1px solid rgba(125,212,155,.23); }
.readout > div { display:flex;flex-direction:column;gap:7px;}
.readout-label { color:#5a7767;font:9px var(--mono);letter-spacing:.16em; }
.readout-value { font:10px var(--mono);letter-spacing:.045em;color:#b4d9c0;white-space:nowrap; }
.small-led { display:inline-block;background:#70ef9b;border-radius:50%;width:4px;height:4px;box-shadow:0 0 9px #70ef9b;margin-left:3px;vertical-align:middle; }
.bottom-bar { left:0;right:0;bottom:0; padding:23px clamp(24px,4.3vw,78px) 28px;display:flex;gap:24px;align-items:end;justify-content:space-between; }
.bottom-note { display:flex;align-items:center;gap:10px;color:#789283;font:9px var(--mono);letter-spacing:.17em;white-space:nowrap; }
.note-square {width:6px;height:6px;border:1px solid #76d294;transform:rotate(45deg);}
.note-sep { opacity:.45;padding:0 6px; }
.controls { pointer-events:auto;display:flex;align-items:center; gap:7px; padding:6px; background:rgba(6,16,13,.57); border:1px solid var(--edge); backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-radius:4px; box-shadow:0 4px 26px rgba(0,0,0,.16); }
.quality-picker { display:flex;align-items:center;gap:9px; padding:8px 11px 8px 13px; border-right:1px solid rgba(125,210,155,.15); }
.control-label {font:9px var(--mono);color:#6f927c;letter-spacing:.14em;}
.quality-picker select { background:transparent;color:#c8f6d5;border:0;font:10px var(--mono);letter-spacing:.06em;outline:none;cursor:pointer; } .quality-picker select option {background:#07120d;color:#d8fbe4;}
.control-button { display:flex;align-items:center;gap:8px;padding:8px 10px;background:transparent;color:#afd5bb; border:0;border-radius:2px;font:10px var(--mono);letter-spacing:.04em;transition:color .2s,background .2s; }
.control-button:hover { background:rgba(116,230,148,.12); color:#f4fff6; }
.control-button svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round; }
#loading {position:fixed;z-index:8;left:50%;top:50%;transform:translate(-50%, -50%); display:flex;align-items:center;gap:11px;padding:16px 19px; background:rgba(2,10,7,.80);border:1px solid rgba(110,225,143,.22);backdrop-filter:blur(10px);font:10px var(--mono);letter-spacing:.11em;color:#a0e3b5;white-space:nowrap;transition:opacity .8s,visibility .8s; }
#loading.hidden {opacity:0;visibility:hidden;}
.loading-mark {height:12px;width:12px;border:1px solid #82ffb1;border-top-color:transparent;border-radius:50%;animation:spin .7s linear infinite;}
#notification {position:fixed;bottom:100px;left:50%;z-index:9;transform:translateX(-50%);font:11px var(--mono); color:#d3f5dd; background:rgba(8,25,14,.86);padding:10px 16px;border:1px solid rgba(123,224,150,.22);opacity:0;pointer-events:none;transition:opacity .3s;text-align:center;max-width:90vw;}
#notification.visible {opacity:1;}
@keyframes blink {to{opacity:0}} @keyframes pulse{0%,100%{opacity:1;}50%{opacity:.28;}} @keyframes spin{to{transform:rotate(360deg)}}
@media (max-width: 1050px){.title-zone{top:29%;max-width:390px;}h1{font-size:clamp(33px,4vw,51px);}.readout{top:46%;}}
@media (max-width: 690px) {
 .topbar{padding:21px 22px;} .brand-mark{width:30px;height:30px;flex-shrink:0;} .brand-title{font-size:10px;letter-spacing:.16em;}.brand-subtitle{font-size:7px;letter-spacing:.10em;} .top-right{font-size:8px;gap:7px;margin-top:9px;}.top-right .top-divider,#local-time{display:none;}
 .title-zone{left:22px;top:24%;transform:translateY(-36%);max-width:calc(100% - 44px);} h1{font-size:clamp(30px,7vw,49px);letter-spacing:-.055em;} .eyebrow{font-size:8px;margin-bottom:16px;} .title-zone p{font-size:10px;margin-top:12px;}
 .readout{right:22px;top:57%;gap:13px;padding-left:11px;}.readout-label{font-size:7px;}.readout-value{font-size:8px;}
 .bottom-bar{padding:15px 18px 21px;flex-direction:column;align-items:stretch;gap:14px;} .bottom-note{font-size:8px;}.controls{justify-content:space-between;width:100%;gap:0}.quality-picker{padding:8px;gap:7px}.control-button{padding:8px;font-size:9px;gap:5px}.control-button svg{height:14px;width:14px;}
 #notification{bottom:118px;} 
}
@media (max-width:385px){.fullscreen-button span{display:none}.brand-subtitle{display:none}.top-right{font-size:7px}.title-zone p{font-size:9px}.readout{top:55%;}}
@media (prefers-reduced-motion:reduce){.brand-dot,.live-led{animation:none;}}
