/* ============================================
   LMSVanilla — Premium Dark Theme
   ============================================ */

:root {
  --bg: #0F1115;
  --bg-secondary: #181C24;
  --card: #20242D;
  --accent: #FF8C1A;
  --accent-bright: #FFA94D;
  --accent-gold: #FFD54A;
  --text: #FFFFFF;
  --text-muted: #9AA3B5;
  --border: rgba(255, 255, 255, 0.07);
  --glass: rgba(28, 32, 42, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: "Poppins", system-ui, sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 680px);
}

/* ---------- Atmosphere ---------- */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(255, 140, 26, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 30%, rgba(255, 213, 74, 0.05), transparent 50%),
    radial-gradient(ellipse 45% 40% at 0% 80%, rgba(255, 140, 26, 0.04), transparent 50%),
    linear-gradient(180deg, #0F1115 0%, #12151c 50%, #0F1115 100%);
}

/* ---------- Brand logo ---------- */

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 140, 26, 0.3);
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  box-shadow:
    0 0 0 1px rgba(255, 213, 74, 0.2),
    0 14px 40px rgba(255, 140, 26, 0.45),
    0 0 60px rgba(255, 140, 26, 0.2);
  animation: float-logo 5s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.5rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.22s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #FF9A2E 0%, var(--accent) 45%, var(--accent-gold) 100%);
  color: #0c0e12;
  box-shadow: 0 4px 24px rgba(255, 140, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 140, 26, 0.5), 0 8px 28px rgba(255, 140, 26, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 213, 74, 0.35);
  transform: translateY(-2px);
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: clamp(6.5rem, 16vh, 9rem) 1.5rem 3rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(900px, 120vw);
  height: min(700px, 90vw);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 140, 26, 0.42) 0%, rgba(255, 213, 74, 0.12) 32%, transparent 68%);
  filter: blur(4px);
  animation: pulse-glow 7s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 140, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 26, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 140, 26, 0.07) 40%, rgba(15, 17, 21, 0.95) 100%);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: hero-in 0.85s var(--ease) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: none;
}

.hero-title {
  font-size: clamp(2.85rem, 9vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.85rem;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

.hero-ip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  background: rgba(18, 21, 28, 0.8);
  border: 1px solid rgba(255, 140, 26, 0.28);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 1.15rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(255, 140, 26, 0.12);
}

.hero-ip code {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.01em;
}

.hero-ip .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Sections ---------- */

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 460px;
  margin-inline: auto;
}

/* ---------- Status ---------- */

.status-panel {
  padding: 2rem 2.25rem;
  display: grid;
  gap: 1.65rem;
  background:
    linear-gradient(145deg, rgba(255, 140, 26, 0.06), transparent 40%),
    var(--glass);
}

.status-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 0 4px rgba(160, 168, 184, 0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.status-dot.online {
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2), 0 0 14px rgba(52, 211, 153, 0.55);
  animation: blink 2s ease-in-out infinite;
}

.status-dot.offline {
  background: #f87171;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric {
  background: rgba(15, 17, 21, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.25rem;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
}

.status-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.7;
}

/* ---------- About ---------- */

.about-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 540px;
  margin-inline: auto;
}

/* ---------- Season ---------- */

.season-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 2.75rem;
  background:
    linear-gradient(125deg, rgba(255, 140, 26, 0.12), transparent 45%),
    var(--glass);
  overflow: hidden;
  position: relative;
}

.season-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.15), transparent 65%);
  pointer-events: none;
}

.season-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.season-content .section-label,
.season-content .section-title {
  text-align: left;
}

.season-content .section-title {
  margin-bottom: 0.85rem;
}

.season-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.season-text strong {
  color: var(--accent-gold);
  font-weight: 600;
}

.season-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.season-date {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: rgba(15, 17, 21, 0.55);
  border: 1px solid rgba(255, 140, 26, 0.3);
  box-shadow: 0 0 40px rgba(255, 140, 26, 0.12);
}

.season-month {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.season-day {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.2rem 0;
}

.season-year {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .season-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.75rem;
  }

  .season-content {
    text-align: center;
  }

  .season-content .section-label,
  .season-content .section-title {
    text-align: center;
  }

  .season-text {
    margin-inline: auto;
  }

  .season-actions {
    justify-content: center;
  }

  .season-date {
    margin-inline: auto;
  }
}

/* ---------- Feature cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  padding: 1.7rem 1.45rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 140, 26, 0.35);
  background: rgba(36, 40, 52, 0.75);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 140, 26, 0.1);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 140, 26, 0.2), rgba(255, 213, 74, 0.08));
  color: var(--accent-bright);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 140, 26, 0.15);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Specs ---------- */

.specs-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.6rem 2rem;
  max-width: 780px;
  margin-inline: auto;
  background:
    linear-gradient(135deg, rgba(255, 140, 26, 0.08), transparent 45%),
    var(--glass);
}

.spec-item {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1.4rem;
}

.spec-value {
  display: block;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255, 140, 26, 0.35), transparent);
  flex-shrink: 0;
}

/* ---------- Rules ---------- */

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}

.rule-card {
  padding: 1.45rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 213, 74, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.rule-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.rule-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.rule-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: rgba(255, 140, 26, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-weight: 560;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 1.25rem;
}

.faq-answer strong {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  margin-top: 1rem;
  background: var(--bg-secondary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-ip {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.65;
  margin-top: 0.5rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.8rem 1.55rem;
  background: var(--card);
  border: 1px solid rgba(255, 140, 26, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 140, 26, 0.18);
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-grid .reveal:nth-child(1) { transition-delay: 0.04s; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.24s; }

.rules-grid .reveal:nth-child(1) { transition-delay: 0.04s; }
.rules-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.rules-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.rules-grid .reveal:nth-child(4) { transition-delay: 0.16s; }
.rules-grid .reveal:nth-child(5) { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 17, 21, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
  }

  .hero {
    padding: 6.5rem 1.25rem 4.5rem;
  }

  .hero-ip {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    padding: 1rem;
    gap: 0.85rem;
  }

  .hero-ip .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .section { padding: 4rem 0; }

  .status-metrics { grid-template-columns: 1fr; }
  .status-panel { padding: 1.5rem; }

  .specs-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .spec-divider {
    width: 64px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 1.75rem, var(--max)); }
  .card-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
