/* GeminiReset — single shared stylesheet (v2 light theme, mobile-first)
   Light page + white cards + soft borders + blue accent.
   Countdown stays on a dark contrast panel (light page / dark clock). */
:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #fafbf9;
  --border: #e4e7e3;
  --ink: #1f2933;
  --text: #2a3540;
  --muted: #6d766f;
  --accent: #2f6fed;
  --accent-ink: #2458c8;
  --accent-soft: #edf2fe;
  --warn-ink: #a06a15;
  --warn-soft: #fcf3df;
  --panel: #171f2e;
  --panel-2: #131a26;
  --panel-border: #2b3852;
  --panel-ink: #eef2f8;
  --panel-muted: #98a4b8;
  --panel-accent: #8ab4f8;
  --shadow-soft: 0 2px 6px rgba(31, 41, 55, .05);
  --radius: 13px;
  --maxw: 980px;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Header / logo */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.logo {
  font-weight: 800; font-size: 1.25rem; letter-spacing: .2px;
  color: var(--ink); text-decoration: none; margin: 0;
}
.logo .logo-mark { color: var(--accent-ink); }
nav.main-nav { display: flex; gap: 14px; flex-wrap: wrap; }
nav.main-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: 4px 2px; border-radius: 6px; }
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a[aria-current="page"] { color: var(--accent-ink); font-weight: 600; }

/* Hero + countdown */
.hero { padding: 44px 0 22px; text-align: center; }
.hero h1 { font-size: 2rem; margin: 0 0 10px; line-height: 1.25; color: var(--ink); }
.hero p.lede { color: var(--muted); max-width: 660px; margin: 0 auto 22px; }

.countdown-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px 16px 22px;
  max-width: 640px; margin: 0 auto;
  color: var(--panel-ink);
  box-shadow: 0 10px 28px rgba(23, 31, 46, .16);
}
.countdown-label { color: var(--panel-muted); font-size: .9rem; margin-bottom: 8px; }
.countdown-digits { font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; color: #ffffff; }
.countdown-digits .unit { font-size: 1rem; font-weight: 500; color: var(--panel-muted); margin-left: 4px; }
.countdown-meta { color: var(--panel-muted); font-size: .85rem; margin-top: 10px; }
.countdown-card a { color: var(--panel-accent); }

.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.status-pill.warn { background: var(--warn-soft); color: var(--warn-ink); border: 1px solid rgba(160, 106, 21, .25); }
.countdown-card .status-pill.warn { background: rgba(240, 180, 60, .12); color: #f2c14e; border-color: rgba(242, 193, 78, .3); }

/* Sections */
section { padding: 28px 0; }
h2 { font-size: 1.35rem; margin: 0 0 14px; color: var(--ink); }
h3 { font-size: 1.08rem; margin: 20px 0 8px; color: var(--ink); }
p { margin: 0 0 12px; }
a { color: var(--accent-ink); }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); font-size: .9rem; }

/* Cards & tables */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin: 14px 0;
  box-shadow: var(--shadow-soft);
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: .92rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: none; }
thead th:first-child { border-top-left-radius: 12px; }
thead th:last-child { border-top-right-radius: 12px; }
tbody tr:last-child td:first-child { border-bottom-left-radius: 12px; }
tbody tr:last-child td:last-child { border-bottom-right-radius: 12px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--border); margin-left: 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
}
.timeline li:last-child { border-left-color: transparent; }
.timeline .tl-date { font-weight: 700; font-size: .95rem; color: var(--ink); }
.timeline .tl-src { color: var(--muted); font-size: .85rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 1rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Forms / timer */
.timer-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.timer-form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
input[type="datetime-local"] {
  background: var(--surface); border: 1px solid var(--border); color: var(--ink);
  border-radius: 8px; padding: 9px 10px; font-size: 1rem; min-width: 240px;
  box-shadow: var(--shadow-soft);
}
button.btn {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 10px 18px; font-size: .95rem; font-weight: 600; cursor: pointer;
}
button.btn:hover { background: var(--accent-ink); }
button.btn.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
button.btn.secondary:hover { background: var(--surface-2); }
.timer-note { font-size: .85rem; color: var(--panel-muted); margin-top: 10px; }

/* Ad placeholder (v1: pure placeholder only, no ad code) */
.ad-slot {
  border: 1px dashed var(--border); border-radius: var(--radius);
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .8rem; margin: 20px 0; background: var(--surface);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 30px; padding: 22px 0 30px; color: var(--muted); font-size: .85rem; }
.site-footer .legal { margin-top: 8px; }
.site-footer nav { margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Mobile */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.55rem; }
  .countdown-digits { font-size: 1.9rem; }
  .header-row { justify-content: center; }
  nav.main-nav { justify-content: center; }
}
