.ct-footer {
  position: relative;
  padding: 52px 20px 64px;
  background:
    linear-gradient(180deg, rgba(3, 5, 10, 0) 0%, rgba(4, 6, 12, 0.9) 18%, #04060c 100%);
  border-top: 1px solid rgba(255, 215, 130, 0.12);
  overflow: hidden;
}

.ct-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 210, 120, 0.1), transparent 34%);
  pointer-events: none;
}

.ct-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(520px, 86vw);
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 210, 120, 0.08), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.ct-footer__inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.ct-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ct-footer__logo {
  width: 78px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255, 210, 120, 0.08));
}

.ct-footer__tagline {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  letter-spacing: 0.08em;
  color: rgba(255, 239, 205, 0.9);
}

.ct-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ct-footer__social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 215, 130, 0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(246, 223, 180, 0.92);
  background: rgba(255, 215, 130, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 130, 0.02);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
}

.ct-footer__social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 130, 0.42);
  background: rgba(255, 215, 130, 0.09);
  box-shadow: 0 0 18px rgba(255, 210, 120, 0.08);
  color: #fff1cd;
}

.ct-footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.ct-footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(246, 223, 180, 0.9);
  transition: color 0.25s ease, transform 0.25s ease;
}

.ct-footer__meta:hover {
  color: #fff1cd;
  transform: translateY(-1px);
}

.ct-footer__meta-icon {
  font-size: 10px;
  color: rgba(255, 210, 120, 0.85);
}

.ct-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.ct-footer__link {
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(246, 223, 180, 0.86);
  transition: color 0.25s ease;
}

.ct-footer__link:hover {
  color: #fff1cd;
}

.ct-footer__divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 210, 120, 0.35);
}

.ct-footer__copy {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(255, 244, 220, 0.65);
}

.ct-back-to-top {
  width: 52px;
  height: 52px;
  margin-top: 4px;
  border: 1px solid rgba(255, 215, 130, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 215, 130, 0.12), rgba(255, 215, 130, 0.04) 58%, rgba(255, 215, 130, 0.02) 100%);
  color: #f6dfb4;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.ct-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ct-back-to-top:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 130, 0.45);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 215, 130, 0.2), rgba(255, 215, 130, 0.08) 58%, rgba(255, 215, 130, 0.03) 100%);
  box-shadow: 0 0 22px rgba(255, 210, 120, 0.08), 0 12px 32px rgba(0, 0, 0, 0.32);
}

.ct-back-to-top:focus-visible,
.ct-footer__social-link:focus-visible,
.ct-footer__link:focus-visible,
.ct-footer__meta:focus-visible,
.ct-footer__brand:focus-visible {
  outline: 2px solid rgba(255, 215, 130, 0.9);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .ct-footer {
    padding: 40px 16px 52px;
  }

  .ct-footer__inner {
    width: 100%;
    gap: 16px;
  }

  .ct-footer__logo {
    width: 68px;
  }

  .ct-footer__tagline {
    font-size: 1.2rem;
  }

  .ct-footer__contact {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .ct-footer__links {
    gap: 8px 12px;
  }

  .ct-footer__divider {
    display: none;
  }

  .ct-footer__social-link {
    width: 40px;
    height: 40px;
  }

  .ct-back-to-top {
    width: 50px;
    height: 50px;
  }
}


.ct-floating-ui {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ct-floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 130, 0.22);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 215, 130, 0.12), rgba(255, 215, 130, 0.04) 58%, rgba(255, 215, 130, 0.02) 100%);
  color: #f6dfb4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 215, 130, 0.03);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.ct-floating-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 130, 0.44);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 215, 130, 0.2), rgba(255, 215, 130, 0.08) 58%, rgba(255, 215, 130, 0.03) 100%);
  box-shadow:
    0 0 22px rgba(255, 210, 120, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.36);
}

.ct-floating-btn:focus-visible {
  outline: 2px solid rgba(255, 215, 130, 0.9);
  outline-offset: 3px;
}

.ct-back-to-top {
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.ct-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ct-sound-toggle {
  position: static;
  font-size: 20px;
}

@media (max-width: 640px) {
  .ct-floating-ui {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .ct-floating-btn {
    width: 50px;
    height: 50px;
  }
}