/* =========================================================
   RetroCube Premium Footer — elevated
   ========================================================= */

@keyframes rcFtAurora {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(28px, -20px) scale(1.14); opacity: 0.85; }
}
@keyframes rcFtFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes rcFtSpark {
  0%, 100% { opacity: 0.2; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.3); }
}
@keyframes rcFtSheen {
  0% { transform: translateX(-40%); opacity: 0; }
  35% { opacity: 0.55; }
  100% { transform: translateX(160%); opacity: 0; }
}
@keyframes rcFtLogoGlow {
  0%, 100% { filter: drop-shadow(0 8px 24px rgba(208, 3, 4, 0.25)); }
  50% { filter: drop-shadow(0 12px 32px rgba(232, 184, 74, 0.35)); }
}
@keyframes rcFtBorderRun {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

footer.rc-footer {
  --ft-ink: #0e0a0a;
  --ft-panel: rgba(255, 255, 255, 0.05);
  --ft-line: rgba(255, 255, 255, 0.12);
  --ft-muted: rgba(255, 245, 240, 0.64);
  --ft-text: #f6efe9;
  --ft-red: #d00304;
  --ft-gold: #e8b84a;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 !important;
  background:
    radial-gradient(1000px 480px at 6% -10%, rgba(208, 3, 4, 0.38), transparent 55%),
    radial-gradient(820px 420px at 100% 10%, rgba(232, 184, 74, 0.2), transparent 48%),
    radial-gradient(700px 400px at 50% 100%, rgba(208, 3, 4, 0.12), transparent 55%),
    linear-gradient(168deg, #1c1010 0%, #110c0c 45%, #080505 100%) !important;
  color: var(--ft-text);
  border-top: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

footer.rc-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #7a1212, #d00304, #ffc328, #d00304, #7a1212);
  background-size: 200% 100%;
  animation: rcFtBorderRun 8s linear infinite;
  z-index: 3;
}

footer.rc-footer::after {
  display: none !important;
  content: none !important;
}

footer.rc-footer .rc-footer-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
footer.rc-footer .ft-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  animation: rcFtAurora 12s ease-in-out infinite;
}
footer.rc-footer .ft-aurora.a1 {
  width: 460px;
  height: 460px;
  top: -140px;
  left: -100px;
  background: rgba(208, 3, 4, 0.4);
}
footer.rc-footer .ft-aurora.a2 {
  width: 400px;
  height: 400px;
  right: -110px;
  bottom: -80px;
  background: rgba(232, 184, 74, 0.26);
  animation-delay: -4s;
}
footer.rc-footer .ft-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 184, 74, 0.3);
  animation: rcFtFloat 10s ease-in-out infinite;
}
footer.rc-footer .ft-ring.r1 {
  width: 260px;
  height: 260px;
  top: 30px;
  right: 6%;
  box-shadow: 0 0 0 12px rgba(232, 184, 74, 0.04);
}
footer.rc-footer .ft-ring.r1::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
footer.rc-footer .ft-ring.r2 {
  width: 160px;
  height: 160px;
  bottom: 130px;
  left: 5%;
  border-color: rgba(208, 3, 4, 0.35);
  animation-delay: -2.5s;
}
footer.rc-footer .ft-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.95) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 72%);
}
footer.rc-footer .ft-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 220, 140, 0.95);
  animation: rcFtSpark 2.6s ease-in-out infinite;
}
footer.rc-footer .ft-spark.s1 { top: 16%; left: 24%; }
footer.rc-footer .ft-spark.s2 { top: 34%; right: 16%; animation-delay: 0.7s; background: #ffc328; width: 4px; height: 4px; }
footer.rc-footer .ft-spark.s3 { bottom: 26%; left: 42%; animation-delay: 1.4s; }

footer.rc-footer > .container,
footer.rc-footer .rc-footer-top,
footer.rc-footer .copy {
  position: relative;
  z-index: 2;
}

/* Brand band with SVG logo */
footer.rc-footer .rc-footer-top {
  padding: 58px 15px 10px;
}
footer.rc-footer .rc-footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 30px;
  margin-bottom: 12px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
footer.rc-footer .rc-footer-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: rcFtSheen 7.5s ease-in-out infinite;
  pointer-events: none;
}
footer.rc-footer .rc-footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  position: relative;
  z-index: 1;
  max-width: min(420px, 72vw);
}
footer.rc-footer .rc-footer-logo img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  animation: rcFtLogoGlow 4.5s ease-in-out infinite;
  transition: transform .35s ease;
}
footer.rc-footer .rc-footer-logo:hover img {
  transform: scale(1.03);
}
footer.rc-footer .rc-footer-brand-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
footer.rc-footer .rc-footer-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1212;
  background: linear-gradient(120deg, #ffc328 0%, #ffe59a 45%, #ffc328 100%);
  background-size: 200% 100%;
  animation: rcFtBorderRun 4s ease-in-out infinite;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(232, 184, 74, 0.28);
}
footer.rc-footer .rc-footer-brand-line {
  width: 88px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--ft-red), var(--ft-gold));
}

/* Columns */
footer.rc-footer .rc-footer-cols {
  padding: 28px 0 18px;
}
footer.rc-footer h4 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #fff !important;
  padding: 0 0 14px !important;
  margin: 0 0 18px !important;
  position: relative;
  letter-spacing: -0.015em;
}
footer.rc-footer h4::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  width: 46px !important;
  background: linear-gradient(90deg, var(--ft-red), var(--ft-gold)) !important;
  right: auto !important;
  margin: 0 !important;
}

footer.rc-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.rc-footer ul li {
  margin: 0 0 11px !important;
}
footer.rc-footer ul li a {
  font-size: 14px !important;
  color: var(--ft-muted) !important;
  text-decoration: none !important;
  transition: color .25s ease, padding-left .25s ease;
  display: inline-block;
  position: relative;
}
footer.rc-footer ul:not(.info):not(.social) li a:hover {
  color: #fff !important;
  padding-left: 10px;
}
footer.rc-footer ul:not(.info):not(.social) li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1.5px;
  background: var(--ft-gold);
  transform: translateY(-50%);
  transition: width .25s ease;
  opacity: 0;
}
footer.rc-footer ul:not(.info):not(.social) li a:hover::before {
  width: 6px;
  opacity: 1;
}

/* Contact glass card */
footer.rc-footer .rc-footer-talk {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 55%, rgba(208, 3, 4, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
footer.rc-footer .rc-footer-talk::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: rcFtSheen 7s ease-in-out infinite;
  pointer-events: none;
}
footer.rc-footer .rc-footer-talk::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  pointer-events: none;
}
footer.rc-footer .rc-footer-talk h4 {
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
  position: relative;
  z-index: 1;
}
footer.rc-footer ul.info {
  position: relative;
  z-index: 1;
}
footer.rc-footer ul.info li {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px !important;
}
footer.rc-footer ul.info li a {
  color: #fff !important;
  font-weight: 600;
  font-size: 15px !important;
  padding-left: 0 !important;
}
footer.rc-footer ul.info li a:hover {
  color: var(--ft-gold) !important;
}
footer.rc-footer ul.info li i,
footer.rc-footer ul.info li i.fas,
footer.rc-footer ul.info li i.fa-solid {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #ff1f1f, #9a1010) !important;
  color: #fff !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 0 !important;
  box-shadow: 0 10px 20px rgba(208, 3, 4, 0.4);
}
footer.rc-footer ul.info li i.fa-phone,
footer.rc-footer ul.info li i.fas.fa-phone {
  transform: rotate(90deg);
}
footer.rc-footer ul.info li.mt-3 {
  align-items: flex-start;
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer.rc-footer ul.info li img {
  width: 28px;
  height: auto;
  margin-right: 8px;
  margin-top: 2px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
footer.rc-footer ul.info li p {
  color: var(--ft-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Bottom bar */
footer.rc-footer .copy {
  margin-top: 8px !important;
  padding: 24px 0 30px !important;
  border-top: 1px solid var(--ft-line) !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35));
}
footer.rc-footer .copy .row {
  align-items: center;
}
footer.rc-footer .copy p {
  color: var(--ft-muted) !important;
  font-size: 13px !important;
  margin: 0 !important;
}
footer.rc-footer .copy ul li {
  margin-right: 14px !important;
}
footer.rc-footer .copy ul li a {
  font-size: 13px !important;
  color: var(--ft-muted) !important;
}
footer.rc-footer .copy ul li a:hover {
  color: #fff !important;
  padding-left: 0 !important;
}
footer.rc-footer .copy ul li a::before {
  display: none;
}

footer.rc-footer .copy ul.social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
}
footer.rc-footer .copy ul.social li {
  margin: 0 !important;
}
footer.rc-footer .copy ul.social li a {
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease !important;
  padding-left: 0 !important;
}
footer.rc-footer .copy ul.social li a:hover {
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(145deg, #ff1f1f, #9a1010) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(208, 3, 4, 0.45);
  color: #fff !important;
}

@media (max-width: 991px) {
  footer.rc-footer {
    text-align: center !important;
    padding: 0 !important;
  }
  footer.rc-footer .rc-footer-top {
    padding: 42px 15px 8px;
  }
  footer.rc-footer .rc-footer-brand {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }
  footer.rc-footer .rc-footer-logo {
    max-width: min(300px, 80vw);
  }
  footer.rc-footer .rc-footer-brand-meta {
    align-items: center;
  }
  footer.rc-footer h4::after {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }
  footer.rc-footer .pl-5 {
    padding-left: 15px !important;
    margin-top: 12px;
  }
  footer.rc-footer .rc-footer-talk {
    text-align: left;
  }
  footer.rc-footer ul.info li {
    justify-content: flex-start;
  }
  footer.rc-footer .copy ul.social {
    margin: 16px 0 !important;
  }
  footer.rc-footer .copy .col-md-5 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
  }
  footer.rc-footer .ft-ring {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.rc-footer .ft-aurora,
  footer.rc-footer .ft-ring,
  footer.rc-footer .ft-spark,
  footer.rc-footer .rc-footer-talk::before,
  footer.rc-footer .rc-footer-brand::before,
  footer.rc-footer .rc-footer-logo img,
  footer.rc-footer::before,
  footer.rc-footer .rc-footer-badge {
    animation: none !important;
  }
}
