/* ── Site footer — light theme ── */
.site-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #4c1d95;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(192, 132, 252, 0.14), transparent 62%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(255, 213, 74, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(244, 114, 182, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #faf5ff 38%, #f3e8ff 72%, #ede9fe 100%);
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  box-shadow: 0 -8px 32px rgba(124, 58, 237, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 213, 74, 0.07) 44%,
    rgba(192, 132, 252, 0.09) 56%,
    transparent 72%
  );
  background-size: 200% 100%;
  animation: footer-ambient 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footer-ambient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* แถบโลโก้ค่ายเกม */
.site-footer__partners {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(250, 245, 255, 0.4));
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.site-footer__partners-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: footer-marquee 40s linear infinite;
}

.site-footer__partners:hover .site-footer__partners-inner {
  animation-play-state: paused;
}

@keyframes footer-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-partner-logo {
  flex: 0 0 auto;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.12));
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.footer-partner-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.22));
  transform: translateY(-3px) scale(1.04);
}

/* แถบเมนู */
.site-footer__bar {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 20px;
  background: linear-gradient(
    90deg,
    #f5f3ff 0%,
    #ede9fe 20%,
    #fce7f3 50%,
    #ede9fe 80%,
    #f5f3ff 100%
  );
  background-size: 200% 100%;
  animation: footer-bar-shift 8s ease-in-out infinite;
  border-bottom: 1px solid rgba(168, 85, 247, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(168, 85, 247, 0.06);
}

@keyframes footer-bar-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer__menu a {
  position: relative;
  text-decoration: none;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 45%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.site-footer__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #ec4899, transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-footer__menu a:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #d97706 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.2));
  transform: translateY(-1px);
}

.site-footer__menu a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer__sep {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.35), transparent);
}

/* แท็กค่ายเกม (SEO internal links) */
.site-footer__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.site-footer__tags-label {
  margin-right: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: 0.01em;
}

.site-footer__tags a {
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.16);
  color: #6d28d9;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.site-footer__tags a:hover {
  background: rgba(124, 58, 237, 0.15);
  color: #4c1d95;
  transform: translateY(-1px);
}

/* บล็อกหลัก */
.site-footer__main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px 40px;
  text-align: center;
}

.site-footer__logo {
  width: 108px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 16px rgba(124, 58, 237, 0.18));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-footer__logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 22px rgba(124, 58, 237, 0.28));
}

.site-footer__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  background: linear-gradient(
    120deg,
    #5b21b6 0%,
    #7c3aed 20%,
    #c026d3 42%,
    #d97706 62%,
    #f59e0b 78%,
    #7c3aed 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-title-shine 6s linear infinite;
}

@keyframes footer-title-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

.site-footer__desc {
  margin: 0 0 28px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.01em;
  background: linear-gradient(
    180deg,
    #3f3f46 0%,
    #52525b 35%,
    #6b21a8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer__copy {
  margin: 0;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7c3aed, #c026d3, #d97706, #c026d3, #7c3aed);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-copy-shine 10s linear infinite;
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.28),
    rgba(245, 158, 11, 0.45),
    rgba(168, 85, 247, 0.28),
    transparent
  ) 1;
}

@keyframes footer-copy-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 767px) {
  .footer-partner-logo {
    height: 32px;
    max-width: 112px;
  }

  .site-footer__partners-inner {
    gap: 14px;
    animation-duration: 28s;
  }

  .site-footer__bar {
    padding: 16px 14px;
  }

  .site-footer__menu {
    font-size: 15px;
    gap: 10px 14px;
  }

  .site-footer__tags {
    gap: 6px;
    padding: 16px 16px 0;
  }

  .site-footer__tags-label {
    width: 100%;
    text-align: center;
    margin: 0 0 2px;
  }

  .site-footer__tags a {
    padding: 4px 11px;
    font-size: 11.5px;
  }

  .site-footer__main {
    padding: 28px 18px 32px;
  }

  .site-footer__logo {
    width: 92px;
  }

  .site-footer__title {
    margin-bottom: 14px;
  }

  .site-footer__desc {
    line-height: 1.8;
    margin-bottom: 22px;
  }

  .site-footer__copy {
    font-size: 12px;
    padding-top: 18px;
  }
}


