:root {
  --green: #35b832;
  --dark-green: #15952f;
  --yellow: #ffc928;
  --orange: #ff9f1c;
  --cream: #fff8e6;
  --panel: #fff4d8;
  --brown: #7a4b18;
  --text: #2b2b2b;
  --white: #ffffff;
  --line: #efd28a;
  --shadow: 0 18px 40px rgba(122, 75, 24, 0.16);
  --shadow-soft: 0 10px 24px rgba(122, 75, 24, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-bg::after {
  content: none;
}

.site-bg-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 20px 0 10px;
}

.header-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
}

.brand img {
  height: 62px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-hover {
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 5px;
  background: var(--yellow);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-link.is-active::after,
.nav-link:hover::after,
.nav-link.is-hover::after {
  width: 34px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-list {
  display: flex;
  gap: 10px;
}

.social-item {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2f74b8;
  box-shadow: 0 8px 18px rgba(14, 96, 151, 0.16);
  transition: transform 0.2s ease;
}

.social-item svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-item:hover {
  transform: translateY(-3px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 18px rgba(122, 75, 24, 0.16);
}

.btn:hover,
.btn.is-hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow: 0 16px 28px rgba(122, 75, 24, 0.22);
}

.btn-primary {
  color: #4a2c04;
  background: linear-gradient(180deg, #ffe989 0%, var(--yellow) 58%, #ffb31b 100%);
}

.btn-outline {
  color: var(--white);
  background: linear-gradient(180deg, #53d650 0%, var(--green) 58%, var(--dark-green) 100%);
}

.btn-green {
  color: var(--white);
  background: linear-gradient(180deg, #58dd58 0%, var(--green) 58%, var(--dark-green) 100%);
}

.btn-light {
  color: var(--dark-green);
  background: linear-gradient(180deg, #ffffff 0%, #f2fff4 100%);
}

.btn-lg {
  min-width: 180px;
  min-height: 58px;
  font-size: 20px;
}

.header-btn {
  font-size: 18px;
}

/* Hero */
.hero-section {
  position: relative;
  margin-top: 0;
  padding: 120px 0 110px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
  min-height: 650px;
}

.hero-content {
  position: relative;
  max-width: none;
  width: 100%;
  overflow: visible;
}

.hero-poster {
  width: 760px;
  max-width: none;
  height: auto;
  object-fit: contain;
  margin-top: -145px;
  margin-left: -30px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.16));
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  margin-left: 50px;
}

.hero-actions .btn-lg {
  min-width: 234px;
  min-height: 76px;
  padding: 0 24px;
  font-size: 26px;
  justify-content: space-between;
}

.hero-btn-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  left: 100px;
  min-height: 540px;
}

.hero-cow {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: min(100%, 650px);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.18));
}

.hero-decor {
  position: absolute;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14));
}

.decor-milk {
  left: 40px;
  top: 110px;
  width: 110px;
}

.decor-coin {
  right: 54px;
  top: 118px;
  width: 128px;
}

.decor-flower {
  left: 10px;
  bottom: 20px;
  width: 120px;
}

.decor-board {
  right: 10px;
  bottom: 100px;
  width: 170px;
}

/* Feature cards */
.feature-grid {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -118px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,248,230,0.98) 100%);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  flex: 0 0 auto;
}

.feature-icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.1;
  color: var(--brown);
}

.feature-card p {
  margin: 0;
  color: #7b6952;
  font-size: 13px;
  line-height: 1.25;
}

/* Main panel */
.game-panel {
  position: relative;
  width: min(96%, 1560px);
  margin: -90px auto 0;
  padding: 28px 0 34px;
  border-radius: 42px;
  background: rgba(255, 244, 216, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: inset 0 8px 0 rgba(255,255,255,0.28);
}

.game-panel > .container {
  width: calc(100% - 24px);
  max-width: 1536px;
}

.content-section + .content-section {
  margin-top: 24px;
}

.top-panel-grid {
  --top-panel-body-height: 212px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.26fr) minmax(210px, 0.6fr);
  gap: 6px;
  align-items: start;
  margin-top: 8px;
}

.top-panel-grid .content-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.top-panel-grid .content-section + .content-section {
  margin-top: 0;
}

.top-panel-grid .step-grid,
.top-panel-grid .level-grid {
  gap: 8px;
}

.top-panel-grid .step-grid {
  height: calc(var(--top-panel-body-height) - 8px);
}

.top-panel-grid .level-grid {
  height: var(--top-panel-body-height);
}

#pools {
  margin-top: 0;
  padding-bottom: 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #58de52 0%, var(--green) 58%, var(--dark-green) 100%);
  border: 2px solid rgba(255,255,255,0.9);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.section-star {
  color: var(--yellow);
  font-size: 24px;
}

/* Hover */
.hover-lift {
  transition: box-shadow 0.28s ease;
}

.hover-lift:hover,
.hover-lift.is-hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

/* Step cards */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  aspect-ratio: 1 / 1.5;
  padding: 12px 8px 10px;
  text-align: left;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf0 58%, #f8f2e6 100%);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.step-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.step-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 74px;
  border-radius: 999px 999px 18px 18px;
  background: radial-gradient(circle at center, rgba(255, 220, 120, 0.22) 0%, rgba(255, 244, 208, 0.12) 48%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.step-card::after {
  display: none;
}

.step-no {
  position: static;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #58de52 0%, var(--green) 58%, var(--dark-green) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  flex: 0 0 auto;
}

.step-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 112px;
  height: 98px;
  object-fit: contain;
  object-position: center bottom;
  margin: auto auto 0;
  display: block;
}

.step-card-lg-left img,
.step-card-lg-right img {
  max-width: 126px;
  height: 110px;
  object-position: center bottom;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  min-height: 0;
  font-size: 14px;
  line-height: 1.08;
  color: var(--brown);
}

.step-card p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  padding: 0 6px;
  min-height: 28px;
  font-size: 11px;
  color: #78674d;
  line-height: 1.2;
  text-align: center;
}

/* Level cards */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.cow-level-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
  padding: 10px 10px 8px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffef9 0%, #fffaf0 100%);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.level-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.chip-green { background: linear-gradient(180deg, #58de52 0%, var(--green) 58%, var(--dark-green) 100%); }
.chip-yellow { background: linear-gradient(180deg, #ffe17a 0%, #f7ba17 100%); color: #5c3503; }
.chip-blue { background: linear-gradient(180deg, #78ddff 0%, #2a91ff 100%); }
.chip-red { background: linear-gradient(180deg, #ff9c84 0%, #ff6244 100%); }

.cow-level-card > img:not(.king-badge) {
  width: 94px;
  height: 94px;
  object-fit: contain;
  margin: 0 auto 2px;
}

.cow-normal > img:not(.king-badge) { width: 92px; height: 92px; }
.cow-gold > img:not(.king-badge) { width: 94px; height: 94px; }
.cow-diamond > img:not(.king-badge) { width: 92px; height: 92px; }
.cow-king > img:not(.king-badge) { width: 100px; height: 100px; }

.cow-level-card h3 {
  display: none;
}

.cow-level-card strong {
  display: block;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.02;
  white-space: nowrap;
}

.card-green strong { color: #2f9a2f; }
.card-yellow strong { color: #b47500; }
.card-blue strong { color: #2a75ea; }
.card-red strong { color: #db4a33; }

.level-meta {
  width: 100%;
  margin-top: auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.cow-level-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.18;
  font-size: 12px;
  text-align: left;
  display: grid;
  gap: 2px;
}

.card-green ul { color: #3b7033; }
.card-yellow ul { color: #8c6320; }
.card-blue ul { color: #4a5f8b; }
.card-red ul { color: #8a4a40; }

.level-milk-icon {
  position: static;
  width: 22px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.king-card {
  background:
    radial-gradient(circle at top center, rgba(255, 232, 128, 0.58), transparent 48%),
    linear-gradient(180deg, #fffef8 0%, #fff6df 100%);
}

.king-badge {
  position: absolute;
  top: 34px;
  right: 16px;
  width: 40px;
}

/* Reward cards */
.top-panel-grid > #pools .reward-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  justify-items: center;
  height: var(--top-panel-body-height);
}

.top-panel-grid > #pools .reward-plus {
  display: none;
}

.top-panel-grid > #pools .reward-card {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  width: min(100%, 220px);
  min-height: 0;
  height: 100%;
  padding: 8px 10px 8px 8px;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft);
}

.reward-green {
  background: linear-gradient(180deg, #f2ffe2 0%, #dff7ba 100%);
}

.reward-gold {
  background: linear-gradient(180deg, #fff7cf 0%, #ffe28a 100%);
}

.top-panel-grid > #pools .reward-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin-right: 2px;
}

.top-panel-grid > #pools .reward-text h3 {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.15;
  color: var(--brown);
}

.top-panel-grid > #pools .reward-text p {
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 1.25;
  color: #6b5b43;
}

.top-panel-grid > #pools .reward-text .btn {
  margin-top: 5px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.top-panel-grid > #pools .reward-card img {
  width: min(40%, 84px);
  margin-left: 0;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Advantage cards */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.advantage-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.advantage-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
}

.advantage-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--brown);
}

.advantage-card p {
  margin: 0;
  font-size: 16px;
  color: #75664f;
}

/* About */
.about-grid {
  display: grid;
  gap: 20px;
}

.about-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-icon {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff8dc 0%, #fff1bf 100%);
  border: 2px solid rgba(255, 201, 40, 0.42);
}

.about-icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 32px;
  color: var(--brown);
}

.about-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #6f614b;
}

/* CTA */
.cta-section {
  padding: 0;
  background: transparent;
}

.cta-section .container {
  width: min(96%, 1560px);
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: visible;
  padding: 22px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #4fda52 0%, var(--green) 58%, var(--dark-green) 100%);
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding-left: 74px;
}

.cta-content h2 {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "ZCOOL KuaiLe", "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.cta-text-main {
  color: #fff;
}

.cta-text-highlight {
  color: var(--yellow);
}

.cta-text-heart {
  color: #ff92b0;
  font-size: 0.7em;
  line-height: 1;
  transform: translateY(-2px);
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  padding-right: 78px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.75);
  box-shadow: 0 10px 22px rgba(49, 127, 24, 0.18);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cta-btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ea 100%);
  color: #31a62a;
}

.cta-btn-primary {
  background: linear-gradient(180deg, #ffd944 0%, #f4c419 100%);
  color: #2d220c;
}

.cta-btn-users svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cta-btn-cow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  overflow: hidden;
}

.cta-btn-cow img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cta-btn-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #2d220c;
  color: #ffd944;
  font-size: 14px;
  line-height: 1;
}

.cta-decor {
  position: absolute;
  bottom: -8px;
  width: 92px;
  pointer-events: none;
  z-index: 1;
}

.cta-left {
  left: -10px;
  bottom: -2px;
}

.cta-right {
  right: -6px;
  bottom: -4px;
}

@media (max-width: 980px) {
  .cta-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-right: 0;
  }

  .cta-btn {
    min-height: 52px;
    padding: 0 16px;
    font-size: 15px;
  }
}

/* Footer */
.site-footer {
  padding: 18px 0 28px;
  background: #fff0c7;
  text-align: center;
  color: #86684a;
  font-size: 16px;
}

/* Floating */
.floating,
.floating-mid,
.floating-slow {
  animation: none;
}

@keyframes floaty {
  0%, 100% { transform: none; }
  50% { transform: none; }
}

/* Responsive */
@media (max-width: 1440px) {
  .container {
    width: min(1320px, calc(100% - 40px));
  }

  .hero-poster {
    width: 648px;
    max-width: none;
    margin-top: -110px;
    margin-left: -30px;
  }
}

@media (max-width: 1024px) {
  .header-shell {
    flex-wrap: wrap;
  }

  .top-panel-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(21, 149, 47, 0.92);
    flex-direction: column;
    gap: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .hero-section {
    padding-top: 130px;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    overflow: visible;
  }

  .hero-visual {
    position: relative;
    left: 100px;
    min-height: 420px;
  }

  .hero-cow {
    position: relative;
    right: auto;
    left: 0;
    bottom: auto;
    margin: 0 auto;
  }

  .feature-grid,
  .step-grid,
  .level-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card::after {
    display: none;
  }

  .reward-grid {
    grid-template-columns: 1fr;
  }

  .reward-plus {
    transform: rotate(90deg);
    font-size: 44px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .top-panel-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-section { padding-top: 124px; }
  .hero-container { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .hero-content { text-align: center; }
  .hero-poster { width: min(70vw, 520px); margin: 0 auto; }
  .hero-actions { justify-content: center; margin: 20px auto 0; }
  .hero-visual { left: auto; min-height: 400px; }
  .hero-cow { position: relative; right: auto; bottom: auto; margin: 0 auto; }
  .feature-grid, .step-grid, .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { margin-top: 24px; }
  .step-card::after { display: none; }
  .reward-grid, .cta-banner { grid-template-columns: 1fr; }
  .reward-plus { transform: rotate(90deg); font-size: 44px; }
  .cta-banner { text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  html, body { width: 100%; overflow-x: hidden; }
  .container { width: calc(100% - 32px); }
  .game-panel .container, .cta-section .container { width: 100%; }
  .site-header { padding: 10px 0; background: rgba(0, 0, 0, 0.08); backdrop-filter: blur(6px); }
  .header-shell { position: relative; min-height: 44px; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .brand img { height: 44px; width: auto; }
  .header-right { display: none; width: 100%; }
  .social-list, .header-btn { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 14px; background: linear-gradient(180deg, #ffe989 0%, var(--yellow) 58%, #ffb31b 100%); box-shadow: 0 10px 18px rgba(122, 75, 24, 0.18); }
  .nav-toggle span { width: 0; height: 0; margin: 0; background: transparent; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 14px solid #7a4b18; }
  .nav-toggle span:nth-child(2), .nav-toggle span:nth-child(3) { display: none; }
  .site-nav { display: none !important; width: 100%; margin-top: 10px; }
  .site-nav.open { display: flex !important; width: 100%; margin-top: 10px; padding: 16px 18px; border-radius: 20px; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--shadow-soft); z-index: 30; flex-wrap: wrap; justify-content: flex-start; gap: 14px 18px; }
  .site-nav.open + .header-right { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 16px; border-radius: 20px; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.open + .header-right .social-list { display: flex !important; gap: 8px; flex-wrap: wrap; }
  .site-nav.open + .header-right .social-item { width: 38px; height: 38px; font-size: 16px; color: var(--brown); background: rgba(255,255,255,0.9); box-shadow: 0 8px 14px rgba(122, 75, 24, 0.12); }
  .site-nav.open + .header-right .header-btn { display: inline-flex !important; min-height: 46px; padding: 0 20px; font-size: 16px; }
  .nav-link { font-size: 18px; color: var(--brown); }
  .nav-link::after { background: var(--yellow); }
  .hero-section { padding: 90px 0 32px; overflow: hidden; }
  .hero-container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  .hero-poster { width: min(92vw, 360px); max-width: 100%; margin: 0 auto; }
  .hero-actions { width: 100%; flex-direction: column; align-items: center; gap: 14px; margin: 12px 0 0; }
  .hero-actions .btn-lg { width: min(82%, 320px); min-width: 0; min-height: 58px; padding: 0 22px; font-size: 22px; justify-content: center; gap: 12px; }
  .hero-btn-icon { width: 38px; height: 38px; }
  .hero-visual { display: flex; justify-content: center; width: 100%; min-height: auto; }
  .hero-cow { width: min(78%, 320px); margin: 12px auto 0; }
  .feature-grid { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
  .feature-card { flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 132px; padding: 12px 8px; text-align: center; }
  .feature-icon { position: static; width: 60px; height: 60px; display: grid; place-items: center; flex: 0 0 60px; margin: 0 auto; }
  .feature-icon img { width: 70px; height: 70px; max-width: 100%; object-fit: contain; }
  .feature-card h3 { margin: 0; font-size: 17px; line-height: 1.15; }
  .feature-card p { font-size: 12px; line-height: 1.35; }
  .game-panel { width: calc(100% - 16px); margin: 20px auto 0; padding: 22px 0 32px; border-radius: 28px; }
  .section-title { justify-content: flex-start; margin-bottom: 14px; }
  .section-badge { min-height: 42px; padding: 0 16px; font-size: 20px; }
  .top-panel-grid { --top-panel-body-height: auto; grid-template-columns: 1fr; gap: 18px; }
  .top-panel-grid .step-grid,
  .top-panel-grid .level-grid,
  .top-panel-grid > #pools .reward-grid { height: auto; }
  .top-panel-grid, .step-grid, .level-grid, .advantage-grid { gap: 12px; }
  .step-grid, .level-grid, .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card, .cow-level-card, .advantage-card { min-width: 0; }
  .step-card { aspect-ratio: auto; min-height: 210px; padding: 14px 8px 8px; }
  .step-head { gap: 6px; min-height: 26px; }
  .step-no { width: 28px; height: 28px; font-size: 16px; }
  .step-card h3 { font-size: 15px; }
  .step-card p { font-size: 12px; line-height: 1.35; }
  .step-card img,
  .step-card-lg-left img,
  .step-card-lg-right img { width: 100%; height: 108px; margin: auto 0 0; object-fit: contain; }
  .cow-level-card { min-height: 188px; padding: 12px 8px 10px; }
  .cow-level-card > img:not(.king-badge) { width: 74px; height: 74px; }
  .cow-level-card strong { font-size: 14px; }
  .cow-level-card ul { font-size: 12px; }
  .level-milk-icon { width: 34px; height: 56px; }
  #pools { margin-top: 0; padding-bottom: 0; }
  .top-panel-grid > #pools .reward-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; justify-items: stretch; }
  .top-panel-grid > #pools .reward-card { width: 100%; max-width: none; min-height: 0; height: auto; padding: 12px; gap: 10px; }
  .top-panel-grid > #pools .reward-card img { width: 88px; height: 88px; }
  .top-panel-grid > #pools .reward-text h3 { font-size: 16px; }
  .top-panel-grid > #pools .reward-text p { font-size: 12px; line-height: 1.3; }
  .top-panel-grid > #pools .reward-text .btn { min-height: 34px; padding: 0 14px; font-size: 12px; }
  .advantage-card { gap: 10px; min-height: 0; padding: 14px 10px; flex-direction: column; text-align: center; }
  .advantage-card img { width: 64px; height: 64px; }
  .advantage-card h3 { font-size: 16px; }
  .advantage-card p { font-size: 12px; }
  .cta-section .container { width: calc(100% - 16px); }
  .cta-banner { gap: 14px; padding: 20px 14px 18px; border-radius: 24px; }
  .cta-content { padding-left: 0; }
  .cta-content h2 { justify-content: center; font-size: 24px; line-height: 1.2; text-align: center; }
  .cta-decor { width: 64px; }
  .cta-left { left: -6px; bottom: -2px; }
  .cta-right { right: -4px; bottom: -2px; }
  .cta-actions { flex-direction: column; width: 100%; gap: 10px; padding-right: 0; }
  .cta-btn { width: min(92%, 300px); justify-content: center; margin: 0 auto; min-height: 50px; padding: 0 16px; font-size: 15px; }
}


@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .site-header { padding: 8px 0; }
  .brand img { height: 40px; }
  .hero-section { padding-top: 82px; }
  .hero-poster { width: min(92vw, 320px); }
  .hero-actions .btn-lg { width: min(88%, 300px); min-height: 56px; font-size: 20px; }
  .hero-btn-icon { width: 34px; height: 34px; }
  .hero-cow { width: min(82%, 280px); }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { min-height: 120px; padding: 10px 6px; gap: 4px; }
  .feature-icon { width: 54px; height: 54px; flex-basis: 54px; }
  .feature-icon img { width: 64px; height: 64px; max-width: 100%; }
  .feature-card h3 { font-size: 15px; line-height: 1.1; }
  .feature-card p { font-size: 11px; line-height: 1.25; }
  .step-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-card { min-height: 188px; padding: 12px 7px 8px; }
  .step-no { width: 26px; height: 26px; font-size: 15px; }
  .step-card h3 { font-size: 14px; }
  .step-card p { font-size: 11px; line-height: 1.28; }
  .step-card img,
  .step-card-lg-left img,
  .step-card-lg-right img { height: 94px; }
  .level-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cow-level-card { min-height: 176px; padding: 10px 7px 8px; }
  .cow-level-card > img:not(.king-badge) { width: 66px; height: 66px; }
  .cow-level-card strong { font-size: 13px; }
  .cow-level-card ul { font-size: 11px; }
  .level-milk-icon { width: 30px; height: 48px; }
  .section-title { justify-content: flex-start; }
  .section-badge { font-size: 18px; }
  .top-panel-grid > #pools .reward-card { padding: 10px; gap: 8px; }
  .top-panel-grid > #pools .reward-card img { width: 74px; height: 74px; }
  .top-panel-grid > #pools .reward-text h3 { font-size: 15px; }
  .top-panel-grid > #pools .reward-text p { font-size: 11px; }
  .top-panel-grid > #pools .reward-text .btn { min-height: 30px; padding: 0 12px; font-size: 11px; }
  .advantage-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .advantage-card { padding: 12px 8px; }
  .advantage-card img { width: 56px; height: 56px; }
  .advantage-card h3 { font-size: 14px; }
  .advantage-card p { font-size: 11px; }
  .cta-banner { padding: 18px 12px 16px; }
  .cta-content h2 { font-size: 21px; }
  .cta-decor { width: 52px; }
  .cta-btn { width: min(94%, 280px); min-height: 46px; padding: 0 14px; font-size: 14px; }
  .cta-btn-cow { width: 30px; height: 30px; }
  .cta-btn-cow img { width: 26px; height: 26px; }
  .cta-btn-users svg { width: 18px; height: 18px; }
  .cta-btn-arrow { width: 24px; height: 24px; font-size: 12px; }
}