:root {
  color-scheme: dark;
  --bg: #050402;
  --panel: rgba(18, 14, 9, 0.78);
  --line: rgba(226, 184, 86, 0.2);
  --line2: rgba(226, 184, 86, 0.38);
  --gold: #e2b856;
  --gold2: #ffe5a3;
  --text: #fff3d2;
  --soft: #d7c394;
  --muted: #9f8d67;
  --green: #6ee7a0;
  --red: #ff6f82;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --r1: 28px;
  --r2: 20px;
  --max: 1500px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 18% -12%,
      rgba(226, 184, 86, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 3%,
      rgba(255, 229, 163, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #0a0704 0%, #050402 46%, #070503 100%);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}
a {
  color: inherit;
  text-decoration: none;
}
.page-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 54px;
  position: relative;
  z-index: 1;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 7, 4, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
}
.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 360px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand-logo {
  width: 64px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 18px rgba(226, 184, 86, 0.2));
  flex: 0 0 auto;
}
.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(226, 184, 86, 0.2);
  border-radius: 999px;
  background: rgba(226, 184, 86, 0.055);
  color: var(--gold2);
  font-weight: 850;
  transition: 0.18s;
}
.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(226, 184, 86, 0.42);
  background: rgba(226, 184, 86, 0.1);
}
.youtube-link,
.discord-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: 0.18s;
  flex: 0 0 auto;
}
.youtube-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}
.discord-link {
  border: 1px solid rgba(88, 101, 242, 0.42);
  background: #5865f2;
  box-shadow:
    0 10px 24px rgba(88, 101, 242, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.youtube-link:hover,
.discord-link:hover {
  transform: translateY(-1px);
}
.youtube-icon,
.discord-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.discord-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
  transform-origin: center;
}
.discord-link:hover .discord-icon {
  animation: discordSpin 0.82s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.nav-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
  white-space: nowrap;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(110, 231, 160, 0.08);
  border: 1px solid rgba(110, 231, 160, 0.22);
  color: #d9ffe9;
  font-weight: 800;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 5px rgba(110, 231, 160, 0.08),
    0 0 18px rgba(110, 231, 160, 0.6);
  animation: pulse 1.8s ease-in-out infinite;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.55fr);
  gap: 20px;
  margin-top: 42px;
  align-items: stretch;
}
.hero-copy {
  align-self: center;
  min-width: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(226, 184, 86, 0.09);
  border: 1px solid rgba(226, 184, 86, 0.23);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.gold-text {
  color: transparent;
  background: linear-gradient(
    90deg,
    #fff7dc 0%,
    #ffe09a 28%,
    #e2b856 62%,
    #fff1bd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  max-width: 850px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.hero-side {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  gap: 18px;
  min-width: 0;
  align-self: stretch;
}
.hero-art {
  position: relative;
  min-height: clamp(230px, 23vw, 360px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r1);
  border: 1px solid rgba(226, 184, 86, 0.1);
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(226, 184, 86, 0.2),
      transparent 38%
    ),
    radial-gradient(
      circle at 50% 62%,
      rgba(255, 229, 163, 0.08),
      transparent 54%
    ),
    linear-gradient(180deg, rgba(226, 184, 86, 0.035), rgba(0, 0, 0, 0.08));
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(226, 184, 86, 0.09),
    transparent 68%
  );
  filter: blur(2px);
  pointer-events: none;
}
.hero-art--hamster:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.075) 50%,
    transparent 100%
  );
  transform: translateX(-125%);
  animation: hamsterSheen 7.4s ease-in-out infinite;
  mix-blend-mode: screen;
}
.mascot-frame {
  position: relative;
  z-index: 1;
  width: min(94%, 340px);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  --hamster-x: 0px;
  --hamster-y: 0px;
  --hamster-tilt: 0deg;
}
.hero-side-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.97;
  image-rendering: pixelated;
  transform: translate(var(--hamster-x), var(--hamster-y))
    rotate(var(--hamster-tilt));
  transition: transform 0.08s linear;
  filter: drop-shadow(0 25px 42px rgba(0, 0, 0, 0.52));
  pointer-events: none;
  user-select: none;
}
.eye {
  position: absolute;
  z-index: 4;
  width: 9.2%;
  height: 9.2%;
  overflow: hidden;
  pointer-events: none;
}
.eye-left {
  left: 34.9%;
  top: 28.7%;
}
.eye-right {
  left: 58.9%;
  top: 28.7%;
}
.pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32%;
  height: 32%;
  margin-left: -16%;
  margin-top: -16%;
  background: #111;
  border-radius: 1px;
  transform: translate(0, 0);
  transition: transform 0.045s linear;
  box-shadow: none;
}
.pupil:after {
  content: "";
  position: absolute;
  left: 18%;
  top: 18%;
  width: 28%;
  height: 28%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
}
.mascot-speech {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;
  max-width: 205px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 15px;
  border-radius: 18px;
  border: 1px solid rgba(226, 184, 86, 0.34);
  background:
    linear-gradient(180deg, rgba(31, 23, 12, 0.96), rgba(10, 8, 5, 0.98)),
    radial-gradient(
      circle at 20% 0%,
      rgba(255, 229, 163, 0.14),
      transparent 46%
    );
  color: #fff3c2;
  text-decoration: none;
  line-height: 1.16;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 24px rgba(226, 184, 86, 0.1);
  overflow: visible;
  transform-origin: 76% 100%;
  animation: mascotSpeechFloat 2.9s ease-in-out infinite;
  transition: 0.18s;
}
.mascot-speech:after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: rgba(12, 9, 5, 0.98);
  border-right: 1px solid rgba(226, 184, 86, 0.34);
  border-bottom: 1px solid rgba(226, 184, 86, 0.34);
  transform: rotate(45deg);
  box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.16);
}
.mascot-speech:before {
  content: none;
}
.mascot-speech:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(255, 229, 163, 0.5);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.055) inset,
    0 0 30px rgba(226, 184, 86, 0.15);
  filter: brightness(1.04);
}
.mascot-speech .speech-small,
.mascot-speech strong {
  position: relative;
  z-index: 1;
}
.speech-small {
  color: #f2d27a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.01em;
}
.mascot-speech strong {
  color: #fff7d7;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.015em;
}
.hero-card,
.calculator,
.seo-intro,
.faq-section {
  border: 1px solid var(--line2);
  background:
    radial-gradient(circle at 14% 0%, rgba(226, 184, 86, 0.1), transparent 31%),
    linear-gradient(180deg, rgba(18, 14, 9, 0.76), rgba(8, 6, 4, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card {
  position: relative;
  border-radius: var(--r1);
  padding: 22px;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 44%,
    transparent 54%
  );
  transform: translateX(-72%);
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-card:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 229, 163, 0.72),
    transparent
  );
  opacity: 0.34;
  filter: drop-shadow(0 0 10px rgba(226, 184, 86, 0.42));
  animation: heroScanner 8.6s ease-in-out infinite;
  pointer-events: none;
}
.hero-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  margin-bottom: 8px;
}
.hero-card strong {
  display: block;
  color: var(--gold2);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-card p {
  margin: 12px 0 0;
  color: var(--soft);
  line-height: 1.6;
  font-size: 14px;
}
.calculator {
  margin-top: 30px;
  border-radius: 34px;
}
.control-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(210px, 0.42fr) minmax(
      150px,
      0.26fr
    );
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.field {
  position: relative;
  min-width: 0;
}
.field label {
  position: absolute;
  left: 14px;
  top: -9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d37c, #d7a83a);
  color: #171002;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(226, 184, 86, 0.18);
  background: #050608;
  color: var(--text);
  border-radius: 16px;
  outline: 0;
  font: inherit;
  font-weight: 800;
  transition: 0.18s;
}
.field input,
.field select {
  min-height: 56px;
  padding: 15px 16px 12px;
}
.league-field select {
  padding-left: 60px;
}
.league-preview {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 229, 163, 0.14),
    rgba(226, 184, 86, 0.035)
  );
  box-shadow:
    0 0 0 1px rgba(226, 184, 86, 0.16),
    0 10px 22px rgba(0, 0, 0, 0.22);
}
.league-preview img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(226, 184, 86, 0.2));
}
.field textarea {
  min-height: 170px;
  padding: 16px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(226, 184, 86, 0.58);
  box-shadow: 0 0 0 4px rgba(226, 184, 86, 0.08);
}
.btn {
  position: relative;
  isolation: isolate;
  min-height: 56px;
  border: 1px solid rgba(226, 184, 86, 0.24);
  border-radius: 16px;
  padding: 0 19px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn:before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 229, 163, 0.22),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(226, 184, 86, 0.5);
  background: rgba(226, 184, 86, 0.105);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(226, 184, 86, 0.1);
}
.btn:hover:before {
  opacity: 1;
}
.btn-primary {
  background: linear-gradient(180deg, #f2d071, #d8a93c);
  color: #161002;
  border-color: rgba(255, 239, 189, 0.45);
  box-shadow: 0 12px 28px rgba(226, 184, 86, 0.16);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus-visible {
  color: #120d02;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.46),
      transparent 52%
    ),
    linear-gradient(180deg, #fff0b8 0%, #f0c762 46%, #d6a13a 100%);
  border-color: rgba(255, 245, 204, 0.72);
  box-shadow:
    0 16px 34px rgba(226, 184, 86, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 26px rgba(255, 229, 163, 0.2);
  filter: brightness(1.06);
}
.calc-actions {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(180px, 0.34fr);
  gap: 12px;
  padding: 14px 18px 18px;
  border-bottom: 1px solid var(--line);
}
.advanced {
  margin: 12px 18px 0;
  border: 1px solid rgba(226, 184, 86, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}
.advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 11px 14px;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}
.advanced summary::-webkit-details-marker {
  display: none;
}
.advanced-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 10px;
  padding: 0 14px 14px;
}
.advanced .field textarea {
  min-height: 108px;
  max-height: 150px;
  padding: 11px 12px;
  font-size: 11px;
  line-height: 1.42;
}
.field-help-btn {
  position: absolute;
  left: 124px;
  top: -10px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(226, 184, 86, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe4a1, #d6a540);
  color: #171002;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
}
.help-nudge {
  position: absolute;
  left: 150px;
  top: 9px;
  z-index: 8;
  display: none;
  width: 40px;
  height: 40px;
  pointer-events: none;
  opacity: 0;
  transform: translate(6px, 6px) scale(0.96);
}
.help-nudge:before {
  content: "↖";
  display: inline-block;
  color: #fff1be;
  font-size: 34px;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(226, 184, 86, 0.48),
    0 8px 18px rgba(0, 0, 0, 0.4);
  animation: helpArrowPoint 0.72s ease-in-out infinite;
}
.help-nudge.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation:
    helpNudgeIn 0.22s ease-out forwards,
    helpNudgeOut 0.42s ease-in forwards 5.8s;
}
.extras-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  padding: 0 18px 18px;
}
.mini-tool {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 184, 86, 0.18);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(25, 20, 13, 0.64),
    rgba(10, 8, 5, 0.84)
  );
  padding: 16px;
}
.mini-tool h2 {
  margin: 0 0 7px;
  color: var(--gold2);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.mini-tool p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}
.mini-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.45fr) auto;
  gap: 10px;
  margin-top: 14px;
  align-items: end;
}
.tool-result {
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid rgba(226, 184, 86, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold2);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}
.copy-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.copy-feedback {
  margin-top: 12px !important;
  color: var(--gold2) !important;
  font-weight: 800;
  white-space: pre-line;
  user-select: text;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}
.metric {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(25, 20, 13, 0.72),
    rgba(11, 9, 6, 0.86)
  );
}
.calculator.is-calculating .metric {
  animation: metricGoldPulse 1.25s ease-out both;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.metric strong {
  display: block;
  color: var(--gold2);
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.metric small {
  display: block;
  margin-top: 10px;
  color: var(--soft);
  line-height: 1.4;
}
.table-wrap {
  position: relative;
  margin: 0 18px 18px;
  border: 1px solid var(--line2);
  border-radius: 22px;
  overflow: hidden;
  background: #070707;
}
.table-scroll {
  overflow-x: auto;
}
.table-swipe-hint {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 8;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 184, 86, 0.32);
  background: linear-gradient(
    180deg,
    rgba(24, 19, 12, 0.94),
    rgba(8, 7, 5, 0.96)
  );
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: var(--gold2);
  font-size: 12px;
  font-weight: 950;
  pointer-events: none;
  opacity: 0;
  transform: translateX(9px) scale(0.98);
}
.table-swipe-hint.is-visible {
  display: inline-flex;
  opacity: 1;
  transform: translateX(0) scale(1);
  animation:
    swipeHintFadeIn 0.28s ease-out,
    swipeHintPulse 1.55s ease-in-out infinite;
}
.swipe-arrow {
  display: inline-block;
  color: #fff1be;
  font-size: 16px;
  line-height: 1;
  animation: swipeArrowMove 1.1s ease-in-out infinite;
}
.table-wrap.has-swipe-hint:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: 68px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(9, 7, 4, 0),
    rgba(9, 7, 4, 0.78) 68%,
    rgba(9, 7, 4, 0.95)
  );
}
table {
  width: 100%;
  min-width: 1565px;
  border-collapse: collapse;
  table-layout: fixed;
}
th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 15px 12px;
  color: #171002;
  background: linear-gradient(180deg, #f1cc68 0%, #d9a83c 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
td {
  padding: 15px 12px;
  border-right: 1px solid rgba(226, 184, 86, 0.13);
  border-bottom: 1px solid rgba(226, 184, 86, 0.11);
  background: #08080a;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
tbody tr:nth-child(even) td {
  background: #0b0a0a;
}
tbody tr:hover td {
  background: #12100c;
}
tbody tr.winner-row td {
  background: linear-gradient(
    180deg,
    rgba(34, 27, 14, 0.96),
    rgba(13, 10, 6, 0.98)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 163, 0.12),
    inset 0 -1px 0 rgba(226, 184, 86, 0.1);
}
tbody tr.winner-row td:first-child {
  box-shadow:
    inset 3px 0 0 rgba(226, 184, 86, 0.88),
    inset 0 1px 0 rgba(255, 229, 163, 0.12),
    inset 0 -1px 0 rgba(226, 184, 86, 0.1);
}
.winner-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 1px;
  border-radius: 999px;
  background: rgba(226, 184, 86, 0.12);
  box-shadow:
    0 0 0 1px rgba(226, 184, 86, 0.22),
    0 0 18px rgba(226, 184, 86, 0.16);
  font-size: 13px;
  flex: 0 0 auto;
  animation: crownFloat 3.4s ease-in-out infinite;
}
.sort-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #171002;
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.period-select {
  width: 86px;
  min-height: 30px;
  margin-right: 7px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  background: #070707;
  color: var(--gold2);
  font-weight: 950;
  text-align: center;
  text-align-last: center;
  outline: 0;
}
.coin-cell,
.stack {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.coin-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.035);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow:
    0 0 0 1px rgba(226, 184, 86, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.coin-icon--RLT {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/RLT.webp");
}
.coin-icon--RST {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/RST.webp");
}
.coin-icon--HMT {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/HMT.webp");
}
.coin-icon--XRP {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/XRP.webp");
}
.coin-icon--TRX {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/TRX.webp");
}
.coin-icon--DOGE {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/DOGE.webp");
}
.coin-icon--BTC {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/BTC.webp");
}
.coin-icon--ETH {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/ETH.webp");
}
.coin-icon--BNB {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/BNB.webp");
}
.coin-icon--POL,
.coin-icon--MATIC {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/POL.webp");
}
.coin-icon--SOL {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/SOL.webp");
}
.coin-icon--LTC {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/LTC.webp");
}
.coin-icon--ALGO {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/ALGO.webp");
}
.coin-icon--USDT {
  background-image: url("https://ganardineros.com/calculadora/rollercoin/assets/img/USDT.webp");
}
.coin-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171002;
  background: linear-gradient(180deg, #ffe4a1, #d6a540);
  font-size: 12px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
}
.stack {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
.stack strong,
.stack span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stack span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
  overflow: visible;
}
.stack strong {
  color: #fff4d3;
  line-height: 1.1;
}
.stack.value-only strong {
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.price-value {
  border-radius: 12px;
  padding: 7px 9px;
  margin: -7px -9px;
  max-width: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(226, 184, 86, 0.24);
  background: rgba(226, 184, 86, 0.08);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 900;
}
.good {
  color: var(--green) !important;
}
.bad {
  color: var(--red) !important;
}
.warn {
  color: var(--gold2) !important;
}
.note {
  margin: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(226, 184, 86, 0.16);
  background: rgba(226, 184, 86, 0.045);
  color: var(--soft);
  line-height: 1.6;
  font-size: 13px;
}
.seo-bottom {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.seo-intro,
.faq-section {
  border-radius: 30px;
}
.seo-head {
  padding: 22px 22px 4px;
}
.seo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(226, 184, 86, 0.22);
  background: rgba(226, 184, 86, 0.07);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seo-head h2,
.faq-section h2 {
  margin: 0;
  color: var(--gold2);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.seo-head p,
.faq-section > p {
  max-width: 930px;
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.75;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 22px 22px;
}
.seo-card {
  position: relative;
  min-height: 190px;
  padding: 17px;
  border: 1px solid rgba(226, 184, 86, 0.16);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.014)
  );
  overflow: hidden;
}
.seo-card h3 {
  margin: 0 0 9px;
  color: #fff4d3;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.seo-card p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.62;
}
.faq-section {
  padding: 22px;
}
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.faq-item {
  border: 1px solid rgba(226, 184, 86, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.024);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  color: var(--gold2);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(226, 184, 86, 0.24);
  background: rgba(226, 184, 86, 0.07);
  color: var(--gold2);
  flex: 0 0 auto;
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}
.footer {
  margin-top: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.tooltip {
  position: fixed;
  z-index: 50;
  width: min(330px, calc(100vw - 28px));
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(226, 184, 86, 0.3);
  background: rgba(8, 8, 8, 0.98);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: 0.12s;
}
.tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.help-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.22s;
}
.help-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(5px);
}
.help-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  border: 1px solid rgba(226, 184, 86, 0.25);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(24, 19, 13, 0.97),
    rgba(10, 8, 5, 0.99)
  );
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.58);
  opacity: 0;
  transform: translateY(10px) scale(0.965);
  transition: 0.24s;
}
.help-modal.is-open .help-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226, 184, 86, 0.16);
  color: var(--gold2);
}
.help-close {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(226, 184, 86, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.help-body {
  padding: 14px;
  overflow: auto;
  max-height: calc(100vh - 96px);
}
.help-gif {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
  border: 1px solid rgba(226, 184, 86, 0.16);
  background: #070707;
}
@keyframes heroScanner {
  0%,
  22% {
    transform: translateY(-34px);
    opacity: 0;
  }
  36% {
    opacity: 0.36;
  }
  58% {
    transform: translateY(170px);
    opacity: 0.22;
  }
  76%,
  100% {
    transform: translateY(210px);
    opacity: 0;
  }
}
@keyframes sheen {
  0%,
  55% {
    transform: translateX(-76%);
  }
  78%,
  100% {
    transform: translateX(78%);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes metricGoldPulse {
  0% {
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: none;
  }
  28% {
    transform: translateY(-2px);
    border-color: rgba(255, 229, 163, 0.58);
    box-shadow:
      0 0 0 1px rgba(226, 184, 86, 0.18),
      0 18px 44px rgba(226, 184, 86, 0.14);
  }
  100% {
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: none;
  }
}
@keyframes crownFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-2px) rotate(3deg);
  }
}
@keyframes discordSpin {
  0% {
    transform: rotate(0) scale(0.92);
  }
  58% {
    transform: rotate(380deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes swipeHintFadeIn {
  0% {
    opacity: 0;
    transform: translateX(12px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes swipeArrowMove {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.82;
  }
  50% {
    transform: translateX(7px);
    opacity: 1;
  }
}
@keyframes swipeHintPulse {
  0%,
  100% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  }
  50% {
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(226, 184, 86, 0.12) inset,
      0 0 20px rgba(226, 184, 86, 0.12);
  }
}
@keyframes helpNudgeIn {
  from {
    opacity: 0;
    transform: translate(6px, 6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes helpNudgeOut {
  to {
    opacity: 0;
    transform: translate(5px, 5px) scale(0.98);
  }
}
@keyframes helpArrowPoint {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.82;
  }
  50% {
    transform: translate(-5px, -5px);
    opacity: 1;
  }
}
@keyframes hamsterSheen {
  0%,
  58% {
    transform: translateX(-125%);
    opacity: 0;
  }
  70% {
    opacity: 0.9;
  }
  86%,
  100% {
    transform: translateX(125%);
    opacity: 0;
  }
}
@keyframes mascotSpeechFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}
.price-flash-up {
  animation: priceFlashUp 4.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-flash-down {
  animation: priceFlashDown 4.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes priceFlashUp {
  0% {
    background: rgba(110, 231, 160, 0.14);
    box-shadow:
      0 0 0 1px rgba(110, 231, 160, 0.2),
      0 0 18px rgba(110, 231, 160, 0.16);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}
@keyframes priceFlashDown {
  0% {
    background: rgba(255, 111, 130, 0.14);
    box-shadow:
      0 0 0 1px rgba(255, 111, 130, 0.2),
      0 0 18px rgba(255, 111, 130, 0.15);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    align-self: auto;
  }
  .hero-side {
    grid-template-rows: auto auto;
  }
  .hero-art {
    min-height: 260px;
  }
  .mascot-frame {
    width: min(82%, 280px);
  }
  .eye {
    width: 9.4%;
    height: 9.4%;
  }
  .eye-left {
    left: 34.8%;
    top: 28.5%;
  }
  .eye-right {
    left: 58.8%;
    top: 28.5%;
  }
  .mascot-speech {
    top: 12px;
    left: 12px;
    max-width: 178px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .speech-small {
    font-size: 10px;
  }
  .mascot-speech strong {
    font-size: 13px;
  }
  .mascot-speech:after {
    right: 24px;
    bottom: -9px;
    width: 16px;
    height: 16px;
  }
  .control-panel {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .summary-grid,
  .advanced-grid,
  .extras-panel {
    grid-template-columns: 1fr;
  }
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini-form {
    grid-template-columns: 1fr 1fr;
  }
  .mini-form .btn {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 22px, var(--max));
    padding-top: 14px;
  }
  .top-nav {
    border-radius: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .brand-group {
    width: 100%;
    flex: 0 1 auto;
    justify-content: center;
  }
  .brand-logo {
    width: 50px;
    height: 42px;
  }
  .nav-meta {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .nav-link,
  .live-pill {
    flex: 1 1 auto;
    justify-content: center;
  }
  .control-panel,
  .calc-actions {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .calculator {
    border-radius: 24px;
  }
  .summary-grid {
    padding-left: 14px;
    padding-right: 14px;
  }
  .table-wrap,
  .advanced,
  .note {
    margin-left: 14px;
    margin-right: 14px;
  }
  .help-nudge {
    left: 148px;
    top: 8px;
    width: 36px;
    height: 36px;
  }
  .help-nudge:before {
    font-size: 32px;
  }
  .extras-panel {
    padding-left: 14px;
    padding-right: 14px;
  }
  .mini-form {
    grid-template-columns: 1fr;
  }
  .hero-side {
    gap: 14px;
  }
  .hero-art {
    min-height: 210px;
  }
  .mascot-frame {
    width: min(76vw, 230px);
  }
  .mascot-speech {
    position: relative;
    top: auto;
    left: auto;
    margin: 10px auto 0;
    max-width: 230px;
    text-align: center;
    align-items: center;
  }
  .mascot-speech:after {
    left: 50%;
    right: auto;
    bottom: -9px;
    transform: translateX(-50%) rotate(45deg);
  }
  .seo-head,
  .faq-section {
    padding: 18px;
  }
  .seo-grid {
    grid-template-columns: 1fr;
    padding: 14px 18px 18px;
  }
  .seo-card {
    min-height: auto;
  }
  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
}
@media (min-width: 901px) {
  .table-swipe-hint,
  .table-wrap.has-swipe-hint:after {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --bg: #05080b;
  --panel: rgba(10, 15, 19, 0.86);
  --line: rgba(246, 199, 73, 0.17);
  --line2: rgba(246, 199, 73, 0.31);
  --gold: #f6c749;
  --gold2: #fff0ba;
  --text: #f7f7f2;
  --soft: #c3c9c7;
  --muted: #89928f;
  --green: #54e7aa;
  --red: #ff7287;
  --cyan: #62c9ff;
  --violet: #9a83ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}
body {
  background:
    radial-gradient(
      circle at 10% -8%,
      rgba(246, 199, 73, 0.15),
      transparent 30%
    ),
    radial-gradient(circle at 90% 0%, rgba(68, 224, 177, 0.1), transparent 28%),
    radial-gradient(
      circle at 48% 45%,
      rgba(50, 113, 141, 0.08),
      transparent 34%
    ),
    linear-gradient(180deg, #071017 0%, #05080b 44%, #07090c 100%);
}
body:before {
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(98, 201, 255, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(98, 201, 255, 0.022) 1px, transparent 1px);
  background-size: 76px 76px;
}
.top-nav {
  border-color: rgba(246, 199, 73, 0.2);
  background: rgba(6, 11, 14, 0.82);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.035) inset;
}
.nav-link {
  border-color: rgba(246, 199, 73, 0.2);
  background: linear-gradient(
    180deg,
    rgba(246, 199, 73, 0.105),
    rgba(246, 199, 73, 0.045)
  );
}
.live-pill {
  border-color: rgba(84, 231, 170, 0.24);
  color: #d7fff0;
  background: linear-gradient(
    180deg,
    rgba(84, 231, 170, 0.11),
    rgba(84, 231, 170, 0.045)
  );
}
.eyebrow {
  border-color: rgba(98, 201, 255, 0.25);
  color: #d7f3ff;
  background: rgba(98, 201, 255, 0.075);
}
.hero-card,
.calculator,
.seo-intro,
.faq-section {
  border-color: rgba(246, 199, 73, 0.24);
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(246, 199, 73, 0.075),
      transparent 29%
    ),
    radial-gradient(
      circle at 92% 0%,
      rgba(84, 231, 170, 0.045),
      transparent 27%
    ),
    linear-gradient(180deg, rgba(13, 19, 23, 0.93), rgba(6, 9, 12, 0.97));
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.035) inset;
}
.calculator {
  border-radius: 32px;
}
.control-panel {
  border-color: rgba(246, 199, 73, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent);
}
.field label {
  color: #151104;
  background: linear-gradient(180deg, #ffe383, #e3ad2f);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 249, 215, 0.32) inset;
}
.field input,
.field select,
.field textarea {
  border-color: rgba(246, 199, 73, 0.17);
  color: var(--text);
  background: rgba(3, 7, 10, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(246, 199, 73, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(98, 201, 255, 0.62);
  box-shadow:
    0 0 0 4px rgba(98, 201, 255, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.btn {
  border-color: rgba(246, 199, 73, 0.2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.03)
  );
}
.btn-primary {
  border-color: rgba(255, 240, 174, 0.5);
  color: #111006;
  background: linear-gradient(135deg, #ffe381 0%, #f5c541 52%, #d99d22 100%);
  box-shadow:
    0 14px 30px rgba(246, 199, 73, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}
.advanced,
.mini-tool,
.metric,
.table-wrap {
  border-color: rgba(246, 199, 73, 0.14);
  background: rgba(8, 13, 17, 0.72);
}
.metric {
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(98, 201, 255, 0.065),
      transparent 38%
    ),
    linear-gradient(145deg, rgba(14, 21, 25, 0.9), rgba(7, 11, 14, 0.9));
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.language-picker {
  position: relative;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.language-picker-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.language-combobox {
  position: relative;
}
.language-button {
  display: inline-grid;
  grid-template-columns: 24px minmax(64px, auto) 16px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(246, 199, 73, 0.25);
  border-radius: 999px;
  color: var(--gold2);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(246, 199, 73, 0.13),
      transparent 52%
    ),
    rgba(7, 12, 15, 0.94);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.language-button:hover,
.language-button:focus-visible,
.language-button.is-open {
  border-color: rgba(246, 199, 73, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(246, 199, 73, 0.08);
}
.language-button:hover {
  transform: translateY(-1px);
}
.language-button:focus-visible {
  outline: none;
}
.language-chevron {
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.language-button.is-open .language-chevron {
  transform: rotate(180deg);
}
.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 50;
  width: 228px;
  padding: 8px;
  border: 1px solid rgba(246, 199, 73, 0.24);
  border-radius: 18px;
  background: rgba(7, 12, 15, 0.98);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.055) inset;
  backdrop-filter: blur(24px);
}
.language-menu[hidden] {
  display: none !important;
}
.language-menu button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--soft);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.language-menu button small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  border-color: rgba(98, 201, 255, 0.18);
  color: #fff;
  background: rgba(98, 201, 255, 0.075);
  outline: none;
}
.language-menu button[aria-selected="true"] {
  border-color: rgba(246, 199, 73, 0.25);
  color: var(--gold2);
  background: rgba(246, 199, 73, 0.09);
}
.language-flag {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background-color: #fff;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.13) inset;
  flex: 0 0 auto;
}
.flag-es {
  background: linear-gradient(
    to bottom,
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}
.flag-fr {
  background: linear-gradient(
    to right,
    #002654 0 33.33%,
    #fff 33.33% 66.66%,
    #ce1126 66.66% 100%
  );
}
.flag-de {
  background: linear-gradient(
    to bottom,
    #151515 0 33.33%,
    #dd0000 33.33% 66.66%,
    #ffce00 66.66% 100%
  );
}
.flag-it {
  background: linear-gradient(
    to right,
    #009246 0 33.33%,
    #fff 33.33% 66.66%,
    #ce2b37 66.66% 100%
  );
}
.flag-zh {
  background: #de2910;
}
.flag-zh:after {
  content: "★";
  position: absolute;
  top: -2px;
  left: 3px;
  color: #ffde00;
  font-size: 8px;
  line-height: 1;
}
.flag-en {
  background:
    linear-gradient(
      34deg,
      transparent 41%,
      #fff 41% 47%,
      #c8102e 47% 53%,
      #fff 53% 59%,
      transparent 59%
    ),
    linear-gradient(
      -34deg,
      transparent 41%,
      #fff 41% 47%,
      #c8102e 47% 53%,
      #fff 53% 59%,
      transparent 59%
    ),
    linear-gradient(
      to right,
      transparent 39%,
      #fff 39% 46%,
      #c8102e 46% 54%,
      #fff 54% 61%,
      transparent 61%
    ),
    linear-gradient(
      to bottom,
      transparent 34%,
      #fff 34% 43%,
      #c8102e 43% 57%,
      #fff 57% 66%,
      transparent 66%
    ),
    #012169;
}
@media (max-width: 820px) {
  .language-picker-label {
    display: none;
  }
}
@media (max-width: 640px) {
  .language-picker {
    order: -1;
  }
  .language-button {
    grid-template-columns: 24px minmax(54px, auto) 15px;
    min-height: 42px;
  }
  .language-menu {
    right: auto;
    left: 0;
    width: min(228px, calc(100vw - 30px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-button,
  .language-chevron {
    transition: none !important;
  }
}
.top-nav {
  position: relative;
  z-index: 100000;
  overflow: visible !important;
}
.nav-meta,
.language-picker,
.language-combobox {
  position: relative;
  z-index: 100001;
}
.language-picker {
  isolation: isolate;
}
.language-menu {
  z-index: 2147483647;
}
.hero,
.calculator {
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .top-nav {
    z-index: 100000;
  }
  .language-menu {
    z-index: 2147483647;
  }
}

.brand {
  gap: 14px;
}
.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 22px rgba(226, 184, 86, 0.3));
}
.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  padding: 4px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.08),
      transparent 40%
    ),
    rgba(8, 8, 8, 0.18);
  border: 1px solid rgba(226, 184, 86, 0.18);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    border-color 0.22s ease;
}
.brand-name {
  font-size: clamp(28px, 2.2vw, 34px);
  letter-spacing: -0.04em;
}
.hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.52fr);
  gap: 24px;
  margin-top: 34px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 {
  max-width: 1100px;
  font-size: clamp(52px, 6.8vw, 104px);
  line-height: 0.9;
}
.lead {
  max-width: 920px;
  margin-top: 18px;
  font-size: clamp(17px, 1.45vw, 20px);
}
.hero-side {
  gap: 20px;
}
.hero-art {
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.hero-art:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 229, 163, 0.2);
  box-shadow:
    0 30px 74px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 229, 163, 0.04) inset;
}
.mascot-frame::after {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 28px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 229, 163, 0.12),
    transparent 68%
  );
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}
.hero-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 229, 163, 0.22);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 229, 163, 0.04) inset;
}
.hero-card strong {
  text-shadow: 0 0 22px rgba(226, 184, 86, 0.16);
}
@media (max-width: 980px) {
  .brand-logo {
    width: 64px;
    height: 64px;
  }
  .brand-name {
    font-size: clamp(22px, 4.8vw, 30px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
  .hero-copy,
  .hero-side {
    width: 100%;
    min-width: 0;
  }
  .hero-copy {
    align-self: auto;
  }
  .hero-side {
    grid-template-rows: auto auto;
  }
  h1 {
    max-width: 100%;
    font-size: clamp(42px, 10vw, 76px);
  }
  .lead {
    max-width: 100%;
  }
}
.brand--logo-only {
  gap: 0;
}
.brand--logo-only .brand-logo {
  width: auto;
  height: 56px;
  max-width: min(40vw, 260px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}
.brand--logo-only:hover .brand-logo {
  transform: translateY(-1px) scale(1.01);
  filter: drop-shadow(0 10px 22px rgba(226, 184, 86, 0.18));
}
@media (max-width: 980px) {
  .brand--logo-only .brand-logo {
    height: 46px;
    max-width: min(52vw, 220px);
  }
}
@media (max-width: 640px) {
  .brand--logo-only .brand-logo {
    height: 40px;
    max-width: min(58vw, 190px);
  }
}
.top-nav,
.calculator,
.seo-intro,
.faq-section {
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.top-nav:hover {
  border-color: rgba(226, 184, 86, 0.28);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 229, 163, 0.025) inset;
}
.calculator:focus-within {
  border-color: rgba(226, 184, 86, 0.34);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(226, 184, 86, 0.04) inset;
}
.control-panel .field {
  transition: transform 0.18s ease;
}
.control-panel .field:focus-within {
  transform: translateY(-2px);
}
.field input,
.field select,
.field textarea {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(226, 184, 86, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow:
    0 0 0 4px rgba(226, 184, 86, 0.07),
    0 12px 30px rgba(0, 0, 0, 0.18);
}
.btn {
  transform: translateZ(0);
}
.btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 0.06s;
}
.summary-grid .metric,
.mini-tool,
.faq-item {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.summary-grid .metric:hover,
.mini-tool:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 184, 86, 0.26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(226, 184, 86, 0.24);
  background: rgba(226, 184, 86, 0.035);
}
.faq-item[open] {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.results-table tbody tr {
  transition:
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.results-table tbody tr:hover {
  background: rgba(226, 184, 86, 0.045);
  box-shadow: inset 3px 0 0 rgba(226, 184, 86, 0.42);
}
@media (prefers-reduced-motion: reduce) {
  .summary-grid .metric,
  .mini-tool,
  .field,
  .btn {
    transition: none !important;
  }
}
#gdsCopySummary,
#gdsCopySummary:hover,
#gdsCopySummary:focus-visible,
#gdsCopySummary:active {
  transform: none !important;
}
#gdsCopySummary:hover,
#gdsCopySummary:focus-visible {
  background: linear-gradient(180deg, #f6d77f 0%, #dfb24a 100%);
  border-color: rgba(255, 239, 189, 0.56);
  box-shadow:
    0 12px 26px rgba(226, 184, 86, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  filter: none;
}
#gdsCopySummary:hover::before,
#gdsCopySummary:focus-visible::before {
  opacity: 0.35;
}
#gdsCopySummary:active {
  background: linear-gradient(180deg, #e9c65f 0%, #d4a23c 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.copy-summary-tool,
.copy-summary-tool:hover,
.copy-summary-tool:focus-within {
  transform: none !important;
}
.copy-summary-tool:hover,
.copy-summary-tool:focus-within {
  border-color: rgba(226, 184, 86, 0.25);
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(226, 184, 86, 0.055),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.012);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
@media (max-width: 640px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 26px;
    align-items: start;
  }
  .hero-copy,
  .hero-side {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(40px, 12.2vw, 56px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }
  .lead {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-side {
    grid-template-rows: auto auto;
    gap: 14px;
  }
  .hero-art {
    width: 100%;
    min-height: 260px;
    transform: none !important;
  }
  .mascot-frame {
    width: min(72vw, 250px);
  }
  .hero-card {
    width: 100%;
    transform: none !important;
  }
  .hero-art:hover,
  .hero-card:hover,
  .summary-grid .metric:hover,
  .mini-tool:hover {
    transform: none;
  }
}
@media (max-width: 430px) {
  .page-shell {
    width: calc(100% - 20px);
  }
  h1 {
    font-size: clamp(39px, 11.8vw, 50px);
    letter-spacing: -0.05em;
  }
  .hero-art {
    min-height: 240px;
  }
  .mascot-frame {
    width: min(70vw, 230px);
  }
}

/* v4.7: focus on earnings, with the calculator and results closer together. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 30px;
  margin-top: 28px;
}
.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.hero-copy .eyebrow {
  align-self: flex-start;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.09em;
}
.hero-copy .lead {
  max-width: 670px;
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.65;
}
.hero-side {
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 16px;
}
.hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-art:hover {
  transform: none;
  box-shadow: none;
}
.hero-art::before,
.hero-art::after,
.hero-card::after,
.mascot-speech::after {
  display: none;
}
.hero-art .mascot-frame {
  width: 116px;
}
.mascot-speech {
  position: static;
  margin: 0;
  padding: 0;
  max-width: 100%;
  align-items: center;
  text-align: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}
.mascot-speech .speech-small {
  display: none;
}
.mascot-speech strong {
  font-size: 12px;
}
.hero-card {
  width: 100%;
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
}
.hero-card p {
  font-size: 12px;
  line-height: 1.55;
  margin-top: 10px;
}
.calculator {
  margin-top: 26px;
}
.data-instructions {
  margin: 0;
  padding: 0 15px 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.advanced > summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}
.advanced[open] > summary::after {
  content: "−";
}
.summary-grid {
  padding-top: 6px;
}
.summary-grid .metric {
  border-color: rgba(98, 201, 255, 0.13);
}
.summary-grid .metric:nth-child(2) {
  border-color: rgba(246, 199, 73, 0.36);
}
.extras-panel {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.mini-tool {
  padding: 18px;
  border-radius: 18px;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .hero-side {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }
  .hero-art .mascot-frame {
    width: 88px;
  }
  .hero-card {
    padding: 16px 18px;
  }
  .hero-card strong {
    font-size: 28px;
  }
  .hero-card p {
    max-width: 500px;
  }
}
@media (max-width: 640px) {
  .hero {
    margin-top: 24px;
    gap: 14px;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 9.5vw, 48px);
  }
  .hero-copy .eyebrow {
    margin-bottom: 12px;
    padding: 6px 9px;
    font-size: 9px;
  }
  .hero-copy .lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-side {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }
  .hero-art {
    min-height: 0;
    gap: 6px;
  }
  .hero-art .mascot-frame {
    width: 72px;
  }
  .mascot-speech strong {
    font-size: 10px;
  }
  .hero-card {
    padding: 14px;
    border-radius: 16px;
  }
  .hero-card small {
    margin-bottom: 6px;
    font-size: 9px;
  }
  .hero-card p {
    font-size: 11px;
  }
  .calculator {
    margin-top: 20px;
  }
  .control-panel {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 16px 10px;
  }
  .control-panel > .field:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .control-panel > .league-field {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .control-panel > .field:last-child {
    grid-column: 2;
    grid-row: 1;
  }
  .calc-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .calc-actions .btn {
    padding: 12px 8px;
    font-size: 11px;
    line-height: 1.3;
  }
  #gdsManualPrices {
    min-height: 72px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-grid .metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    min-height: 0;
    padding: 14px;
  }
  .metric > span {
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
  }
  .metric > strong {
    font-size: 22px;
  }
  .metric > small {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
  }
  .data-instructions {
    font-size: 11px;
  }
}
