/**
 * ============================================================================
 * Copyright (c) 2026 BAWASLU-M FH ULM. All Rights Reserved.
 * Badan Pengawas Pemilihan Umum Mahasiswa
 * Fakultas Hukum, Universitas Lambung Mangkurat
 *
 * PROPRIETARY & CONFIDENTIAL SOURCE CODE
 * ----------------------------------------------------------------------------
 * This software, web application, source code, scripts, styles, architecture,
 * and associated assets are the exclusive intellectual property of BAWASLU-M FH ULM.
 *
 * Any unauthorized copying, reproduction, distribution, scraping, decompilation,
 * reverse engineering, modification, or appropriation of this source code,
 * in whole or in part, is strictly prohibited and deemed highly unethical under
 * institutional, academic, and applicable intellectual property legal frameworks.
 * ============================================================================
 */

.landscape-footer {
  position: relative;
  width: 100%;
  background: var(--min-footer-bg, #0C100C);
  border-top: 1px solid var(--min-border, rgba(255, 255, 255, 0.08));
  color: var(--min-text-main, #F8F6F0);
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease;
  z-index: 20;
}

.landscape-footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  box-sizing: border-box;
}

.landscape-footer-top {
  position: relative;
  padding: 3.25rem 0 2.25rem;
  z-index: 10;
}

.footer-clean-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.landscape-footer .footer-clean-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.landscape-footer .footer-logos {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.landscape-footer .footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.landscape-footer .footer-logo:hover {
  transform: scale(1.06);
}

.landscape-footer .footer-logo-separator {
  width: 1.5px;
  height: 24px;
  background: var(--min-border, rgba(255, 255, 255, 0.15));
  flex-shrink: 0;
}

.landscape-footer .footer-clean-titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.landscape-footer .footer-clean-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--min-text-main);
  margin: 0;
  line-height: 1.25;
}

.landscape-footer .footer-clean-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--min-text-muted, #95A494);
  margin: 0;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: normal;
}

.landscape-footer .footer-clean-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--min-surface, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--min-border, rgba(255, 255, 255, 0.1));
  color: var(--min-text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
  background: var(--min-accent, #D4225B);
  color: #FFFFFF;
  border-color: var(--min-accent, #D4225B);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 34, 91, 0.4);
}

.btn-clean-hub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--min-text-main);
  background: var(--min-surface, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--min-border, rgba(255, 255, 255, 0.15));
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-clean-hub:hover {
  background: var(--min-accent, #D4225B);
  border-color: var(--min-accent, #D4225B);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 34, 91, 0.35);
}

.landscape-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 38vw, 560px);
  overflow: hidden;
  user-select: none;
  background: #000000;
}

.landscape-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(to bottom, var(--min-footer-bg) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.landscape-stage-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  z-index: 1;
  transition: filter 0.35s ease;
  pointer-events: none;
}

.landscape-giant-text-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  padding: 0 1rem;
  box-sizing: border-box;
}

.landscape-giant-text {
  font-family: var(--font-sketch, 'Londrina Sketch', cursive, system-ui, sans-serif);
  font-size: clamp(4.5rem, 15vw, 16.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #FFFFFF;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  opacity: 0.96;
  white-space: nowrap;
  display: block;
}

.landscape-giant-sub {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.45rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.landscape-stage-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  z-index: 3;
  pointer-events: none;
  transition: filter 0.35s ease;
}

.landscape-fog-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: background 0.35s ease;
}

.landscape-stage::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--min-footer-bg) 0%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}

:root, [data-theme="dark"] .landscape-footer {
  --min-footer-bg: #0C100C;
}

[data-theme="dark"] .landscape-stage-backdrop,
[data-theme="dark"] .landscape-stage-fg {
  filter: brightness(0.70) contrast(1.12) saturate(0.85);
}

[data-theme="dark"] .landscape-fog-layer {
  background: radial-gradient(
    ellipse at 50% 65%,
    rgba(212, 34, 91, 0.22) 0%,
    rgba(12, 16, 12, 0.45) 55%,
    rgba(12, 16, 12, 0.85) 100%
  );
}

[data-theme="dark"] .landscape-giant-text {
  color: #FFFFFF;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.4), 0 0 70px rgba(212, 34, 91, 0.55);
}

[data-theme="light"] .landscape-footer {
  --min-footer-bg: #FCF8FA;
  background: #FCF8FA;
}

[data-theme="light"] .landscape-stage-backdrop,
[data-theme="light"] .landscape-stage-fg {
  filter: brightness(1.02) contrast(1.02) saturate(1.05);
}

[data-theme="light"] .landscape-fog-layer {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(252, 248, 250, 0.1) 60%,
    rgba(252, 248, 250, 0.4) 100%
  );
}

[data-theme="light"] .landscape-giant-text {
  color: #FFFFFF;
  text-shadow: 0 4px 25px rgba(43, 6, 22, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
  opacity: 0.96;
}

[data-theme="light"] .landscape-giant-sub {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(43, 6, 22, 0.4);
}

.landscape-footer-bottom {
  position: relative;
  background: var(--min-footer-bg);
  border-top: 1px solid var(--min-border, rgba(255, 255, 255, 0.08));
  padding: 1.25rem 0 1.5rem;
  z-index: 10;
}

.landscape-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: var(--min-text-muted, #95A494);
  margin: 0;
  line-height: 1.5;
}

.footer-copy-text strong {
  color: var(--min-text-main);
  font-weight: 700;
}

.footer-scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--min-border, rgba(255, 255, 255, 0.15));
  color: var(--min-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-scroll-top-btn:hover {
  background: var(--min-surface, rgba(255, 255, 255, 0.1));
  border-color: var(--min-accent, #D4225B);
  color: var(--min-accent, #D4225B);
  transform: translateY(-2px);
}

.footer-scroll-top-btn:active {
  transform: translateY(0) scale(0.96);
}

@media (max-width: 900px) {
  .landscape-footer .footer-clean-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .landscape-footer .footer-clean-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .landscape-footer-top {
    padding: 2.5rem 0 1.75rem;
  }

  .landscape-footer .footer-clean-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    width: 100%;
  }

  .landscape-footer .footer-clean-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
  }

  .landscape-footer .footer-logos {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
  }

  .landscape-footer .footer-logo {
    height: 34px;
    width: auto;
  }

  .landscape-footer .footer-logo-separator {
    height: 20px;
  }

  .landscape-footer .footer-clean-titles {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    max-width: 100%;
  }

  .landscape-footer .footer-clean-name {
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
  }

  .landscape-footer .footer-clean-sub {
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
    margin: 0;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .landscape-footer .footer-clean-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--min-border, rgba(255, 255, 255, 0.08));
  }

  .landscape-stage {
    height: 280px;
  }

  .landscape-giant-text-wrap {
    bottom: 14%;
  }

  .landscape-giant-text {
    font-size: clamp(3.8rem, 18vw, 6.8rem);
    letter-spacing: 0.02em;
  }

  .landscape-giant-sub {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .landscape-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .landscape-footer-container {
    padding: 0 1.15rem;
  }

  .landscape-footer .footer-logo {
    height: 30px;
  }

  .landscape-footer .footer-logo-separator {
    height: 18px;
  }

  .landscape-footer .footer-clean-name {
    font-size: 0.98rem;
  }

  .landscape-footer .footer-clean-sub {
    font-size: 0.64rem;
    line-height: 1.4;
  }

  .landscape-stage {
    height: 240px;
  }

  .landscape-giant-text {
    font-size: clamp(3.2rem, 17vw, 4.8rem);
    letter-spacing: 0.02em;
  }
}
