:root {
  --bg: #f8f5f2;
  --text: #111111;
  --muted: #6a6663;
  --gold: #d8ad2d;
  --red: #a61e22;
  --ease: cubic-bezier(.22,.61,.36,1);

  --content-width: 1420px;
  --chart-width: 1320px;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden !important;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.aureus-app * {
  box-sizing: border-box;
}

.aureus-app {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% 108%, rgba(54, 54, 54, 0.13) 0%, rgba(120, 116, 110, 0.08) 32%, rgba(255,255,255,0) 76%),
    radial-gradient(900px 420px at 8% 100%, rgba(80, 76, 72, 0.10) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(900px 420px at 92% 100%, rgba(80, 76, 72, 0.10) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fbf8f5 0%, #f8f5f2 58%, #ece8e3 100%);
}

.aureus-app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.32), rgba(255,255,255,0) 46%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.aureus-shell {
  position: relative;
  z-index: 1;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh;
  padding: 0 16px;
  display: grid;
  grid-template-rows: 72px auto minmax(0, 1fr) 58px;
  overflow: hidden;
}

.aureus-topbar,
.aureus-hero,
.aureus-footer-inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.aureus-chart-card {
  width: 100%;
  max-width: var(--chart-width);
  margin: 0 auto;
}

.aureus-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(80,76,72,0.10);
}

.aureus-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.aureus-brand-mark {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe16a 0%, #f0c332 45%, #c99618 100%);
  box-shadow:
    0 0 0 6px rgba(255, 225, 106, 0.20),
    0 0 18px rgba(240, 195, 50, 0.30);
  flex: 0 0 auto;
}

.aureus-logo {
  display: block;
  height: 22px;
  width: auto;
}

.aureus-prices-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.aureus-prices-updated {
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  color: #8a827c;
  letter-spacing: 0.01em;
  padding-right: 2px;
}

.aureus-prices {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.aureus-price-card {
  min-width: 100px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
  backdrop-filter: blur(10px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.aureus-price-card:hover {
  transform: translateY(-1px);
  border-color: rgba(216,173,45,0.24);
  box-shadow: 0 8px 18px rgba(17,17,17,0.04);
}

.aureus-price-label {
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.aureus-price-value {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.aureus-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 0 10px;
  text-align: center;
}

.aureus-copy {
  max-width: 960px;
  animation: aureusFadeUp .7s var(--ease) both;
}

.aureus-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.aureus-title {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px;
  font-size: clamp(34px, 10vw, 44px) !important;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-align: center;
  white-space: normal !important;
  overflow-wrap: normal;
}

.aureus-title span {
  display: block;
  margin-top: 4px;
}

.aureus-title-accent {
  color: var(--red);
  margin-left: 0;
}

.aureus-chart-section {
  min-height: 0;
  overflow: hidden;
  padding: 8px 0 10px;
  animation: aureusFadeUp .95s var(--ease) both;
}

.aureus-chart-card {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.64) 100%);
  border: 1px solid rgba(80,76,72,0.10);
  box-shadow:
    0 18px 48px rgba(17,17,17,0.05),
    inset 0 1px 0 rgba(255,255,255,0.42),
    0 0 24px rgba(80,76,72,0.035);
  backdrop-filter: blur(12px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.aureus-chart-card:hover {
  transform: translateY(-1px);
  border-color: rgba(80,76,72,0.13);
  box-shadow:
    0 22px 54px rgba(17,17,17,0.06),
    inset 0 1px 0 rgba(255,255,255,0.44),
    0 0 28px rgba(199,165,75,0.03);
}

.aureus-tv-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(80,76,72,0.10);
  background:
    radial-gradient(circle at 50% 100%, rgba(199,165,75,0.04), transparent 34%),
    linear-gradient(180deg, #fbf8f5 0%, #f8f5f2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 8px 18px rgba(17,17,17,0.03);
}

.aureus-tv-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0)),
    radial-gradient(circle at 50% 120%, rgba(199,165,75,0.03), rgba(255,255,255,0));
}

.aureus-tv-wrap .tradingview-widget-container,
.aureus-tv-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.aureus-footer {
  border-top: 1px solid rgba(80,76,72,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%);
}

.aureus-footer-inner {
  height: 100%;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 0.72fr 1.38fr 0.9fr;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  color: #665f5a;
}

.aureus-footer-left {
  justify-self: start;
  font-weight: 700;
  color: #665f5a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.aureus-footer-center {
  justify-self: center;
  text-align: center;
  color: #665f5a;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.aureus-footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: nowrap;
  color: #665f5a;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.aureus-footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(216,173,45,0.72);
  flex: 0 0 auto;
}

.aureus-loading {
  opacity: 0.55;
}

@keyframes aureusFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  html,
  body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  .aureus-app,
  .aureus-shell {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
  }

  .aureus-shell {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
  }

  .aureus-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 14px;
    gap: 14px;
  }

  .aureus-prices-wrap {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .aureus-prices {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .aureus-price-card {
    min-width: 0;
    width: 100%;
  }

  .aureus-hero {
    padding: 22px 0 16px;
  }

  .aureus-chart-section {
    min-height: unset;
    padding: 0 0 22px;
  }

  .aureus-chart-card {
    min-height: 620px;
  }

  .aureus-footer-inner {
    min-height: 92px;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .aureus-footer-center {
    text-align: left;
    white-space: normal;
  }

  .aureus-footer-right {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .aureus-shell {
    padding: 0 14px;
  }

  .aureus-topbar {
    padding: 18px 0 14px;
    gap: 14px;
  }

  .aureus-brand {
    gap: 12px;
  }

  .aureus-logo {
    height: 26px;
    width: auto;
  }

  .aureus-prices-updated {
    font-size: 14px;
    padding-left: 2px;
  }

  .aureus-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .aureus-price-card {
    padding: 12px;
    border-radius: 18px;
  }

  .aureus-price-label {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .aureus-price-value {
    font-size: 17px;
  }

  .aureus-hero {
    padding: 18px 0 8px;
  }

  .aureus-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .aureus-title {
    font-size: clamp(34px, 11vw, 46px) !important;
    line-height: 0.92;
    letter-spacing: -0.055em;
    max-width: 100%;
    text-align: center;
  }

    .aureus-chart-card {
    min-height: 560px;
    height: 560px;
    padding: 10px;
    border-radius: 24px;
  }

  .aureus-tv-wrap,
  .aureus-tv-wrap .tradingview-widget-container,
  .aureus-tv-wrap iframe {
    height: 100% !important;
    min-height: 0 !important;
  }

  .aureus-footer {
    margin-top: 10px;
  }

  .aureus-footer-inner {
    padding: 16px 0;
    min-height: unset;
  }

  .aureus-footer-left,
  .aureus-footer-center,
  .aureus-footer-right {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .aureus-footer-center {
    white-space: normal;
    line-height: 1.45;
  }

  .aureus-footer-right {
    gap: 8px;
    white-space: normal;
    font-size: 11px;
  }
}

@media (max-width: 1440px) and (max-height: 950px) {
  .aureus-shell {
    grid-template-rows: 60px auto minmax(0, 1fr) 48px;
    padding: 0 14px;
  }

  .aureus-topbar,
  .aureus-hero,
  .aureus-footer-inner {
    max-width: 1320px;
  }

  .aureus-chart-card {
    max-width: 1240px;
  }

  .aureus-prices-wrap {
    gap: 8px;
  }

  .aureus-prices-updated {
    font-size: 10px;
  }

  .aureus-price-card {
    min-width: 92px;
    padding: 7px 9px;
  }

  .aureus-price-label {
    font-size: 8.5px;
    margin-bottom: 4px;
  }

  .aureus-price-value {
    font-size: 13.5px;
  }

  .aureus-hero {
    padding: 16px 0 8px;
  }

  .aureus-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .aureus-title {
    margin-bottom: 8px;
    font-size: clamp(30px, 2.4vw, 56px) !important;
  }

  .aureus-chart-section {
    padding: 6px 0 8px;
  }

  .aureus-chart-card {
    padding: 10px;
    border-radius: 24px;
  }

  .aureus-tv-wrap {
    border-radius: 20px;
  }

  .aureus-footer-inner {
    min-height: 48px;
    gap: 14px;
    font-size: 11px;
    grid-template-columns: 0.65fr 1.3fr 1fr;
  }

  .aureus-footer-center {
    font-size: 10px;
    line-height: 1.3;
  }

  .aureus-footer-right {
    gap: 7px;
    font-size: 10.5px;
  }
}

@media (max-height: 830px) and (min-width: 768px) {
  .aureus-shell {
    grid-template-rows: 56px auto minmax(0, 1fr) 44px;
  }

  .aureus-hero {
    padding: 12px 0 6px;
  }

  .aureus-title {
    margin-bottom: 6px;
    font-size: clamp(28px, 2.25vw, 50px) !important;
  }

  .aureus-chart-card {
    padding: 8px;
  }

  .aureus-footer-inner {
    min-height: 44px;
  }

}

@media (min-width: 1800px) {
  :root {
    --content-width: 1680px;
    --chart-width: 1560px;
  }

  .aureus-shell {
    grid-template-rows: 76px auto minmax(0, 1fr) 64px;
    padding: 0 24px;
  }

  .aureus-price-card {
    min-width: 112px;
    padding: 10px 13px;
  }

  .aureus-price-value {
    font-size: 17px;
  }

  .aureus-hero {
    padding: 26px 0 14px;
  }

  .aureus-title {
    font-size: clamp(44px, 2.8vw, 74px) !important;
  }

  .aureus-chart-card {
    padding: 16px;
    border-radius: 32px;
  }

  .aureus-tv-wrap {
    border-radius: 26px;
  }

  .aureus-footer-inner {
    min-height: 64px;
    font-size: 13px;
    grid-template-columns: 0.75fr 1.35fr 0.9fr;
  }

  .aureus-footer-center {
    font-size: 12px;
  }

  .aureus-footer-right {
    font-size: 12px;
    gap: 10px;
  }
}

@media (min-width: 2200px) {
  :root {
    --content-width: 1840px;
    --chart-width: 1700px;
  }

  .aureus-title {
    font-size: clamp(52px, 2.6vw, 82px) !important;
  }

  .aureus-chart-card {
    padding: 18px;
  }
}

.aureus-logo-text {
  display: flex;
  align-items: center;
  }

  .aureus-name {
  font-size: 22px;          
  font-weight: 400;       
  letter-spacing: -0.02em;
  color: #111;
}

.aureus-chart-fallback {
  display: none;
  position: absolute;
  inset: 18px;
  z-index: 5;
  border-radius: 18px;
  background: rgba(248,245,242,0.92);
  border: 1px solid rgba(80,76,72,0.10);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: #111;
  font-size: 14px;
}

.aureus-chart-fallback span {
  color: #665f5a;
  font-size: 13px;
}

.aureus-chart-fallback a {
  margin-top: 6px;
  color: #a61e22;
  font-weight: 700;
  text-decoration: none;
}

.aureus-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aureus-brand-coin {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;

  filter:
    drop-shadow(0 2px 6px rgba(180,130,20,0.18));

  transform: translateY(0.5px);
}
