:root {
  --qtr-maroon: #7b1234;
  --qtr-deep: #12040a;
  --qtr-gold: #f3c461;
  --qtr-ink: #f9fafb;
  --qtr-muted: rgba(249, 250, 251, 0.72);
  --qtr-line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 18, 52, 0.34), transparent 28%),
    linear-gradient(135deg, #0b0508 0%, #160811 44%, #050506 100%);
  color: var(--qtr-ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.qtr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 5, 7, 0.86);
  border-bottom: 1px solid var(--qtr-line);
  backdrop-filter: blur(16px);
}

.qtr-header__inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.qtr-brand {
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.qtr-brand img {
  width: 240px;
  height: 52px;
  object-fit: contain;
}

.qtr-brand > div {
  display: none;
}

.qtr-brand span {
  display: block;
  font-size: 12px;
  color: var(--qtr-muted);
  font-weight: 800;
}

.qtr-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 800;
}

.qtr-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  white-space: nowrap;
}

.qtr-nav a:hover {
  color: #fff;
}

.qtr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--qtr-gold), #fff0a6);
  color: #150707;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 12px 34px rgba(243, 196, 97, 0.2);
}

.qtr-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--qtr-line);
  background:
    linear-gradient(135deg, rgba(123, 18, 52, 0.38), rgba(5, 5, 6, 0.68)),
    url("assets/qtr-fc27-hero.jpg") center/cover no-repeat;
}

.qtr-hero__inner {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 70px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: center;
}

.qtr-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(243, 196, 97, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #f8d991;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.qtr-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.qtr-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.qtr-hero-card {
  padding: 20px;
  border: 1px solid var(--qtr-line);
  border-radius: 16px;
  background: rgba(8, 8, 10, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.qtr-platform-hero-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
}

.qtr-platform-hero-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(247, 209, 125, 0.2);
  border-radius: 12px;
  background: #140811;
}

.qtr-hero-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.qtr-hero-card span {
  display: block;
  margin-top: 8px;
  color: var(--qtr-muted);
  font-weight: 800;
}

.qtr-main {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 42px 0 58px;
}

.qtr-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--qtr-line);
}

.qtr-section:first-child {
  padding-top: 0;
}

.qtr-section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.06;
}

.qtr-section p {
  max-width: 850px;
  color: var(--qtr-muted);
}

.qtr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.qtr-card {
  padding: 18px;
  border: 1px solid var(--qtr-line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.qtr-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.qtr-card p {
  margin: 0;
  color: var(--qtr-muted);
  font-size: 14px;
}

.qtr-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.qtr-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.qtr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.qtr-panel {
  padding: 20px;
  border: 1px solid rgba(243, 196, 97, 0.28);
  border-radius: 16px;
  background: rgba(123, 18, 52, 0.2);
}

.qtr-footer {
  border-top: 1px solid var(--qtr-line);
  background: #070506;
}

.qtr-footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 30px 0;
  display: grid;
  gap: 18px;
}

.qtr-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qtr-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.qtr-footer-links a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .qtr-header__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 14px 0;
  }

  .qtr-brand {
    min-width: 0;
  }

  .qtr-brand img {
    width: 190px;
    height: 44px;
  }

  .qtr-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

@media (max-width: 820px) {
  .qtr-hero__inner,
  .qtr-split {
    grid-template-columns: 1fr;
  }

  .qtr-grid {
    grid-template-columns: 1fr;
  }

  .qtr-hero-card {
    max-width: 430px;
  }

  .qtr-platform-hero-card img {
    max-height: 360px;
  }

  .qtr-hero p {
    font-size: 16px;
  }
}
