:root {
  --bg: #0c0d0b;
  --surface: #12130f;
  --surface-2: #171812;
  --surface-3: #1d1d16;
  --line: #343329;
  --line-gold: #6d5930;
  --gold: #e5bd70;
  --gold-light: #f4d598;
  --text: #eee8dc;
  --muted: #928b79;
  --blue: #1389dc;
  --green: #5db77a;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(117, 87, 37, .14), transparent 36rem),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, .button { font: inherit; }
.page-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .045;
  pointer-events: none;
  z-index: -1;
}
.page-glow-left { top: 20%; left: -25rem; background: var(--gold); }
.page-glow-right { top: 60%; right: -25rem; background: var(--gold); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 max(4vw, 24px);
  background: rgba(12, 13, 11, .88);
  border-bottom: 1px solid rgba(93, 86, 66, .28);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { display: flex; gap: 2rem; margin: 0 auto; color: #aaa28f; }
.site-header nav a:hover { color: var(--gold-light); }
.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #3b382e;
  border-radius: 6px;
  background: #12130f;
}
.language-switcher button {
  min-width: 38px;
  padding: 6px 8px;
  color: #7f796b;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
}
.language-switcher button:hover { color: var(--gold-light); }
.language-switcher button.active {
  color: #17130c;
  background: linear-gradient(135deg, #efd08e, #b98a43);
}

.section { width: min(1420px, 92vw); margin: 0 auto; padding: 8rem 0; }
.hero { min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5rem; padding-top: 4rem; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--gold); font-size: .77rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 1px; background: var(--gold); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.05; }
h1 { max-width: 820px; margin-top: 1.2rem; font-size: clamp(3rem, 5.4vw, 6.1rem); letter-spacing: -.035em; }
h1 em { color: var(--gold-light); font-style: normal; }
h2 { font-size: clamp(2.4rem, 4vw, 4.25rem); letter-spacing: -.025em; }
.hero-text { max-width: 700px; margin: 2rem 0; color: #aaa28f; font-size: clamp(1.05rem, 1.3vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  font-weight: 700;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #19150d; background: linear-gradient(135deg, #f0cf8c, #b9873f); box-shadow: 0 10px 35px rgba(183, 132, 58, .18); }
.button-ghost, .button-outline { background: #141510; color: var(--gold-light); }
.button-small { min-height: 40px; padding: .55rem 1rem; font-size: .85rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 1.6rem; color: #777365; font-size: .85rem; }
.hero-notes span::before { content: "✓"; margin-right: .45rem; color: var(--gold); }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.hero-logo { position: relative; z-index: 2; width: min(500px, 78%); filter: drop-shadow(0 25px 55px rgba(0,0,0,.65)); }
.orbit { position: absolute; border: 1px solid rgba(202, 162, 90, .15); border-radius: 50%; }
.orbit-one { width: 530px; height: 530px; }
.orbit-two { width: 680px; height: 680px; border-style: dashed; animation: spin 42s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rate-card, .monitor-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  border: 1px solid #3a382e;
  border-radius: 8px;
  background: rgba(21, 22, 17, .92);
  box-shadow: 0 20px 35px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.rate-card img { width: 46px; height: 46px; object-fit: contain; }
.rate-card small, .rate-card strong { display: block; }
.rate-card small { color: var(--muted); }
.rate-card strong { color: var(--gold-light); font-size: 1.15rem; }
.rate-card-chaos { top: 18%; left: 0; }
.rate-card-divine { right: -2%; bottom: 25%; }
.monitor-pill { left: 5%; bottom: 10%; color: #b8baa9; font-size: .85rem; }
.monitor-pill i, .window-status i { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1420px, 92vw);
  margin: 0 auto;
  border-block: 1px solid var(--line);
}
.stats-band div { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 2rem 1rem; border-right: 1px solid var(--line); }
.stats-band div:last-child { border: 0; }
.stats-band strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 2rem; }
.stats-band span { color: var(--muted); font-size: .8rem; text-align: center; }

.section-centered .section-heading { text-align: center; margin-inline: auto; }
.section-centered .eyebrow { justify-content: center; }
.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
.section-heading h2 { margin: 1rem 0; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-heading-left { max-width: 900px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-card { min-height: 270px; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.feature-card.featured { border-color: var(--line-gold); background: linear-gradient(145deg, #1b1a13, #12130f); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 2.2rem; color: var(--gold-light); background: #242117; border: 1px solid var(--line-gold); border-radius: 7px; font-size: 1.5rem; }
.feature-card h3 { font-family: Georgia, serif; font-size: 1.4rem; }
.feature-card p { color: var(--muted); font-size: .92rem; }

.showcase { display: grid; gap: 3rem; }
.app-shot { overflow: hidden; border: 1px solid #3b392f; border-radius: 12px; background: #10110e; box-shadow: 0 28px 80px rgba(0,0,0,.42); font-size: clamp(7px, .73vw, 13px); }
.window-bar { height: 48px; display: flex; align-items: center; padding: 0 16px; background: #10110e; border-bottom: 1px solid #2d2d27; }
.window-title { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-family: Georgia, serif; font-weight: 700; font-size: 1.1em; }
.window-title img { width: 27px; height: 27px; }
.window-rates { display: flex; gap: 20px; margin-left: auto; margin-right: 30px; }
.window-rates span { display: flex; align-items: center; gap: 6px; color: #d9c79f; }
.window-rates img { width: 25px; height: 25px; object-fit: contain; }
.window-controls { color: #d9c79f; }
.app-layout { min-height: 610px; display: grid; grid-template-columns: 132px 1fr; }
.app-nav { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 10px; color: #817b6d; border-right: 1px solid #2d2d27; }
.app-nav img { width: 78px; margin-bottom: 8px; }
.app-nav span { width: 100%; padding: 12px 8px; text-align: center; border-radius: 5px; }
.app-nav .active { color: white; background: #1288dc; }
.app-content, .monitor-content { padding: 28px; }
.app-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.app-heading h3 { margin: 0; color: var(--gold-light); font-family: Georgia, serif; font-size: 2.25em; }
.app-heading p { margin: .25em 0 0; color: var(--muted); }
.app-shot button { padding: .7em 1.15em; color: var(--gold-light); border: 1px solid var(--line-gold); border-radius: 5px; background: #171712; }
.query-line { display: flex; gap: 10px; margin: 22px 0; }
.query-line span { padding: .65em 1em; color: #c8b78f; background: #171712; border: 1px solid #353229; border-radius: 4px; }
.result-list { display: grid; gap: 10px; }
.result-row { display: grid; grid-template-columns: 64px minmax(240px, 1.7fr) minmax(120px, .7fr) minmax(110px, .55fr) auto; align-items: center; gap: 18px; min-height: 140px; padding: 16px; background: #151612; border: 1px solid #37352d; border-radius: 7px; }
.item-art { width: 54px; height: 54px; border: 2px solid #806a3f; background: radial-gradient(circle, #b58f47, #262116 60%, #0f100d 62%); transform: rotate(45deg); }
.amulet-art { border-radius: 50%; }
.boots-art { border-radius: 60% 30% 45% 30%; }
.item-info strong, .item-info small { display: block; }
.item-info strong { color: #e2c88f; font-size: 1.2em; }
.item-info small { color: #777467; margin-top: 2px; }
.item-info p { color: #aaa18c; }
.seller { color: #aaa18c; }
.seller small { display: block; margin-top: 5px; color: #65645a; }
.online, .away { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.away { background: #bd984c; }
.price { display: grid; grid-template-columns: auto 27px; align-items: center; gap: 5px; color: var(--gold-light); }
.price strong { font-size: 1.6em; }
.price img { width: 27px; }
.price small { grid-column: 1 / -1; color: #777467; }

.monitoring-shot { margin-inline: 5%; }
.window-status { display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 30px; color: #9d9685; }
.monitor-content { min-height: 510px; }
.monitor-actions { display: flex; gap: 8px; }
.monitor-query { margin-top: 24px; padding: 18px; border: 1px solid #3a382f; border-radius: 7px; background: #151612; }
.monitor-top, .monitor-fields { display: flex; align-items: center; gap: 10px; }
.monitor-top { justify-content: space-between; }
.badge { padding: .25em .75em; color: #a9d5b4; background: #16301e; border-radius: 20px; }
.monitor-fields { margin: 14px 0; }
.monitor-fields span { padding: .65em 1em; color: #d4c199; border: 1px solid #403d32; border-radius: 4px; }
.monitor-query p { color: #8a8475; }
.notification { display: flex; align-items: center; gap: 16px; margin-top: 15px; padding: 15px; background: #172019; border: 1px solid #314637; border-radius: 7px; }
.notification-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #122016; background: #74ba86; border-radius: 50%; font-weight: bold; }
.notification p { margin: 3px 0 0; color: #829286; }
.notification > span { margin-left: auto; color: #647268; }
.mini-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 15px; }
.mini-results div { display: grid; padding: 14px; background: #151612; border: 1px solid #34332b; border-radius: 6px; }
.mini-results span { margin: 8px 0; color: #8d8777; }
.mini-results em { color: var(--gold-light); font-style: normal; }

.roadmap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7rem; align-items: start; }
.roadmap h2 { margin-top: 1rem; }
.roadmap-list { border-top: 1px solid var(--line); }
.roadmap-list > div { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.roadmap-list b { color: var(--gold); font-family: Georgia, serif; font-size: 1.4rem; }
.roadmap-list strong, .roadmap-list small { display: block; }
.roadmap-list strong { font-size: 1.1rem; }
.roadmap-list small { margin-top: .35rem; color: var(--muted); }

.download-section { position: relative; overflow: hidden; padding-inline: max(4vw, 30px); text-align: center; background: linear-gradient(145deg, #171812, #10110e); border: 1px solid #3a382e; border-radius: 14px; }
.download-section > img { position: absolute; width: 520px; right: -170px; bottom: -230px; opacity: .055; }
.download-section .eyebrow { justify-content: center; }
.download-section h2 { margin: 1rem 0; }
.download-section > p { color: var(--muted); }
.download-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 900px; margin: 3rem auto 2rem; text-align: left; }
.download-grid article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; padding: 1.4rem; background: #11120f; border: 1px solid var(--line); border-radius: 8px; }
.download-grid h3, .download-grid p { margin: 0; }
.download-grid p { color: var(--muted); font-size: .85rem; }
.platform-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-light); background: #211e15; border-radius: 6px; font-size: 1.5rem; }
.button-disabled { min-height: 42px; padding: .6rem 1rem; color: #777266; border-color: #3c392f; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.version-note { color: #6f6b5f; }

footer { width: min(1420px, 92vw); min-height: 120px; display: flex; align-items: center; gap: 2rem; margin: 0 auto; color: #716d61; border-top: 1px solid var(--line); font-size: .85rem; }
footer .brand { margin-right: auto; font-size: .95rem; }
footer .brand img { width: 34px; height: 34px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .app-shot { font-size: 9px; }
  .result-row { grid-template-columns: 54px 1.6fr .7fr .55fr; }
  .result-row > button { display: none; }
  .roadmap { gap: 3rem; }
}

@media (max-width: 760px) {
  :root { --header: 66px; }
  .site-header nav, .site-header > .button { display: none; }
  .site-header { gap: 1rem; }
  .site-header .brand { margin-right: auto; font-size: .95rem; }
  .site-header .brand img { width: 36px; height: 36px; }
  .section { padding: 5rem 0; }
  .hero { width: 100%; gap: 1rem; padding: 3rem 20px 5rem; overflow: hidden; }
  h1 { width: 100%; max-width: calc(100vw - 40px); font-size: clamp(2.1rem, 8.8vw, 4.6rem); }
  .hero-copy, .hero-text { width: 100%; max-width: calc(100vw - 40px); }
  .hero-copy > * { max-width: 100%; }
  .hero-text { font-size: .95rem; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .12em; }
  .hero-notes { justify-content: center; }
  .hero-visual { min-height: 430px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 410px; height: 410px; }
  .rate-card { transform: scale(.8); }
  .rate-card-chaos { left: -6%; }
  .rate-card-divine { right: -7%; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band div:nth-child(2) { border-right: 0; }
  .feature-grid, .download-grid, .roadmap { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .app-shot { overflow-x: auto; }
  .window-bar, .app-layout, .monitor-content { min-width: 760px; }
  .monitoring-shot { margin-inline: 0; }
  .mini-results { grid-template-columns: 1fr; }
  .download-grid article { grid-template-columns: auto 1fr; }
  .download-grid .button { grid-column: 1 / -1; }
  footer { flex-direction: column; align-items: flex-start; padding: 2rem 0; gap: .6rem; }
  footer .brand { margin: 0; }
}
