:root {
  --bg-0: #0b0f16;
  --bg-1: #101827;
  --bg-2: #151f33;
  --ink-0: #e9f0ff;
  --ink-1: #b6c0d9;
  --ink-2: #7f8aa3;
  --gold: #d8b56a;
  --teal: #2fd2c9;
  --purple: #7c5cff;
  --hot: #ff6a8b;
  --shadow: 0 16px 50px rgba(2, 6, 23, 0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --stroke: 1px solid rgba(124, 92, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(47, 210, 201, 0.15), transparent 60%),
    radial-gradient(900px 500px at 90% -20%, rgba(124, 92, 255, 0.2), transparent 60%),
    radial-gradient(600px 400px at 50% 0%, rgba(216, 181, 106, 0.15), transparent 65%),
    var(--bg-0);
  color: var(--ink-0);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.95);
  border: 1px solid rgba(47, 210, 201, 0.5);
  color: var(--ink-0);
  z-index: 50;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid rgba(47, 210, 201, 0.9);
  outline-offset: 3px;
}

.button:focus-visible,
.menu-toggle:focus-visible,
.chat-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: rgba(216, 181, 106, 0.9);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 22, 0.65);
  border-bottom: 1px solid rgba(124, 92, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(130deg, rgba(47, 210, 201, 0.9), rgba(124, 92, 255, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0b0f16;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-1);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink-0);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(216, 181, 106, 0.9), rgba(47, 210, 201, 0.8));
  color: #0b0f16;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(47, 210, 201, 0.2);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: var(--ink-0);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  color: var(--ink-1);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.9), rgba(47, 210, 201, 0.8));
  color: #0b0f16;
  box-shadow: 0 18px 40px rgba(124, 92, 255, 0.3);
}

.button.ghost {
  border-color: rgba(216, 181, 106, 0.5);
  color: var(--ink-0);
  background: rgba(11, 15, 22, 0.4);
}

.button.whatsapp {
  background: #ffffff;
  border-color: #ffffff;
  color: #101010;
  font-weight: 700;
}

.button.whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-panel {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.2), rgba(47, 210, 201, 0.12));
  border: var(--stroke);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -40% 30% auto -30%;
  height: 220px;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.5), transparent 65%);
  opacity: 0.7;
}

.panel-list {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.panel-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.panel-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(47, 210, 201, 0.2);
  border: 1px solid rgba(47, 210, 201, 0.6);
  font-weight: 600;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section p.lead {
  color: var(--ink-1);
  max-width: 680px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 210, 201, 0.5);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--ink-1);
  font-size: 0.95rem;
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.metric {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(12, 19, 32, 0.6);
  border: 1px solid rgba(124, 92, 255, 0.25);
}

.metric strong {
  display: block;
  font-size: 1.4rem;
}

.metric span {
  color: var(--ink-2);
  font-size: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  list-style: none;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(47, 210, 201, 0.3);
  background: rgba(16, 24, 39, 0.7);
}

.glow-panel {
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.25), rgba(216, 181, 106, 0.2));
  border: 1px solid rgba(216, 181, 106, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.glow-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 260px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 65%);
  pointer-events: none;
}

.glow-panel > * {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-portfolio {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(124, 92, 255, 0.28);
  background: rgba(12, 19, 32, 0.78);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.38);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 11px 12px 12px;
  font-size: 0.86rem;
  color: var(--ink-1);
  border-top: 1px solid rgba(124, 92, 255, 0.2);
}

.shot {
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(47, 210, 201, 0.3), rgba(124, 92, 255, 0.4));
  border: 1px solid rgba(124, 92, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(216, 181, 106, 0.5);
}

.contact-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink-0);
  font-size: 0.95rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  border-top: 1px solid rgba(124, 92, 255, 0.2);
  padding: 30px 0 40px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 210, 201, 0.4);
  background: rgba(12, 19, 32, 0.8);
  font-size: 0.8rem;
  color: var(--ink-1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.social-links .chip {
  text-decoration: none;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  background: rgba(11, 15, 22, 0.6);
  border-radius: 12px;
  color: var(--ink-1);
}

.chat-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(47, 210, 201, 0.9));
  color: #0b0f16;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.4);
  cursor: pointer;
  z-index: 30;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: min(340px, 85vw);
  background: rgba(10, 14, 24, 0.95);
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.chat-panel h4 {
  margin-bottom: 10px;
}

.chat-panel p {
  color: var(--ink-1);
  font-size: 0.9rem;
}

.chat-panel .chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 181, 106, 0.2);
  border: 1px solid rgba(216, 181, 106, 0.4);
  color: var(--gold);
  font-size: 0.78rem;
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--ink-1);
  max-width: 760px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--ink-1);
}

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(124, 92, 255, 0.2);
}

.table th {
  text-align: left;
  color: var(--ink-0);
}

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 210, 201, 0.35);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(47, 210, 201, 0.3);
  background: rgba(12, 19, 32, 0.6);
}

.news-grid {
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  gap: 8px;
}

.news-item span {
  color: var(--ink-2);
  font-size: 0.85rem;
}

/* MakerWorld Spotlight (Featured page) */
#pulse-root-mw {
  --pulse-ink: var(--ink-0);
  --pulse-soft: var(--ink-1);
  --pulse-accent: var(--teal);
  --pulse-accent-2: var(--gold);
  border-radius: 18px;
  padding: clamp(16px, 3.6vw, 30px);
  background: radial-gradient(900px 520px at 10% -10%, rgba(47, 210, 201, 0.18), transparent 60%),
    radial-gradient(900px 520px at 90% -20%, rgba(124, 92, 255, 0.26), transparent 60%),
    radial-gradient(700px 440px at 50% 0%, rgba(216, 181, 106, 0.16), transparent 65%),
    rgba(11, 15, 22, 0.65);
  border: 1px solid rgba(124, 92, 255, 0.28);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  color: var(--pulse-ink);
}

#pulse-root-mw::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 255, 0.10) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
}

#pulse-root-mw .pulse-shell {
  position: relative;
  z-index: 1;
}

#pulse-root-mw .pulse-header {
  margin-bottom: 18px;
}

#pulse-root-mw .pulse-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}

#pulse-root-mw #mw-week-title {
  margin: 10px 0 6px;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.15;
}

#pulse-root-mw .pulse-hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--pulse-soft);
}

#pulse-root-mw .pulse-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--pulse-soft);
  align-items: center;
}

#pulse-root-mw .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse-accent);
  display: inline-block;
}

#pulse-root-mw .pulse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#pulse-root-mw .pulse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 106, 0.45);
  background: rgba(11, 15, 22, 0.45);
  color: var(--ink-0);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#pulse-root-mw .pulse-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.35);
}

#pulse-root-mw .pulse-action:focus-visible {
  outline: 3px solid var(--pulse-accent-2);
  outline-offset: 3px;
}

#pulse-root-mw .pulse-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

#pulse-root-mw .pulse-theme-btn {
  border: 1px solid rgba(47, 210, 201, 0.28);
  background: rgba(11, 15, 22, 0.35);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#pulse-root-mw .pulse-theme-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 181, 106, 0.65);
}

#pulse-root-mw .pulse-theme-btn.active {
  background: rgba(216, 181, 106, 0.16);
  border-color: rgba(216, 181, 106, 0.75);
  color: var(--ink-0);
}

#pulse-root-mw .pulse-theme-btn:focus-visible {
  outline: 3px solid var(--pulse-accent-2);
  outline-offset: 3px;
}

#pulse-root-mw .pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

#pulse-root-mw .pulse-card {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.42);
  position: relative;
  overflow: hidden;
  animation: pulse-mw-reveal 0.6s ease both;
  animation-delay: calc(var(--i) * 80ms);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--ink-0);
  display: block;
}

#pulse-root-mw .pulse-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -30px;
  top: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.22), transparent 70%);
  opacity: 0.5;
}

#pulse-root-mw .pulse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.48);
}

#pulse-root-mw .pulse-card:focus-visible {
  outline: 3px solid var(--pulse-accent-2);
  outline-offset: 3px;
}

#pulse-root-mw .pulse-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

#pulse-root-mw .pulse-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(233, 240, 255, 0.9);
  background: rgba(216, 181, 106, 0.14);
  border: 1px solid rgba(216, 181, 106, 0.22);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

#pulse-root-mw .pulse-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(124, 92, 255, 0.22);
}

#pulse-root-mw .pulse-story-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

#pulse-root-mw .pulse-detail {
  margin: 0 0 14px;
  color: var(--ink-1);
  font-size: 13.5px;
}

#pulse-root-mw .pulse-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

#pulse-root-mw .pulse-source {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  font-weight: 800;
}

#pulse-root-mw .pulse-cta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(47, 210, 201, 0.95);
  font-weight: 800;
  font-size: 11px;
}

#pulse-root-mw .pulse-loading {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--ink-1);
  border: 1px dashed rgba(124, 92, 255, 0.25);
}

/* Pulse Feed (News Pulse page) */
#pulse-root-news {
  --pulse-ink: var(--ink-0);
  --pulse-soft: var(--ink-1);
  --pulse-accent: var(--teal);
  --pulse-accent-2: var(--gold);
  border-radius: 18px;
  padding: clamp(16px, 3.6vw, 30px);
  background: radial-gradient(900px 520px at 12% -10%, rgba(47, 210, 201, 0.16), transparent 60%),
    radial-gradient(900px 520px at 88% -20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(700px 440px at 50% 0%, rgba(216, 181, 106, 0.14), transparent 65%),
    rgba(11, 15, 22, 0.62);
  border: 1px solid rgba(124, 92, 255, 0.28);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  color: var(--pulse-ink);
}

#pulse-root-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 255, 0.10) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
}

#pulse-root-news .pulse-shell {
  position: relative;
  z-index: 1;
}

#pulse-root-news .pulse-header {
  margin-bottom: 18px;
}

#pulse-root-news .pulse-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}

#pulse-root-news .pulse-title {
  margin: 10px 0 6px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
}

#pulse-root-news .pulse-hint {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--pulse-soft);
}

#pulse-root-news .pulse-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--pulse-soft);
  align-items: center;
}

#pulse-root-news .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse-accent);
  display: inline-block;
}

#pulse-root-news .pulse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 106, 0.45);
  background: rgba(11, 15, 22, 0.45);
  color: var(--ink-0);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#pulse-root-news .pulse-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.35);
}

#pulse-root-news .pulse-action:focus-visible {
  outline: 3px solid var(--pulse-accent-2);
  outline-offset: 3px;
}

#pulse-root-news .pulse-stack {
  display: grid;
  gap: 14px;
}

#pulse-root-news .pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

#pulse-root-news .pulse-card {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.42);
  position: relative;
  overflow: hidden;
  animation: pulse-news-reveal 0.6s ease both;
  animation-delay: calc(var(--i) * 70ms);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--ink-0);
  display: block;
}

#pulse-root-news .pulse-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -30px;
  top: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.18), transparent 70%);
  opacity: 0.65;
  pointer-events: none;
}

#pulse-root-news .pulse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.48);
}

#pulse-root-news .pulse-card:focus-visible {
  outline: 3px solid var(--pulse-accent-2);
  outline-offset: 3px;
}

#pulse-root-news .pulse-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

#pulse-root-news .pulse-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(233, 240, 255, 0.9);
  background: rgba(216, 181, 106, 0.14);
  border: 1px solid rgba(216, 181, 106, 0.22);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

#pulse-root-news .pulse-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(124, 92, 255, 0.22);
}

#pulse-root-news .pulse-story-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

#pulse-root-news .pulse-detail {
  margin: 0 0 14px;
  color: var(--ink-1);
  font-size: 13.5px;
  line-height: 1.55;
}

#pulse-root-news .pulse-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

#pulse-root-news .pulse-source {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  font-weight: 800;
}

#pulse-root-news .pulse-cta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(47, 210, 201, 0.95);
  font-weight: 800;
  font-size: 11px;
}

#pulse-root-news .pulse-loading,
#pulse-root-news .pulse-error {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--ink-1);
  border: 1px dashed rgba(124, 92, 255, 0.25);
}

@keyframes pulse-news-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  #pulse-root-news .pulse-grid {
    grid-template-columns: 1fr;
  }

  #pulse-root-news .pulse-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pulse-root-news .pulse-card {
    animation: none;
  }
}

@keyframes pulse-mw-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  #pulse-root-mw .pulse-grid {
    grid-template-columns: 1fr;
  }

  #pulse-root-mw .pulse-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pulse-root-mw .pulse-card {
    animation: none;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 4vw;
    flex-direction: column;
    gap: 14px;
    background: rgba(8, 12, 20, 0.95);
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(124, 92, 255, 0.3);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}
