:root {
  color-scheme: dark;
  --bg: #060812;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.11);
  --text: #f4f7fb;
  --muted: #aab4c4;
  --line: rgba(255,255,255,.14);
  --accent: #8ddcff;
  --accent-2: #dca6ff;
  --danger: #ff8a8a;
  --ok: #9dffce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v2-body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(141,220,255,.20), transparent 32rem),
    radial-gradient(circle at 75% 15%, rgba(220,166,255,.18), transparent 30rem),
    linear-gradient(135deg, rgba(6,8,18,.94), rgba(9,14,30,.96)),
    url('/assets/img/optimized/sakura-bg.webp') center/cover fixed;
}

.v2-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.v2-nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); background: rgba(6,8,18,.72); }
.v2-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.v2-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.v2-brand-dot { width: 12px; height: 12px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 24px rgba(141,220,255,.7); }
.v2-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.v2-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.v2-links a:hover { color: var(--text); }

.v2-hero { padding: 88px 0 56px; }
.v2-kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.v2-hero h1 { max-width: 920px; font-size: clamp(2.6rem, 8vw, 6.8rem); line-height: .92; letter-spacing: -.08em; margin: 18px 0; }
.v2-lead { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.65; }
.v2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v2-button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; color: var(--text); text-decoration: none; background: var(--panel); font-weight: 800; }
.v2-button.primary { background: linear-gradient(135deg, rgba(141,220,255,.25), rgba(220,166,255,.24)); border-color: rgba(255,255,255,.24); }
.v2-button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.36); }

.v2-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.v2-card { grid-column: span 4; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,.045)); padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.20); }
.v2-card.big { grid-column: span 8; }
.v2-card.full { grid-column: 1 / -1; }
.v2-card h2, .v2-card h3 { margin: 0 0 10px; letter-spacing: -.04em; }
.v2-card p { color: var(--muted); line-height: 1.65; }
.v2-card a { color: var(--accent); font-weight: 800; text-decoration: none; }
.v2-section { padding: 34px 0; }
.v2-section-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.v2-section-title h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.06em; }
.v2-badge-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.v2-badge-list li, .v2-tag { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); background: rgba(255,255,255,.045); font-size: .86rem; font-weight: 700; }
.v2-meta { color: var(--muted); font-size: .92rem; }
.v2-footer { padding: 48px 0 64px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; }

.v2-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 18px; }
.v2-table th, .v2-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); }
.v2-table th { color: var(--text); background: rgba(255,255,255,.06); }
.v2-status { min-height: 24px; color: var(--muted); }
.v2-status.error { color: var(--danger); }
.v2-status.ok { color: var(--ok); }
.v2-form { display: grid; gap: 12px; }
.v2-input, .v2-select { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(0,0,0,.22); color: var(--text); }
.v2-form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

@media (max-width: 900px) {
  .v2-card, .v2-card.big { grid-column: 1 / -1; }
  .v2-nav-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .v2-links { justify-content: flex-start; }
  .v2-form-row { grid-template-columns: 1fr; }
}
