:root {
  color-scheme: dark;
  --background: #020817;
  --surface: #071934;
  --surface-2: #0a2144;
  --border: rgba(150, 186, 235, .19);
  --text: #f6f8ff;
  --muted: #9eb1d2;
  --accent: #8ebcff;
  --green: #79e0ae;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--background); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(25, 73, 135, .35), transparent 40rem),
    linear-gradient(155deg, #020817, #03122a 65%, #020817);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: #b9d5ff; }
.virelia-home {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 18px;
  width: 54px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(4, 16, 38, .82);
  backdrop-filter: blur(14px);
}
.virelia-home img { width: auto; height: 50px; object-fit: contain; }
.shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 38px; }
.header { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.header h1 { margin: 7px 0 8px; font-size: clamp(2.35rem, 7vw, 4.7rem); letter-spacing: -.055em; line-height: .98; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; font-size: .75rem; letter-spacing: .13em; font-weight: 800; }
.subtitle { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.language-switcher { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: rgba(7, 25, 52, .86); }
.language-switcher a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.language-switcher a.active { background: #dce9ff; color: #06152e; }
.notice { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; padding: 13px 16px; border: 1px solid rgba(255, 211, 120, .3); border-radius: 14px; color: #ffe5aa; background: rgba(90, 61, 7, .22); }
.lead-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: clamp(24px, 5vw, 44px); border: 1px solid var(--border); border-radius: 26px; background: linear-gradient(135deg, rgba(10, 37, 78, .95), rgba(4, 19, 44, .95)); box-shadow: 0 28px 80px rgba(0, 0, 0, .26); }
.lead-card h2 { margin: 8px 0 10px; font-size: clamp(1.7rem, 5vw, 3rem); letter-spacing: -.035em; }
.lead-card p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0; max-width: 650px; }
.lead-links { display: grid; gap: 10px; align-content: center; min-width: 220px; }
.lead-links a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 13px; text-decoration: none; background: rgba(2, 11, 27, .38); }
.news-section { margin-top: 22px; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--border); border-radius: 24px; background: rgba(5, 22, 48, .76); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 6px 0 0; font-size: 1.75rem; }
.status { color: var(--green); font-size: .86rem; }
.article-grid { display: grid; gap: 14px; }
.article { padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(11, 38, 78, .8), rgba(4, 18, 39, .8)); }
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .78rem; }
.article-tag { color: #cae0ff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 8px; }
.article h3 { margin: 12px 0 7px; font-size: 1.35rem; }
.article p { margin: 0; color: var(--muted); line-height: 1.65; }
.empty { color: var(--muted); padding: 26px 5px; text-align: center; }
footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; line-height: 1.6; }
.language-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(1, 7, 19, .93); backdrop-filter: blur(18px); }
.language-gate[hidden] { display: none; }
.language-dialog { width: min(520px, 100%); padding: 32px; border: 1px solid var(--border); border-radius: 26px; text-align: center; background: #071936; box-shadow: 0 30px 100px #000; }
.language-dialog h1 { margin: 8px 0 10px; }
.language-dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.language-crest { height: 90px; width: auto; }
.language-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.language-options button { min-height: 76px; color: var(--text); border: 1px solid var(--border); border-radius: 15px; background: #0a2349; cursor: pointer; }
.language-options strong, .language-options span { display: block; }
.language-options strong { font-size: 1.1rem; }
.language-options span { margin-top: 4px; color: var(--muted); }
html.language-pending #page-content { visibility: hidden; }
@media (max-width: 760px) {
  .virelia-home { position: absolute; top: 12px; left: 12px; width: 46px; height: 52px; border-radius: 13px; }
  .virelia-home img { height: 42px; }
  .shell { width: min(100% - 24px, 1040px); padding-top: 82px; }
  .header { display: block; }
  .language-switcher { width: max-content; margin-top: 18px; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-links { min-width: 0; }
  .section-heading { align-items: flex-start; }
}
@media (max-width: 460px) {
  .language-options { grid-template-columns: 1fr; }
  .language-options button { min-height: 58px; }
  .notice { align-items: flex-start; flex-direction: column; }
}
