@font-face { font-family:'Outfit'; src:url('../assets/fonts/Outfit.woff2') format('woff2'); font-weight:100 900; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../assets/fonts/Vazirmatn.woff2') format('woff2'); font-weight:100 900; font-display:swap; }
:root { --bg:#05070d; --accent:#adc8ff; --accent2:#d9efff; --text:#eef4ff; --muted:#8b97ad; --font:'Outfit','Vazirmatn',sans-serif; --glow:rgba(128,160,255,.25); }
body[data-season="spring"] { --accent:#a9d9bd; --accent2:#f3b1a4; --glow:rgba(129,209,173,.28); }
body[data-season="summer"] { --accent:#76d8ea; --accent2:#ffd07c; --glow:rgba(71,196,223,.28); }
body[data-season="autumn"] { --accent:#ffbd7f; --accent2:#ef8a6d; --glow:rgba(239,138,109,.28); }
body[data-season="winter"] { --accent:#adc8ff; --accent2:#d9efff; --glow:rgba(128,160,255,.28); }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; background:#04060b; color:var(--text); font-family:var(--font); }
body { min-height:100vh; display:grid; place-items:center; overflow:hidden; background:radial-gradient(ellipse 70% 55% at 50% 20%, var(--glow), transparent 65%), radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.05), transparent 60%), #04060b; }
body[lang="fa"], body[lang="ar"] { font-family:'Vazirmatn',sans-serif; }
.watch-scene { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; padding:26px; gap:24px; position:relative; }
.watch-glow { position:fixed; width:440px; height:440px; border-radius:50%; background:var(--glow); filter:blur(90px); opacity:.7; z-index:-1; }
.watch-band { position:fixed; width:130px; height:50vh; background:linear-gradient(90deg,#0a0e16,#1a2230 45%,#080c13); z-index:1; left:50%; transform:translateX(-50%); box-shadow:0 0 40px rgba(0,0,0,.6); }
.watch-band.top { top:-10vh; border-radius:0 0 28px 28px; }
.watch-band.bottom { bottom:-10vh; border-radius:28px 28px 0 0; }
.watch { position:relative; width:min(390px,88vw); aspect-ratio:1; z-index:2; filter:drop-shadow(0 40px 70px rgba(0,0,0,.7)); }
.watch-bezel { width:100%; height:100%; border-radius:50%; padding:13px; background:linear-gradient(145deg,#4a5263,#10141d 38%,#252d3c 66%,#05070a); box-shadow:inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 7px #0a0d13, 0 24px 60px rgba(0,0,0,.7); }
.watch-screen { position:relative; width:100%; height:100%; border-radius:50%; overflow:hidden; background:radial-gradient(circle at 50% 32%, rgba(255,255,255,.07), transparent 48%), #060910; box-shadow:inset 0 0 40px rgba(0,0,0,.85), inset 0 0 0 2px rgba(255,255,255,.08); padding:9% 10%; display:flex; flex-direction:column; }
.watch-screen::before { content:""; position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 210deg, rgba(255,255,255,.08), transparent 22%, transparent 72%, rgba(255,255,255,.05)); pointer-events:none; }
.watch-topline { display:flex; justify-content:space-between; align-items:center; z-index:2; }
.watch-brand { display:flex; align-items:center; gap:3px; }
.watch-brand img { width:13px; height:13px; object-fit:contain; }
.watch-brand b { display:block; font-size:9px; letter-spacing:.16em; font-weight:700; }
.watch-brand em { display:block; font-style:normal; font-size:5px; letter-spacing:.26em; color:var(--accent); margin-top:2px; }
.watch-battery { display:flex; align-items:center; gap:3px; font-size:7px; color:var(--muted); }
.watch-battery i { width:14px; height:7px; border:1px solid var(--muted); border-radius:2px; display:inline-block; position:relative; }
.watch-battery i::before { content:""; position:absolute; inset:1px; width:9px; background:var(--accent); border-radius:1px; }
.watch-date { text-align:center; font-size:8px; letter-spacing:.16em; color:var(--muted); margin-top:1%; z-index:2; }
.watch-face { position:relative; flex:1; display:grid; place-items:center; margin-top:-2%; }
#watchAnalog { width:100%; height:100%; overflow:visible; }
.dial-face { fill:rgba(7,11,18,.55); stroke:rgba(255,255,255,.06); }
.dial-ring { fill:none; stroke:rgba(255,255,255,.12); }
.dial-ring.inner { stroke:rgba(255,255,255,.05); }
.tick { stroke:rgba(255,255,255,.3); stroke-width:1.2; }
.tick.major { stroke:var(--accent); stroke-width:2; }
.hand { stroke:var(--text); stroke-linecap:round; }
.hand.hour { stroke-width:5; }
.hand.minute { stroke-width:3.3; }
.hand-second { stroke:var(--accent2); stroke-width:1.2; }
.center-cap { fill:var(--accent2); }
.clock-number { fill:rgba(255,255,255,.55); font-family:var(--font); font-size:9px; text-anchor:middle; dominant-baseline:middle; }
.clock-number.major { fill:var(--text); font-size:10px; }
.clock-brand-text { fill:var(--accent); font-size:4.6px; letter-spacing:.18em; text-anchor:middle; }
.watch-digital { position:absolute; display:none; font-size:12px; font-weight:400; letter-spacing:.08em; font-variant-numeric:tabular-nums; bottom:22%; opacity:.68; color:var(--muted); }
.watch.digital-only .watch-digital { display:block; }
.watch.digital-only #watchAnalog { opacity:.08; }
.watch.digital-only .watch-digital { font-size:48px; font-weight:300; bottom:50%; transform:translateY(50%); opacity:1; color:var(--text); letter-spacing:-.04em; }
.watch.digital-only .watch-next { opacity:.75; }
.watch-next { z-index:2; text-align:center; margin-top:-1%; }
.watch-next span { display:block; font-size:6px; letter-spacing:.2em; color:var(--accent); margin-bottom:2px; }
.watch-next b { display:block; font-size:10px; font-weight:500; max-width:190px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:0 auto; }
.watch-next em { display:block; font-style:normal; color:var(--muted); font-size:7px; margin-top:2px; }
.watch-weather { position:absolute; right:12%; bottom:25%; text-align:right; z-index:2; display:none; }
.watch-weather span { font-size:15px; font-weight:300; }
.watch-weather em { display:block; font-style:normal; font-size:6px; color:var(--muted); }
.watch-crown { position:absolute; right:-9px; top:42%; width:15px; height:46px; border:0; border-radius:4px; background:linear-gradient(90deg,#2a3342,#8491a8 45%,#111720); box-shadow:0 0 0 1px rgba(255,255,255,.1); cursor:pointer; }
.watch-crown::after { content:""; position:absolute; inset:4px 3px; border-radius:2px; background:repeating-linear-gradient(180deg,transparent 0 3px,rgba(0,0,0,.25) 3px 4px); }
.watch-hint { color:#566176; font-size:10px; letter-spacing:.04em; text-align:center; z-index:3; }
.watch-hint a { color:var(--accent); text-decoration:none; }
@media (max-height:600px) { .watch { width:min(280px,70vw); } .watch-hint { display:none; } }

/* Light watch face */
body[data-mode="light"] { background:radial-gradient(ellipse 70% 55% at 50% 20%, var(--glow), transparent 65%), radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.8), transparent 60%), #f4f0e7; color:#182130; --text:#182130; --muted:#687386; }
body[data-mode="light"] .watch-band { background:linear-gradient(90deg,#b9b0a0,#e8e1d4 45%,#a99f8e); box-shadow:0 0 40px rgba(72,67,54,.12); }
body[data-mode="light"] .watch-bezel { background:linear-gradient(145deg,#e9e3d7,#b8ae9e 38%,#f5efe4 66%,#958b7b); box-shadow:inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 0 7px #d8d0c2, 0 24px 60px rgba(72,67,54,.22); }
body[data-mode="light"] .watch-screen { background:radial-gradient(circle at 50% 32%, rgba(255,255,255,.9), transparent 55%), #fbf8f1; box-shadow:inset 0 0 40px rgba(72,67,54,.12), inset 0 0 0 2px rgba(255,255,255,.7); }
body[data-mode="light"] .watch-screen::before { background:conic-gradient(from 210deg, rgba(255,255,255,.8), transparent 22%, transparent 72%, rgba(255,255,255,.6)); }
body[data-mode="light"] .dial-face { fill:rgba(255,255,255,.65); stroke:rgba(24,33,48,.12); }
body[data-mode="light"] .dial-ring { stroke:rgba(24,33,48,.18); }
body[data-mode="light"] .tick { stroke:rgba(24,33,48,.35); }
body[data-mode="light"] .tick.major { stroke:var(--accent); }
body[data-mode="light"] .hand { stroke:#222c3c; }
body[data-mode="light"] .hand-second { stroke:var(--accent2); }
body[data-mode="light"] .clock-number { fill:rgba(24,33,48,.58); }
body[data-mode="light"] .clock-number.major { fill:#182130; }
body[data-mode="light"] .clock-brand-text { fill:var(--accent); }
body[data-mode="light"] .watch-crown { background:linear-gradient(90deg,#b8ae9e,#efe8db 45%,#9e9484); }
body[data-mode="light"] .watch-hint { color:#8c928c; }
body[data-mode="light"] .watch-hint a { color:var(--accent); }
body[data-mode="light"] .watch-weather em, body[data-mode="light"] .watch-next em { color:var(--muted); }
