/* ============================================= */
/* FUTURE YOUTH — GLOBAL FOOTER                    */
/* Design 2: Framed Bold                           */
/* One file, all pages. Edit here, deploy once.    */
/* ============================================= */

/* ---- Base footer ---- */
.fy-footer {
  background: var(--black, #111111);
  color: var(--yellow, #FFE600);
  padding: 50px;
  position: relative;
  z-index: 2;
  font-family: 'Work Sans', sans-serif;
}

/* ---- Outer frame ---- */
.fy-footer .fy-footer-frame {
  border: 3px solid var(--yellow, #FFE600);
  padding: 40px;
  position: relative;
  background-image: radial-gradient(var(--yellow, #FFE600) 1px, transparent 1px);
  background-size: 9px 9px;
}

.fy-footer .fy-footer-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,230,0,0.2);
  pointer-events: none;
}

/* ---- Inner content area ---- */
.fy-footer .fy-footer-inner {
  position: relative;
  z-index: 2;
  background: var(--black, #111111);
  padding: 40px;
}

/* ---- Top grid: brand + 3 columns ---- */
.fy-footer .fy-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 35px;
  border-bottom: 2px solid var(--yellow, #FFE600);
}

.fy-footer .fy-footer-top a {
  text-decoration: none;
  transition: color 0.2s;
}

/* ---- Brand column ---- */
.fy-footer .fy-footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: var(--yellow, #FFE600);
}

.fy-footer .fy-footer-brand h3 span {
  font-style: italic;
  color: var(--pink, #FF3366);
}

.fy-footer .fy-footer-brand p {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

/* ---- Link columns ---- */
.fy-footer .fy-footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 15px 0;
  color: var(--pink, #FF3366);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.fy-footer .fy-footer-col a {
  display: block;
  color: #aaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  min-height: 44px;
  line-height: 44px;
}

.fy-footer .fy-footer-col a:hover {
  color: var(--yellow, #FFE600);
}

/* ---- Bottom bar ---- */
.fy-footer .fy-footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fy-footer .fy-footer-bottom span {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---- Corner decorations ---- */
.fy-footer .fy-footer-burst {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: var(--pink, #FF3366);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  z-index: 10;
}

.fy-footer .fy-footer-ring {
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 45px;
  height: 45px;
  border: 3px solid var(--cyan, #00D4FF);
  border-radius: 50%;
  z-index: 10;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .fy-footer {
    padding: 30px;
  }
  .fy-footer .fy-footer-frame {
    padding: 25px;
  }
  .fy-footer .fy-footer-inner {
    padding: 25px;
  }
  .fy-footer .fy-footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .fy-footer .fy-footer-brand p {
    max-width: 100%;
  }
  .fy-footer .fy-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .fy-footer .fy-footer-burst {
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
  }
}

/* ---- Non-JS fallback ---- */
#fy-footer-mount:empty::after {
  content: '';
  display: block;
  height: 0;
}
