:root {
    --bg-dark: #090a0f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.11);
    --accent: #0a84ff;
    --accent-glow: rgba(10, 132, 255, 0.35);
    --text-main: #f5f5f7;
    --text-muted: #9496a1;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background: radial-gradient(circle at top, #181b28 0%, var(--bg-dark) 100%); color: var(--text-main); min-height: 100vh; line-height: 1.65; }
header { display: flex; justify-content: space-between; align-items: center; padding: 18px 5%; border-bottom: 1px solid var(--card-border); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 100; background: rgba(9, 10, 15, 0.85); flex-wrap: wrap; gap: 12px; }
.logo { font-size: 1.35rem; font-weight: 800; color: #fff; text-decoration: none; }
.logo span { color: var(--accent); }
nav a { color: var(--text-muted); text-decoration: none; margin-left: 18px; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 30px 20px; }
.hero-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 28px; padding: 45px 25px; text-align: center; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.badge { display: inline-block; background: rgba(10, 132, 255, 0.16); color: #52a8ff; padding: 6px 16px; border-radius: 99px; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.main-time { font-size: clamp(3.2rem, 10vw, 7rem); font-weight: 800; letter-spacing: -2px; font-variant-numeric: tabular-nums; line-height: 1.05; margin: 12px 0; background: linear-gradient(180deg, #fff 0%, #aeb0b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-date { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 24px; }
.btn-group { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn { background: rgba(255,255,255,0.08); border: 1px solid var(--card-border); color: var(--text-main); padding: 10px 18px; border-radius: 12px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: all 0.2s; }
.btn:hover, .btn.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px var(--accent-glow); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-top: 30px; }
.card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 24px; border-radius: 20px; }
.city-time { font-size: 2rem; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ad-container { width: 100%; max-width: 970px; min-height: 95px; margin: 35px auto; padding: 15px; background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.12); border-radius: 14px; text-align: center; color: var(--text-muted); font-size: 0.8rem; display: block; }
.seo-article { margin-top: 40px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px; padding: 38px; }
.seo-article h1, .seo-article h2 { color: #fff; margin: 20px 0 12px; }
.seo-article h3 { color: #52a8ff; margin: 22px 0 8px; }
.seo-article p, .seo-article li { color: #c2c4cf; margin-bottom: 14px; }
.seo-article ul { padding-left: 22px; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--card-border); text-align: left; }
th { color: #52a8ff; background: rgba(255,255,255,0.04); }
.time-slider { width: 100%; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #1e293b, #0a84ff, #1e293b); outline: none; -webkit-appearance: none; margin: 22px 0; cursor: pointer; }
.time-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #0a84ff; cursor: grab; }
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 0.75rem; font-weight: 600; margin-top: 6px; }
.status-work { background: rgba(48, 209, 88, 0.2); color: #30d158; }
.status-evening { background: rgba(255, 159, 10, 0.2); color: #ff9f0a; }
.status-sleep { background: rgba(255, 69, 58, 0.2); color: #ff453a; }
.mascot-box { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, rgba(10,132,255,0.14), rgba(94,92,230,0.14)); border: 1px solid rgba(10, 132, 255, 0.35); border-radius: 22px; padding: 24px; margin-top: 32px; flex-wrap: wrap; }
.mascot-svg { width: 82px; height: 82px; flex-shrink: 0; cursor: pointer; transition: transform 0.25s; }
.mascot-svg:hover { transform: scale(1.08) rotate(-6deg); }
footer { margin-top: 60px; text-align: center; padding: 35px 20px; border-top: 1px solid var(--card-border); color: var(--text-muted); font-size: 0.88rem; }
footer a { color: var(--text-muted); margin: 0 10px; text-decoration: none; }
footer a:hover { color: #fff; }
