:root {
  --red-950: #130202;
  --red-900: #2d0304;
  --red-800: #5e0609;
  --red-700: #990a11;
  --red-600: #ce101b;
  --gold-600: #c98920;
  --gold-500: #f1b23d;
  --gold-300: #ffe38a;
  --paper: #fffaf0;
  --paper-2: #f6ebdc;
  --ink: #21120d;
  --muted: #75645b;
  --line: rgba(86, 19, 11, .14);
  --white: #fff;
  --max: 1180px;
  --shadow: 0 18px 42px rgba(39, 3, 5, .15);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.qq-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.qq-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid rgba(33, 18, 13, .08);
  box-shadow: 0 10px 26px rgba(33, 18, 13, .06);
}

.qq-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.qq-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qq-brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ffdc80 0%, #bf1119 44%, #470305 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 13px 26px rgba(87,4,8,.22);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.qq-brand-word {
  display: grid;
  line-height: 1;
}

.qq-brand-word strong {
  color: #16110f;
  font-size: 38px;
  font-weight: 900;
}

.qq-brand-word span {
  margin-top: 5px;
  color: #8b060c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.qq-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.qq-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #15100e;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.qq-nav a:hover,
.qq-nav .active {
  color: #9b0710;
  background: #fff3e1;
}

.qq-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.qq-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(180deg, #d71421 0%, #a30710 100%);
  box-shadow: 0 12px 24px rgba(117, 4, 12, .2);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.qq-btn.secondary {
  color: #301005;
  background: linear-gradient(180deg, #ffe58f 0%, #edaa35 100%);
  box-shadow: 0 12px 24px rgba(148, 87, 10, .2);
}

.qq-btn.dark {
  color: var(--gold-300);
  background: rgba(12, 2, 2, .42);
  border-color: rgba(255, 226, 141, .42);
  box-shadow: none;
}

.qq-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20,2,2,.02) 0%, rgba(20,2,2,.58) 72%, rgba(20,2,2,.92) 100%),
    linear-gradient(90deg, rgba(8,1,1,.96) 0%, rgba(22,2,2,.9) 34%, rgba(22,2,2,.36) 68%, rgba(8,1,1,.22) 100%),
    url("555qq-hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.qq-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, transparent, rgba(20, 2, 2, .92));
  pointer-events: none;
}

.qq-hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  padding: 76px 0 88px;
}

.qq-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 6px 0 rgba(0,0,0,.2), 0 22px 44px rgba(0,0,0,.34);
}

.qq-hero h1 .gold { color: var(--gold-300); }

.qq-hero p {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 250, 241, .88);
  font-size: 20px;
  font-weight: 700;
}

.qq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.qq-official {
  color: rgba(255,250,241,.9);
  font-size: 15px;
  font-weight: 800;
}

.qq-official a {
  color: var(--gold-300);
  font-weight: 900;
}

.qq-main {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 36%, var(--paper-2) 100%);
}

.qq-access { padding: 38px 0 28px; }

.qq-access-strip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 226, 141, .45);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,226,141,.18), transparent 26%),
    linear-gradient(135deg, #2d0304 0%, #6a090d 55%, #2a0304 100%);
  box-shadow: var(--shadow);
}

.qq-access-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #441104;
  background: linear-gradient(180deg, #ffe997, #e0a035);
  font-size: 22px;
  font-weight: 900;
}

.qq-access h2 {
  margin-bottom: 4px;
  color: var(--gold-300);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 900;
}

.qq-access p {
  margin-bottom: 0;
  color: rgba(255,250,241,.82);
  font-weight: 700;
}

.qq-section { padding: 58px 0; }

.qq-section-head {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.qq-section-head h2 {
  margin-bottom: 10px;
  color: #8f0710;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 900;
}

.qq-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.qq-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.qq-category-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(38,3,5,.08);
}

.qq-category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #4a1105;
  background: linear-gradient(180deg, #ffe997, #e1a037);
  font-size: 18px;
  font-weight: 900;
}

.qq-category-card h3 {
  margin-bottom: 8px;
  color: #7f070d;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.qq-category-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.qq-read-more {
  color: #b70d15;
  font-size: 13px;
  font-weight: 900;
}

.qq-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qq-info-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #ead7bd;
  background: linear-gradient(180deg, #fff 0%, #fff8ec 100%);
  box-shadow: 0 15px 32px rgba(38,3,5,.08);
}

.qq-info-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #4a1105;
  background: linear-gradient(180deg, #ffe997, #e1a037);
  font-size: 18px;
  font-weight: 900;
}

.qq-info-card h3 {
  margin-bottom: 8px;
  color: #7f070d;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
}

.qq-info-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.qq-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.qq-feature-visual {
  min-height: 430px;
  border-radius: 8px;
  border: 1px solid rgba(129,14,18,.18);
  background:
    linear-gradient(90deg, rgba(18,2,2,.08), transparent),
    url("555qq-feature.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qq-feature-copy h2 {
  margin-bottom: 14px;
  color: #7b060d;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

.qq-feature-copy > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.qq-feature-list {
  display: grid;
  gap: 14px;
}

.qq-feature-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid #ead7bd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38,3,5,.07);
}

.qq-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4a1105;
  background: linear-gradient(180deg, #ffe997, #e1a037);
  font-weight: 900;
}

.qq-feature-row h3 {
  margin-bottom: 3px;
  color: #8b0710;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.qq-feature-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.qq-steps-band {
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,226,141,.18), transparent 28%),
    linear-gradient(135deg, #250303 0%, #72080d 48%, #210303 100%);
  border-top: 1px solid rgba(255,226,141,.18);
  border-bottom: 1px solid rgba(255,226,141,.18);
}

.qq-steps-band .qq-section-head h2 { color: var(--gold-300); }
.qq-steps-band .qq-section-head p { color: rgba(255,250,241,.76); }

.qq-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.qq-step-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255,226,141,.26);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}

.qq-step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #4a1105;
  background: linear-gradient(180deg, #ffe997, #e1a037);
  font-weight: 900;
}

.qq-step-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
}

.qq-step-card p {
  margin-bottom: 0;
  color: rgba(255,250,241,.76);
  font-weight: 700;
}

.qq-news {
  background: #fff;
  border-top: 1px solid #ecddc7;
  border-bottom: 1px solid #ecddc7;
}

.qq-update-zone {
  max-width: 1060px;
  margin: 0 auto;
}

.qq-update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qq-update-card {
  min-height: 238px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ead7bd;
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(38,3,5,.07);
}

.qq-update-thumb {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #4a1105;
  background: linear-gradient(180deg, #ffe997, #d7972f);
  font-weight: 900;
}

.qq-update-tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a70b12;
  font-size: 12px;
  font-weight: 900;
}

.qq-update-card h3 {
  margin-bottom: 8px;
  color: #7b060d;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.qq-update-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.qq-update-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #8a786e;
  font-size: 13px;
  font-weight: 800;
}

.qq-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.qq-pagination a,
.qq-pagination span,
.qq-pagination li {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #ead7bd;
  background: #fff;
  color: #8b0710;
  font-weight: 900;
}

.qq-content-band { padding: 58px 0 76px; }

.qq-content-box {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid #b70d15;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qq-content-box h2 {
  margin-bottom: 14px;
  color: #7b060d;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.14;
  font-weight: 900;
}

.qq-content-box p,
.qq-content-box li {
  color: #3c2a22;
  font-size: 17px;
  font-weight: 600;
}

.qq-content-box ul { margin: 0; padding-left: 20px; }

.qq-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qq-faq-item {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid #ead7bd;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38,3,5,.07);
}

.qq-faq-item h3 {
  margin-bottom: 8px;
  color: #7b060d;
  font-size: 20px;
  font-weight: 900;
}

.qq-faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.qq-article-wrap {
  padding: 54px 0;
  background: #fff;
}

.qq-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: start;
}

.qq-article {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #fffaf1;
  border: 1px solid #ead7bd;
  box-shadow: var(--shadow);
}

.qq-crumb {
  margin-bottom: 18px;
  color: #8a786e;
  font-size: 14px;
  font-weight: 800;
}

.qq-article h1 {
  margin-bottom: 14px;
  color: #7b060d;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.qq-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  color: #8a786e;
  font-size: 14px;
  font-weight: 800;
}

.qq-article-summary {
  margin-bottom: 24px;
  padding: 18px;
  border-left: 4px solid #b70d15;
  background: #fff;
  color: #3c2a22;
  font-weight: 800;
}

.qq-article-body {
  color: #2f211b;
  font-size: 17px;
  font-weight: 600;
}

.qq-article-body img { border-radius: 8px; }

.qq-side {
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2b0304, #7c080f 58%, #250303);
  border: 1px solid rgba(255,226,141,.24);
  box-shadow: var(--shadow);
}

.qq-side h2 {
  margin-bottom: 14px;
  color: var(--gold-300);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 900;
}

.qq-side a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,226,141,.18);
  color: rgba(255,250,241,.9);
  font-weight: 900;
}

.qq-footer {
  padding: 42px 0;
  color: rgba(255,250,241,.78);
  background: #160202;
}

.qq-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.qq-footer h3 {
  margin-bottom: 12px;
  color: var(--gold-300);
  font-size: 20px;
  font-weight: 900;
}

.qq-footer p,
.qq-footer li {
  margin-bottom: 8px;
  font-weight: 700;
}

.qq-footer ul { margin: 0; padding: 0; list-style: none; }

@media (max-width: 1080px) {
  .qq-header-inner { flex-wrap: wrap; padding: 14px 0; }
  .qq-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .qq-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qq-info-grid, .qq-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qq-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .qq-shell { width: min(100% - 28px, var(--max)); }
  .qq-actions { width: 100%; }
  .qq-actions .qq-btn { flex: 1; }
  .qq-hero { min-height: auto; background-position: 62% center; }
  .qq-hero-content { padding: 58px 0 68px; }
  .qq-hero h1 { font-size: 44px; }
  .qq-hero p { font-size: 17px; }
  .qq-access-strip, .qq-split, .qq-article-layout { grid-template-columns: 1fr; }
  .qq-access-strip .qq-btn { width: 100%; }
  .qq-category-grid, .qq-update-list, .qq-faq-grid { grid-template-columns: 1fr; }
  .qq-feature-visual { min-height: 330px; }
  .qq-update-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .qq-brand-word strong { font-size: 30px; }
  .qq-brand-mark { width: 50px; height: 50px; }
  .qq-hero h1 { font-size: 38px; }
  .qq-info-grid, .qq-steps-grid, .qq-footer-grid { grid-template-columns: 1fr; }
  .qq-section { padding: 42px 0; }
}
