:root {
  --bg: #0c0a07;
  --bg-soft: #15110d;
  --panel: rgba(29, 22, 16, 0.72);
  --line: rgba(223, 193, 135, 0.35);
  --gold: #dfc187;
  --gold-strong: #f0d9a8;
  --text: #f2eee8;
  --muted: #c8bba4;
  --emerald: #2fd18a;
  --danger: #ff7a6e;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 20% 10%, #2b2115 0%, #0c0a07 35%, #0a0907 100%);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

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

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

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

.top-marquee,
.bottom-marquee {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  white-space: nowrap;
}

.top-marquee {
  background: linear-gradient(90deg, rgba(223, 193, 135, 0.25), rgba(223, 193, 135, 0.08));
  color: #ffefcc;
}

.bottom-marquee {
  margin-top: 3rem;
  background: linear-gradient(90deg, rgba(10,9,7,0.95), rgba(24,20,16,0.95));
  color: #e0d8c9;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  min-width: 100%;
  padding: 0.7rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  opacity: 0.95;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 10, 7, 0.76);
  border-bottom: 1px solid rgba(223, 193, 135, 0.18);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

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

.brand-chip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(223,193,135,0.45);
  background: linear-gradient(145deg, #20160d, #0f0c09);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold-strong);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.brand-text h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand-text p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  gap: 0.7rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(130deg, #e2c68f, #a88449);
  color: #15100b;
  box-shadow: 0 10px 24px rgba(223, 193, 135, 0.28);
}

.btn-secondary {
  border-color: rgba(223, 193, 135, 0.4);
  background: rgba(35, 27, 20, 0.7);
  color: #f5e7cc;
}

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

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
  align-items: stretch;
}

.hero-panel,
.console-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-panel::before,
.console-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(223, 193, 135, 0.18);
  border-radius: 16px;
  pointer-events: none;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'JetBrains Mono', monospace;
  color: #adf3ce;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 rgba(47, 209, 138, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 209, 138, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(47, 209, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 209, 138, 0); }
}

h1 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-panel p {
  color: #efe4d1;
  margin-bottom: 1.2rem;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.quick-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.quick-points li {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(223,193,135,0.2);
  border-radius: 10px;
  background: rgba(8,8,7,0.35);
}

.console-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.console-item {
  padding: 0.75rem;
  border: 1px solid rgba(223,193,135,0.25);
  border-radius: 12px;
  background: rgba(9,8,7,0.55);
}

.console-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-strong);
  margin-bottom: 0.2rem;
}

.section {
  padding: 2.8rem 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  margin-bottom: 0.9rem;
}

.section-intro {
  color: var(--muted);
  margin-top: 0;
}

.article-card {
  border: 1px solid var(--line);
  background: rgba(17, 14, 11, 0.75);
  border-radius: 18px;
  padding: 1.35rem;
  margin-top: 1rem;
}

.steps {
  counter-reset: adim;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  counter-increment: adim;
  border: 1px solid rgba(223,193,135,0.25);
  border-radius: 14px;
  padding: 0.9rem 0.95rem 0.95rem 2.9rem;
  position: relative;
  background: rgba(8,7,6,0.55);
}

.steps li::before {
  content: counter(adim);
  position: absolute;
  left: 0.9rem;
  top: 0.86rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 7px;
  background: linear-gradient(145deg, #e7cf9f, #b18d54);
  color: #17120d;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.84rem;
}

.address-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(47, 209, 138, 0.45);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(18, 30, 22, 0.45);
}

.address-panel code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #d8ffe9;
  word-break: break-all;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  border: 1px solid rgba(223,193,135,0.28);
  padding: 0.75rem;
  text-align: left;
}

th {
  background: rgba(223,193,135,0.15);
  color: #ffefc9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  border: 1px solid rgba(223,193,135,0.3);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(165deg, rgba(27,20,14,0.8), rgba(12,10,8,0.8));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.rating-box {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1rem;
  align-items: center;
}

.score {
  border: 1px solid rgba(223,193,135,0.28);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  background: rgba(23,18,13,0.7);
}

.score strong {
  font-size: 2rem;
  color: var(--gold-strong);
  line-height: 1;
}

.stars {
  letter-spacing: 0.12em;
  color: #ffd580;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.badge-positive,
.badge-negative {
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid;
}

.badge-positive {
  border-color: rgba(47,209,138,0.45);
  background: rgba(20,40,30,0.42);
}

.badge-negative {
  border-color: rgba(255,122,110,0.5);
  background: rgba(52,27,22,0.42);
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(223,193,135,0.28);
  background: rgba(14,12,9,0.7);
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  padding: 1.2rem;
}

.slide h3 {
  margin-top: 0;
  color: var(--gold-strong);
}

.slider-controls {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  border: 1px solid rgba(223,193,135,0.45);
  background: rgba(12,10,8,0.85);
  color: #f7ecd8;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  cursor: pointer;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.count-item {
  text-align: center;
  border: 1px solid rgba(223,193,135,0.3);
  border-radius: 12px;
  padding: 0.65rem;
  background: rgba(16,13,10,0.8);
}

.count-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold-strong);
}

.accordion-item {
  border: 1px solid rgba(223,193,135,0.27);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  background: rgba(16,13,10,0.78);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 0.95rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger span {
  color: var(--gold-strong);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.accordion-content p {
  margin-top: 0;
  color: #ded4c5;
}

.site-footer {
  margin: 3rem 0 4.5rem;
  border-top: 1px solid rgba(223,193,135,0.22);
  padding-top: 1.2rem;
  color: #c7baa6;
  font-size: 0.95rem;
}

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

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

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(9,8,7,0.96);
  border-top: 1px solid rgba(223,193,135,0.3);
  z-index: 80;
}

.mobile-dock .btn {
  flex: 1;
}

@media (max-width: 980px) {
  .hero-grid,
  .rating-box {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-actions {
    display: none;
  }

  .feature-grid,
  .pros-cons,
  .countdown {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .mobile-dock {
    display: flex;
  }

  body {
    padding-bottom: 5rem;
  }
}
