:root {
  --primary: #B91C1C;
  --secondary: #D4AF37;
  --accent: #10B981;
  --bg-dark: #1C1917;
  --bg-deeper: #0F0D0C;
  --bg-light: rgba(212, 175, 55, 0.06);
  --text-main: #FEF3C7;
  --text-muted: #A8A29E;
  --border-gold: rgba(212, 175, 55, 0.25);
  --shadow-red: 0 10px 40px rgba(185, 28, 28, 0.35);
  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }

h1, h2, h3, h4 {
  font-family: "STKaiti", "KaiTi", "楷体", "STSong", "宋体", serif;
  font-weight: 700;
  line-height: 1.3;
}

p { margin: 0 0 1rem; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(15, 13, 12, 0.95) 0%, rgba(28, 25, 23, 0.85) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--secondary);
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 2px;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  border-radius: 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 4px;
  height: 2px;
  background: var(--secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--secondary);
  width: 42px; height: 42px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  text-align: center;
}

.btn-liquid {
  background: linear-gradient(135deg, #B91C1C 0%, #7F1D1D 50%, #B91C1C 100%);
  background-size: 200% 200%;
  color: var(--text-main);
  box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-liquid::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(254, 243, 199, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-liquid:hover {
  background-position: 100% 100%;
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(185, 28, 28, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-liquid:hover::before { left: 100%; }

.btn-3d {
  background: linear-gradient(180deg, #D4AF37 0%, #B8941F 50%, #8B6F12 100%);
  color: #1C1917;
  box-shadow: 0 5px 0 #6B540D, 0 8px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid #E8C84A;
  font-weight: 800;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #6B540D, 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #6B540D, 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.card-glass {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(185, 28, 28, 0.04) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.card-glass:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-gold);
}

.card-flat {
  background: var(--bg-deeper);
  border: 1px solid rgba(168, 162, 158, 0.15);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-flat:hover {
  border-left-color: var(--secondary);
  background: #1A1715;
  transform: scale(1.02);
  box-shadow: var(--shadow-red);
}

.title-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.title-seal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  background: rgba(185, 28, 28, 0.15);
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--secondary);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.title-seal::before {
  content: "◆";
  color: var(--primary);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 3rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://oss.cyjxcfkjgame.com/game/20260522/23ff9c5a1de862671ad402432743cc34.gif") center/cover no-repeat;
  z-index: 0;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(28, 25, 23, 0.5) 0%, rgba(15, 13, 12, 0.92) 100%),
    linear-gradient(180deg, rgba(15, 13, 12, 0.4) 0%, rgba(15, 13, 12, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.25rem;
}

.hero-logo {
  width: clamp(120px, 18vw, 180px);
  margin: 0 auto 1.5rem;
  border: 2px solid var(--secondary);
  border-radius: 14px;
  box-shadow: var(--shadow-gold), 0 0 60px rgba(212, 175, 55, 0.4);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--text-main);
  margin: 0 0 1rem;
  text-shadow: 0 0 20px rgba(185, 28, 28, 0.6), 0 4px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 4px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--secondary);
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  margin: 0 0.3rem 0.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img {
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-red);
  transition: transform 0.5s ease;
}

.feature-img:hover { transform: scale(1.03) rotate(-1deg); }

.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 90px;
  background: var(--bg-deeper);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
}

.guide-toc h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-gold);
}

.guide-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-toc li { margin-bottom: 0.5rem; }

.guide-toc a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
}

.guide-toc a:hover {
  color: var(--secondary);
  border-left-color: var(--secondary);
  background: rgba(212, 175, 55, 0.05);
}

.guide-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 90px;
}

.guide-section h2 {
  color: var(--secondary);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--primary);
}

.codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.code-card {
  background: linear-gradient(160deg, rgba(185, 28, 28, 0.12) 0%, rgba(15, 13, 12, 0.6) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.code-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
}

.code-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: var(--secondary);
  box-shadow: var(--shadow-gold);
}

.code-card .code-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
  margin: 0.5rem 0;
}

.code-card .code-reward {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  min-height: 48px;
}

.copy-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--secondary);
  color: var(--bg-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--bg-deeper);
  border: 1px solid rgba(168, 162, 158, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-red);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--primary);
}

.news-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 0 0 0.75rem;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.news-card .read-more {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-card .read-more:hover { color: var(--accent); }

.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: var(--text-main);
}

.article-body h2 {
  color: var(--secondary);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin: 2.5rem 0 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--primary);
}

.article-body h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.75rem;
}

.article-body p { margin-bottom: 1.1rem; line-height: 1.85; }

.article-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  border-left: 4px solid var(--secondary);
  background: rgba(212, 175, 55, 0.06);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-main);
  border-radius: 0 6px 6px 0;
}

.article-meta {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-meta span i { color: var(--secondary); margin-right: 0.3rem; }

.download-zone {
  background:
    radial-gradient(ellipse at top, rgba(185, 28, 28, 0.15), transparent 60%),
    var(--bg-deeper);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(212, 175, 55, 0.02) 40px, rgba(212, 175, 55, 0.02) 80px);
  pointer-events: none;
}

.download-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.platform-icon {
  font-size: 1.5rem;
}

.qrcode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.qrcode-card {
  background: var(--bg-deeper);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.4s ease;
}

.qrcode-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-gold);
}

.qrcode-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.qrcode-card h4 {
  color: var(--secondary);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.qrcode-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.footer {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border-gold);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(168, 162, 158, 0.1);
  border-bottom: 1px solid rgba(168, 162, 158, 0.1);
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
}

.footer-links a:hover {
  color: var(--secondary);
  background: rgba(212, 175, 55, 0.08);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-contact span i { color: var(--secondary); margin-right: 0.4rem; }

.page-banner {
  position: relative;
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(185, 28, 28, 0.25), transparent 70%),
    linear-gradient(180deg, var(--bg-deeper) 0%, var(--bg-dark) 100%);
  z-index: 0;
}

.page-banner > .container { position: relative; z-index: 1; }

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--text-main);
  margin: 0 0 0.75rem;
  text-shadow: 0 0 20px rgba(185, 28, 28, 0.6);
  letter-spacing: 3px;
}

.page-banner .breadcrumb {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-banner .breadcrumb a:hover { color: var(--secondary); }

.breadcrumb i { color: var(--primary); margin: 0 0.5rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
}

.stat-box .num {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--secondary);
  font-family: "STKaiti", "KaiTi", serif;
  display: block;
}

.stat-box .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.class-card {
  background: var(--bg-deeper);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.4s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-red);
}

.class-card .class-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7F1D1D);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.class-card h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.class-card .class-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.class-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--secondary);
  color: var(--bg-dark);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-gold);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 13, 12, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-gold);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; }
  .nav-links a.active::after { display: none; }
  .grid-3, .grid-2, .news-grid, .feature-row, .qrcode-grid { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }
  .download-buttons { flex-direction: column; width: 100%; max-width: 320px; margin: 1.5rem auto 0; }
  .download-buttons .btn { width: 100%; }
  .codes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  html, body { overflow-x: hidden; }
  .container, .nav-inner { padding: 0 1rem; }
  .hero h1 { letter-spacing: 2px; }
  .nav-logo { font-size: 1rem; }
  .nav-logo img { width: 32px; height: 32px; }
}
