/* --- footer.css --- */

/* --- CSS Variables (if not imported globally, redefine or import) --- */
/* It's best if these are defined in your main cinematic_styles.css */
/*
:root {
    --color-bg-primary: #000000;
    --color-text-secondary: #aaaaaa;
    --color-accent-primary: #ff1100;
    --transition-speed: 0.4s;
}
*/

/* --- Site Footer --- */
.site-footer {
    background-color: transparent;
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: none;
    background: linear-gradient(to top, var(--color-bg-primary) 0%, var(--color-bg-primary) 30%, transparent 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
    letter-spacing: 0.05em;
    margin: 0;
}

/* --- Back-to-Top Link --- */
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    padding: 0.5rem;
    border-radius: 4px;
    width: auto;
    height: auto;
}

.back-to-top:hover,
.back-to-top:focus {
    color: var(--color-accent-primary);
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.05);
    outline: none;
    box-shadow: 0 0 8px rgba(255, 17, 0, 0.3);
}

.back-to-top i {
    margin-right: 8px;
}

.back-to-top span {
    font-family: 'Orbitron', sans-serif; /* Assuming Orbitron is loaded */
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .site-footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .back-to-top {
        font-size: 0.9rem;
    }

    .back-to-top i {
        margin-right: 6px;
    }
}
/* ===== ANIMATED FOOTER BORDER ===== */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-primary),
    transparent
  );
  box-shadow: 0 0 10px var(--color-accent-primary);
}

/* ===== SOCIAL MEDIA WAVE EFFECT ===== */
.social-link {
  position: relative;
  overflow: hidden;
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}