* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  background: linear-gradient(180deg, var(--deep-blue) 0%, var(--mid-blue) 100%);
  color: white;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ================= GLOBAL ================= */
:root {
  --primary: #38bdf8;
  --secondary: #0ea5e9;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.15);
}

h1 {
  font-family: 'Cinzel', sans-serif;
}

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #013d75, #007396);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.6), 0 0 20px rgba(14, 165, 233, 0.3);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  width: 95vw;
  border-radius: 80px;
  margin: 25px;
  margin-top: 15px;
  top: 0;
  z-index: 1000;

  background: rgba(85, 115, 160, 0.253);

  backdrop-filter: blur(8px);

  border-bottom: 2px solid rgba(255, 255, 255, 0.253);
}

.nav-container {
  height: 70px;

  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  width: 200px;
  height: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 40px;
  margin-left: 40px;
}

.nav-menu a {
  text-decoration: none;

  color: #ffffff;

  transition: .3s;
}


.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  width: 0;
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: #6cddff;
}

.nav-menu a:hover::after {
  width: calc(100% - 2rem);
}

.nav-menu a.active {
  color: #2e9ecc;
  font-weight: 600;
}

.nav-menu a.active::after {
  width: calc(100% - 2rem);
}


/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================= SOUND ================= */
.sound-wrapper {
  position: relative;
  order: 1;
}


.sound-toggle {
  width: 110px;
  height: 44px;

  border: none;
  border-radius: 20px;
  padding: 10px;

  background: rgba(255, 255, 255, 0.795);

  color: #2e9ecc;

  cursor: pointer;

  backdrop-filter: blur(10px);

  transition: .3s;
}

.sound-toggle:hover {
  transform: translateY(-3px);
}

.sound-popup {
  position: absolute;

  top: 70px;
  right: 0;

  width: 240px;

  padding: 18px;

  border-radius: 24px;

  background: rgba(255, 255, 255, .72);

  border: 1px solid rgba(255, 255, 255, .4);

  backdrop-filter: blur(20px);

  display: none;
  flex-direction: column;
  gap: 12px;

  box-shadow:
    0 10px 30px rgba(124, 199, 255, .18);
}

.sound-popup.active {
  display: flex;
}

.sound-header {
  padding-bottom: 8px;
}

.sound-header span {
  color: #0f4b68;
  font-weight: 600;
}

.sound-item {
  height: 48px;

  border: none;
  border-radius: 16px;

  background: rgba(255, 255, 255, .55);

  color: #21546b;

  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 0 18px;

  transition: .3s;
}

.sound-item:hover {
  background: #dff6ff;
}

.stop {
  background: #eef9ff;
}

/* ✅ STYLE POPUP KONFIRMASI */
.confirm-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.confirm-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.confirm-box {
  background: #fff;
  padding: 24px 30px;
  border-radius: 16px;
  text-align: center;
  color: #0f4b68;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.confirm-box p {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 15px;
}

.confirm-btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.confirm-btn {
  padding: 6px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.confirm-btn.yes {
  background: #2e9ecc;
  color: #fff;
}

.confirm-btn.no {
  background: #eee;
  color: #333;
}

.hamburger {
  display: none;
}

.logo img {
  width: 200px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {

  .nav-container {
    height: 70px;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;

    flex-direction: column;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);

    display: none;

    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 16px 20px;
    color: #0b4863;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
  }

  .hamburger {
    display: block;
    order: 2;
    border: none;
    background: transparent;
    color: whitesmoke;
    font-size: 25px;
  }

  .sound-wrapper {
    order: 1;
  }

}

@media (max-width:480px) {
  .navbar {
    max-width: 92vw;
    margin: 15px;
  }

  .logo img {
    width: 130px;
  }

  .sound-toggle {
    width: 100px;
    height: 42px;
    margin-left: -20px;
  }

}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================= */
/* GLOBAL */
/* ========================= */

.oceanic-nebula-shell {
  width: 100%;
  min-height: 100vh;
  background: #063253;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: #04111d;
  color: white;
}

:root {
  --ocean-deep: #051a30;
  --ocean-mid: #0b4863;
  --ocean-light: #3a93d9;
  --accent: #48d2ff;
  --accent-glow: rgba(72, 210, 255, 0.35);
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text-white: #ffffff;
  --text-light: #e0f4ff;
}

/* Hero Utama */
.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, var(--ocean-light) 100%);
  transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Efek Partikel Mengambang */
.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(72, 210, 255, 0.2), transparent),
    radial-gradient(1px 1px at 85% 20%, rgba(255, 255, 255, 0.18), transparent);
  background-size: 220% 220%;
  animation: floatParticles 45s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes floatParticles {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

/* Overlay & Cahaya Dinamis */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(2, 20, 45, 0.55), transparent 65%);
  z-index: 2;
  pointer-events: none;
}

.hero-light-effect {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  animation: pulseLight 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes pulseLight {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

/* Kontainer Utama */
.hero-container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
  margin: 40px 0 40px;
  margin-left: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    opacity 1s ease;
  transform: none;
  filter: brightness(0.5);
}

/* Konten Teks */
.hero-content {
  max-width: 550px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(15px);
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 1.2px;
}

.hero-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: blinkDot 3s ease-in-out infinite;
}

@keyframes blinkDot {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--text-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-light);
  opacity: 0.92;
}

/* Kartu Gambar 3D */
.hero-card-wrapper {
  perspective: 1200px;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  margin-right: -20px;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(25px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 0 40px var(--accent-glow);
}

.hero-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.card-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 65%,
      rgba(72, 210, 255, 0.12) 100%);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.hero-card:hover .card-image {
  transform: scale(1.08);
}

.card-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      transparent);
  transform: skewX(-25deg);
  transition: left 0.9s ease;
  z-index: 3;
  pointer-events: none;
}

.hero-card:hover .card-shine {
  left: 150%;
}

.card-info-overlay {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 4;
  background: rgba(2, 20, 45, 0.65);
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px solid rgba(72, 210, 255, 0.2);
  backdrop-filter: blur(12px);
}

.card-category {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.card-name {
  font-size: 1.3rem;
  color: var(--text-white);
  margin: 0;
  font-weight: 600;
}

/* Navigasi Indikator Baru */
.hero-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-white);
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.nav-btn:hover {
  border-color: var(--accent);
  background: rgba(72, 210, 255, 0.12);
  box-shadow: 0 0 20px var(--accent-glow);
}

.hero-indicators {
  display: flex;
}

.indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  transition: all 0.4s ease;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: all 0.4s ease;
}

.indicator-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s ease;
}

.indicator.active .indicator-dot {
  width: 36px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.indicator.active .indicator-label {
  opacity: 1;
  transform: translateY(0);
  color: var(--text-light);
}

.indicator:hover:not(.active) .indicator-dot {
  background: rgba(255, 255, 255, 0.45);
}

.indicator:hover:not(.active) .indicator-label {
  opacity: 0.7;
}

/* Efek Fade */
.fade-element {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(18px);
}

/* Gelombang */
.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 4;
}

.hero-wave svg {
  width: 100%;
  height: 70px;
}

.hero-wave path {
  fill: #010e20;
}

/* Responsif */
@media(max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-card {
    transform: rotateY(0) rotateX(0);
    max-width: 100%;
    height: 380px;
  }

  .hero-content {
    margin: 0 auto;
  }
}

@media(max-width: 768px) {
  .gallery-hero {
    min-height: 85vh;
    padding: 40px 20px 90px;
  }

  .hero-card {
    height: 320px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .card-info-overlay {
    left: 20px;
    bottom: 20px;
    padding: 12px 16px;
  }

  .hero-nav {
    gap: 12px;
    flex-direction: column;
  }

  .hero-indicators {
    gap: 12px;
  }

  .nav-btn {
    display: none;
  }
}

@media (max-width:480px) {
  .hero-container {
    margin-left: 0;
    gap: 20px;
  }
}

:root {
  --deep-blue: #0A2342;
  --mid-blue: #103B66;
  --light-blue: #3892E3;
  --accent: #58BFFF;
  --accent-glow: rgba(88, 191, 255, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-muted: #8FB2D8;
  --text-light: #E0F4FF;
  --text-white: #FFFFFF;
}

/* =========================================
FILTER CONTAINER
========================================= */
.creature-filter-orbit {
  padding: 32px 7% 16px;
  background: #010e20;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Efek latar halus */


/* =========================================
SEARCH BOX
========================================= */
.search-box {
  position: relative;
  width: 100%;
  max-width: 390px;
  z-index: 10;
}

#searchInput {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border-radius: 9999px;
  border: 1px solid var(--ocean-light);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--text-light);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    inset 0 1px 2px rgba(115, 215, 255, 0.08),
    0 4px 12px rgba(113, 203, 255, 0.25);
}

/* Ikon pencarian */
.search-box::before {
  content: "🔍";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

#searchInput::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

#searchInput:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.12),
    0 0 0 3px rgba(88, 191, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.3);
}

#searchInput:focus~ ::before {
  color: var(--accent);
}

/* =========================================
SUGGESTION BOX
========================================= */
#suggestBox {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 100%;
  background: rgba(10, 35, 66, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transform-origin: top center;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

#suggestBox.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.suggest-item {
  padding: 14px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.suggest-item:last-child {
  border-bottom: none;
}

.suggest-item:hover {
  background: linear-gradient(90deg, rgba(88, 191, 255, 0.12), transparent);
  color: var(--text-white);
  padding-left: 26px;
}

.hidden-card {
  display: none !important;
}

/* =========================================
FILTER BUTTONS
========================================= */
.filter-current-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 14px;
  flex: 1;
  position: relative;
}

/* Scrollbar kustom */
.filter-current-row::-webkit-scrollbar {
  height: 4px;
}

.filter-current-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.filter-current-row::-webkit-scrollbar-thumb {
  background: rgba(88, 191, 255, 0.4);
  border-radius: 4px;
}

.filter-current-row::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 191, 255, 0.6);
}

.filter-pelagia-btn {
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 14px 28px;
  border-radius: 9999px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(16px);
  background: var(--glass-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Efek kilatan saat hover */
.filter-pelagia-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(88, 191, 255, 0.18),
      transparent);
  transition: left 0.6s ease;
}

.filter-pelagia-btn:hover::before {
  left: 100%;
}

.filter-pelagia-btn:hover {
  border-color: rgba(88, 191, 255, 0.5);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tombol Aktif */
.filter-pelagia-btn.filter-awakened {
  background: linear-gradient(135deg, var(--light-blue), var(--accent));
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 22px var(--accent-glow),
    0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
  padding: 14px 28px;
}

.filter-pelagia-btn.filter-awakened:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(88, 191, 255, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.3);
}

/* =========================================
RESPONSIVE
========================================= */
@media(max-width: 768px) {
  .creature-filter-orbit {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 5% 12px;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-pelagia-btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
}

/* ========================= */
/* GRID */
/* ========================= */

.marinevault-gridplane {
  padding: 80px;
  padding-top: 40px;
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: linear-gradient(180deg, #010e20 0%, var(--mid-blue) 100%);
}


.creature-orb-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #061322c4;
  border: 1px solid rgba(255, 255, 255, .05);
  transition: .45s;
  box-shadow: 0 5px 10px #0b4374b7;
  width: 380px;
  height: 330px;
}

.creature-orb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 207, 255, .3);
}

.card-image-aura {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.card-image-aura img {
  height: 100%;
  object-fit: cover;
  transition: 1s;
}

.creature-orb-card:hover img {
  transform: scale(1.06);
}

.card-image-aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(2, 11, 22, .95),
      transparent 45%);
}

.card-bio-spectrum {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
}

.creature-name-depth {
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.creature-zone-mark {
  color: #8ba6bc;
  font-size: .92rem;
}

.modal-arrow-trigger {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);

  color: white;
  font-size: 1.3rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: .35s;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .05);
}

.modal-arrow-trigger:hover {
  background: #0d3c60;
  transform: translateX(4px);
}

/* ========================= */
/* MODAL */
/* ========================= */

.abyssmodal-realm {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(18px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .4s;
  z-index: 999;
  padding: 20px;
}

.abyssmodal-realm.modal-revealed {
  opacity: 1;
  visibility: visible;
}

.modal-depthshell {
  width: min(1000px, 100%);
  background: #071423;
  border-radius: 32px;
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr 1fr;

  border: 1px solid rgba(255, 255, 255, .06);

  transform: translateY(30px);
  transition: .45s;
  height: 470px;
  margin-top: 80px;
}

.abyssmodal-realm.modal-revealed .modal-depthshell {
  transform: translateY(0);
}

.modal-depth-visual {
  height: 470px;
}

.modal-depth-visual img {
  height: 100%;
  object-fit: cover;
}

.modal-biolux-content {
  padding: 20px;
  position: relative;
}

.modal-dismiss-current {
  position: absolute;
  top: 25px;
  right: 25px;

  color: white;
  font-size: 1.5rem;
}

.modal-depth-category {
  color: #79d7ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: .8rem;
}

.modal-species-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  line-height: .95;
  margin-bottom: 14px;
}

.modal-depth-description {
  line-height: 1.9;
  color: #a7bdd0;
  margin-bottom: 20px;
}

.modal-oceanic-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.meta-orbit-box {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
}

.meta-orbit-box h4 {
  margin-bottom: 10px;
  color: #76d4ff;
  font-size: .85rem;
  letter-spacing: 2px;
}

.meta-orbit-box p {
  color: #dbe8f2;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (min-width:769px) and (max-width:1024px) {

  .aether-current-grid {
    grid-template-columns: 1fr;
  }

  .lumora-jelly-wrapper {
    order: -1;
  }

  .marinevault-gridplane {
    grid-template-columns: repeat(2, 1fr);
  }

  .creature-orb-card {
    width: 420px;
  }

}

@media(max-width:768px) {

  .creature-filter-orbit {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .leviacrest-display {
    font-size: 4rem;
  }

  .modal-species-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .modal-depth-description {
    line-height: 1.4rem;
    margin-bottom: 20px;
    font-size: 0.9rem;
  }

  .modal-oceanic-meta {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 20px;
  }

  .meta-orbit-box {
    padding: 10px;
    width: 130px;
    height: 90px;
  }

  .meta-orbit-box h4 {
    margin-bottom: 5px;
    font-size: .75rem;
    margin-top: 10px;
    text-align: center;
  }

  .meta-orbit-box p {
    font-size: 13px;
    text-align: center;
  }

  .marinevault-gridplane {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .creature-orb-card {
    height: 170px;
    width: 150px;
  }

  .filter-current-row {
    width: 320px;
  }

  .card-image-aura {
    height: 180px;
  }

  .modal-depthshell {
    display: grid;
    height: 600px;
    grid-template-columns: 1fr;
  }

  .modal-depth-visual {
    height: 200px;
  }

  .modal-depth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .modal-biolux-content {
    padding: 20px;
  }

  .modal-depth-category {
    margin-bottom: 8px;
    font-size: .8rem;
  }

  .card-bio-spectrum {
    left: 10px;

  }

  .creature-name-depth {
    font-size: 13px;

  }

  .modal-arrow-trigger {
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
  }

}


/* ================= FOOTER ================= */
.footer {
  padding: 90px 7% 30px;

  background: #dff6ff;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;

  gap: 40px;

  padding-bottom: 50px;
}

.footer-brand h3 {
  color: #0d4b66;

  margin-bottom: 18px;
}

.footer-brand p {
  color: #5f7d8d;

  line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 18px;

  color: #0b4863;
}

.footer-links a {
  display: block;

  margin-bottom: 12px;

  color: #63808f;

  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons a {
  font-size: 20px;

  color: #53cfff;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .05);

  padding-top: 25px;

  text-align: center;

  color: #6f8d9b;
}