/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a1a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #818cf8;
  --accent2: #a78bfa;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-text: linear-gradient(135deg, #818cf8, #c084fc);
  --radius: 16px;
  --radius-sm: 8px;
  --container: 1100px;
  --section-py: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 26, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}

.header-logo img { border-radius: 8px; }

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 14px;
}

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(99,102,241,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139,92,246,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(168,85,247,0.08) 0%, transparent 40%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-logo {
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: 4px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-buttons { margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== Sections ===== */
.section {
  padding: var(--section-py) 0;
}

.section-dark {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.about-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(129,140,248,0.2);
  transform: translateY(-4px);
}

.about-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.about-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.about-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Items ===== */
.items-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.item-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.item-showcase:hover {
  border-color: rgba(129,140,248,0.3);
  transform: translateY(-2px);
}

.item-showcase img {
  image-rendering: auto;
}

.item-showcase span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-result {
  border-color: rgba(129,140,248,0.3);
  box-shadow: 0 0 20px rgba(99,102,241,0.15);
}

.item-arrow {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

/* Full items grid */
.items-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.item-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(129,140,248,0.2);
  transform: translateY(-3px);
}

.item-card img {
  image-rendering: auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.item-card .item-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.item-card .item-tier {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Unique Items Section */
.unique-section {
  margin-top: 16px;
}

.unique-section .section-subtitle {
  margin-bottom: 32px;
}

.unique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.unique-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: rgba(234, 179, 8, 0.04);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: var(--radius);
  transition: all 0.3s;
  position: relative;
}

.unique-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(234,179,8,0.2), rgba(251,191,36,0.05), rgba(234,179,8,0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.unique-card:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.1);
}

.unique-card:hover::before {
  opacity: 1;
}

.unique-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.3));
}

.unique-card .item-name {
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
  text-align: center;
}

.unique-card .item-tier {
  font-size: 11px;
  color: rgba(251, 191, 36, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Merge Animation ===== */
.merge-anim {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  padding: 32px 0;
  min-height: 160px;
}

.merge-anim__left,
.merge-anim__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
}

.merge-anim__left img,
.merge-anim__right img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.merge-anim__left span,
.merge-anim__right span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.merge-anim__left {
  animation: merge-left 4s ease-in-out infinite;
}

.merge-anim__right {
  animation: merge-right 4s ease-in-out infinite;
}

.merge-anim__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  animation: merge-appear 4s ease-in-out infinite;
}

.merge-anim__result img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.5));
}

.merge-anim__result span {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* Unique merge variant */
.merge-anim--unique {
  margin: 32px 0 48px;
}

.merge-anim--unique .merge-anim__left,
.merge-anim--unique .merge-anim__right {
  animation-duration: 5s;
}

.merge-anim__result--unique {
  animation: merge-appear-unique 5s ease-in-out infinite;
}

.merge-anim__result--unique img {
  filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.6));
}

.merge-anim__result--unique span {
  color: #fbbf24;
}

/* Glow flash for unique merge */
.merge-anim__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,179,8,0.4) 0%, rgba(251,191,36,0.15) 40%, transparent 70%);
  animation: merge-glow 5s ease-in-out infinite;
  pointer-events: none;
}

/* Keyframes */
@keyframes merge-left {
  0%       { transform: translateX(-60px); opacity: 1; }
  30%      { transform: translateX(-60px); opacity: 1; }
  50%      { transform: translateX(0); opacity: 0; }
  51%, 80% { transform: translateX(0); opacity: 0; }
  100%     { transform: translateX(-60px); opacity: 1; }
}

@keyframes merge-right {
  0%       { transform: translateX(60px); opacity: 1; }
  30%      { transform: translateX(60px); opacity: 1; }
  50%      { transform: translateX(0); opacity: 0; }
  51%, 80% { transform: translateX(0); opacity: 0; }
  100%     { transform: translateX(60px); opacity: 1; }
}

@keyframes merge-appear {
  0%, 48%  { transform: scale(0); opacity: 0; }
  55%      { transform: scale(1.12); opacity: 1; }
  60%, 85% { transform: scale(1); opacity: 1; }
  100%     { transform: scale(0); opacity: 0; }
}

@keyframes merge-appear-unique {
  0%, 48%  { transform: scale(0); opacity: 0; }
  55%      { transform: scale(1.15); opacity: 1; }
  60%      { transform: scale(0.95); opacity: 1; }
  65%, 82% { transform: scale(1); opacity: 1; }
  100%     { transform: scale(0); opacity: 0; }
}

@keyframes merge-glow {
  0%, 46%  { transform: scale(0); opacity: 0; }
  52%      { transform: scale(1.8); opacity: 1; }
  62%      { transform: scale(1.2); opacity: 0; }
  100%     { transform: scale(0); opacity: 0; }
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(129,140,248,0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(99,102,241,0.1);
  color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-icon-merge { background: rgba(99,102,241,0.12); color: #818cf8; }
.feature-icon-castle { background: rgba(168,85,247,0.12); color: #c084fc; }
.feature-icon-casino { background: rgba(234,179,8,0.12); color: #fbbf24; }
.feature-icon-leaderboard { background: rgba(34,197,94,0.12); color: #4ade80; }
.feature-icon-tasks { background: rgba(59,130,246,0.12); color: #60a5fa; }
.feature-icon-referral { background: rgba(236,72,153,0.12); color: #f472b6; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Token Section ===== */
.token-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.token-header .section-title,
.token-header .section-subtitle {
  text-align: left;
  margin-bottom: 4px;
}

.token-logo {
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(99,102,241,0.2);
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(129,140,248,0.2);
}

.pillar-number {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 72px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.1;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Tokenomics */
.tokenomics {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}

.tokenomics h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tokenomics-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tokenomics-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.tokenomics-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pct);
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1s ease-out;
}

.tokenomics-pct {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.tokenomics-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Token Features */
.token-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.token-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.token-feat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent);
}

.token-feat-icon svg { width: 100%; height: 100%; }

.token-feat h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.token-feat p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Roadmap */
.roadmap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
}

.roadmap h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  text-align: center;
}

.roadmap-timeline {
  position: relative;
  padding-left: 28px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.roadmap-item {
  position: relative;
  padding-bottom: 28px;
}

.roadmap-item:last-child { padding-bottom: 0; }

.roadmap-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.1);
}

.roadmap-active .roadmap-dot {
  background: var(--accent);
  border-color: rgba(129,140,248,0.4);
  box-shadow: 0 0 12px rgba(99,102,241,0.4);
}

.roadmap-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.roadmap-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99,102,241,0.1) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-brand img { border-radius: 6px; }

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .features-grid,
  .pillars-grid,
  .token-features,
  .tokenomics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .items-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .unique-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-nav { display: none; }

  :root { --section-py: 72px; }
}

@media (max-width: 600px) {
  .about-grid,
  .features-grid,
  .pillars-grid,
  .token-features,
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 100px 0 60px; }
  .hero-logo { width: 80px; height: 80px; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 20px; }

  .btn-lg { padding: 14px 32px; font-size: 16px; }

  .token-header {
    flex-direction: column;
    text-align: center;
  }

  .token-header .section-title,
  .token-header .section-subtitle {
    text-align: center;
  }

  .items-row { gap: 8px; }
  .item-showcase { padding: 10px; }
  .item-showcase img { width: 56px; height: 56px; }

  .items-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .item-card { padding: 12px 8px; }
  .item-card img { width: 48px; height: 48px; }
  .item-card .item-name { font-size: 11px; }

  .unique-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .merge-anim__left img, .merge-anim__right img,
  .merge-anim__result img { width: 56px; height: 56px; }
  @keyframes merge-left {
    0%       { transform: translateX(-44px); opacity: 1; }
    30%      { transform: translateX(-44px); opacity: 1; }
    50%      { transform: translateX(0); opacity: 0; }
    51%, 80% { transform: translateX(0); opacity: 0; }
    100%     { transform: translateX(-44px); opacity: 1; }
  }
  @keyframes merge-right {
    0%       { transform: translateX(44px); opacity: 1; }
    30%      { transform: translateX(44px); opacity: 1; }
    50%      { transform: translateX(0); opacity: 0; }
    51%, 80% { transform: translateX(0); opacity: 0; }
    100%     { transform: translateX(44px); opacity: 1; }
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  :root { --section-py: 56px; }
}
