.mysp-footer {
  --myspf-bg-start: #0e1628;
  --myspf-bg-end: #111d34;
  --myspf-text: #ffffff;
  --myspf-muted: #d1d9e8;
  --myspf-accent: #f7c600;
  --myspf-card: rgba(255, 255, 255, 0.08);

  color: var(--myspf-text);
  background: linear-gradient(180deg, var(--myspf-bg-start) 0%, var(--myspf-bg-end) 100%);
  border-top: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mysp-footer * {
  box-sizing: border-box;
}

.mysp-footer::before,
.mysp-footer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(6px);
}

.mysp-footer::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle, color-mix(in srgb, var(--myspf-accent) 35%, transparent) 0%, transparent 68%);
}

.mysp-footer::after {
  width: 300px;
  height: 300px;
  bottom: -130px;
  left: -70px;
  background: radial-gradient(circle, rgba(52, 172, 216, 0.28) 0%, transparent 70%);
}

.mysp-footer__yt-wrap,
.mysp-footer__content-wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.mysp-footer__yt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
  padding: 22px;
  background:
    radial-gradient(100% 100% at 0% 0%, rgba(255, 59, 48, 0.08) 0%, transparent 65%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(17, 24, 39, 0.09);
  box-shadow: 0 20px 44px rgba(5, 12, 24, 0.22);
  align-items: center;
}

.mysp-footer__yt--with-thumb {
  grid-template-columns: 1.2fr 0.8fr;
}

.mysp-footer__yt-copy {
  width: 100%;
}

.mysp-footer__yt--single .mysp-footer__yt-copy {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mysp-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #0f172a;
  background: var(--myspf-accent);
}

.mysp-footer__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.mysp-footer__yt h3 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
  font-weight: 900;
  color: #0f172a;
}

.mysp-footer__yt p {
  margin: 0 0 4px;
  color: #475569;
  font-size: 15px;
  line-height: 1.72;
}

.mysp-footer__yt-chips {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mysp-footer__yt-chips span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

.mysp-footer__yt-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mysp-footer__yt-meta strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.mysp-footer__yt-meta span {
  font-size: 12px;
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
}

.mysp-footer__yt-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(220, 38, 38, 0.28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.mysp-footer__yt-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(220, 38, 38, 0.34);
}

.mysp-footer__yt-btn::after {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
}

.mysp-footer__yt-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  position: relative;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  transition: transform .24s ease, box-shadow .24s ease;
}

.mysp-footer__yt-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.28);
}

.mysp-footer__yt-thumb img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.mysp-footer__yt-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 8, 20, 0.75) 0%, rgba(2, 8, 20, 0) 55%);
}

.mysp-footer__yt-play {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
}

.mysp-footer__yt-video-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  z-index: 2;
}

.mysp-footer__main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mysp-footer__brand,
.mysp-footer__col {
  padding: 0;
}

.mysp-footer__brand {
  background: linear-gradient(145deg, var(--myspf-card), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px;
}

.mysp-footer__brand-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mysp-footer__col {
  background: transparent;
  border: 0;
}

.mysp-footer__logo {
  display: block;
  width: 160px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #ffffff;
  padding: 6px 8px;
}

.mysp-footer__logo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  background: var(--myspf-accent);
}

.mysp-footer h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--myspf-text);
}

.mysp-footer__brand-head h4 {
  margin: 0;
}

.mysp-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--myspf-muted);
}

.mysp-footer ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.mysp-footer li {
  margin: 0 0 8px;
}

.mysp-footer a {
  color: var(--myspf-text);
  text-decoration: none;
}

.mysp-footer .mysp-footer__col a {
  color: var(--myspf-muted);
  font-size: 14px;
  line-height: 1.6;
}

.mysp-footer .mysp-footer__col a:hover,
.mysp-footer a:hover {
  color: var(--myspf-accent);
}

.mysp-footer .mysp-footer__col h4 {
  margin-bottom: 10px;
  padding-bottom: 6px;
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mysp-footer__contact li {
  color: var(--myspf-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mysp-footer__social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mysp-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.mysp-footer__social a:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--myspf-accent) 24%, rgba(255, 255, 255, 0.14));
  border-color: color-mix(in srgb, var(--myspf-accent) 50%, rgba(255, 255, 255, 0.22));
}

.mysp-footer__social a.mysp-footer__social-link {
  color: #fff;
}

.mysp-footer__social a.mysp-footer__social-link.is-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  border-color: rgba(255, 255, 255, 0.35);
}

.mysp-footer__social a.mysp-footer__social-link.is-facebook {
  background: #1877f2;
  border-color: #1877f2;
}

.mysp-footer__social a.mysp-footer__social-link.is-twitter {
  background: #1da1f2;
  border-color: #1da1f2;
}

.mysp-footer__social a.mysp-footer__social-link.is-instagram:hover,
.mysp-footer__social a.mysp-footer__social-link.is-facebook:hover,
.mysp-footer__social a.mysp-footer__social-link.is-twitter:hover {
  filter: brightness(1.06);
}

.mysp-footer__social a i,
.mysp-footer__social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mysp-footer__bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mysp-footer__bottom span {
  color: var(--myspf-muted);
  font-size: 14px;
}

.mysp-footer__bottom nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mysp-footer__bottom nav a {
  font-size: 14px;
  color: var(--myspf-muted);
}

.mysp-footer__dot {
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .mysp-footer__yt,
  .mysp-footer__yt--with-thumb {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .mysp-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .mysp-footer__main {
    grid-template-columns: 1fr;
  }
}
