:root {
  --rm-bg: #080b12;
  --rm-panel: #111722;
  --rm-panel-2: #0d121c;
  --rm-text: #efede7;
  --rm-muted: #89d2b4;
  --rm-line: #212631;
  --rm-gold: #ffc61a;
  --rm-green: #1fad7e;
  --rm-pink: #f0427c;
  --rm-radius: 12px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--rm-bg);
  color: var(--rm-text);
  font-family: "Rajdhani", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--rm-gold);
  outline-offset: 3px;
}

.rm-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, rgba(31, 173, 126, 0.1), transparent 30%),
    radial-gradient(circle at 100% 70%, rgba(255, 198, 26, 0.06), transparent 28%),
    linear-gradient(rgba(31, 173, 126, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 173, 126, 0.04) 1px, transparent 1px);
  background-color: var(--rm-bg);
  background-size: auto, auto, 60px 60px, 60px 60px;
}

.rm-container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.rm-display {
  font-family: "Orbitron", monospace;
}

.rm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(31, 173, 126, 0.3);
  border-radius: 999px;
  background: rgba(31, 173, 126, 0.08);
  color: var(--rm-green);
  font-family: "Orbitron", monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
}

.rm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rm-green);
  box-shadow: 0 0 12px rgba(31, 173, 126, 0.7);
}

.rm-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(31, 173, 126, 0.35);
  border-radius: 8px;
  background: rgba(31, 173, 126, 0.09);
  color: var(--rm-green);
  cursor: pointer;
  font-family: "Orbitron", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.rm-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.rm-button--gold {
  border-color: rgba(255, 198, 26, 0.42);
  background: rgba(255, 198, 26, 0.08);
  color: var(--rm-gold);
}

.rm-button--pink {
  border-color: rgba(240, 66, 124, 0.35);
  background: rgba(240, 66, 124, 0.08);
  color: var(--rm-pink);
}

.rm-panel {
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: linear-gradient(135deg, rgba(20, 25, 36, 0.94), rgba(13, 18, 28, 0.88));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36);
}

.rm-responsible {
  max-width: 840px;
  margin: 2.5rem auto 0;
  border-top: 1px solid rgba(137, 210, 180, 0.12);
  padding: 1rem;
  color: rgba(137, 210, 180, 0.65);
  font-size: 0.82rem;
  text-align: center;
}

.rm-responsible strong {
  color: rgba(239, 237, 231, 0.76);
}

.rm-footer {
  padding: 2.5rem 1rem;
  color: rgba(137, 210, 180, 0.45);
  font-family: "Orbitron", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.rm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
