﻿:root {
  --deep: #07438f;
  --mid: #1c77da;
  --light: #79c7ff;
  --foam: #ebf9ff;
  --orange: #ff8a2a;
  --red: #ff4f62;
  --card: rgba(255, 255, 255, 0.2);
  --text: #0d2244;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: #f8fdff;
  background: radial-gradient(circle at 10% 15%, #7ad0ff 0%, transparent 24%),
    radial-gradient(circle at 85% 12%, #ff9f55 0%, transparent 24%),
    radial-gradient(circle at 75% 80%, #ff6a77 0%, transparent 26%),
    linear-gradient(165deg, #0a4186 0%, #1569c8 50%, #2ca6f3 100%);
  overflow-x: hidden;
}

.ocean-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  animation: floatUp linear infinite;
}

.heart {
  --heart-size: 14px;
  position: absolute;
  width: var(--heart-size);
  height: var(--heart-size);
  background: rgba(255, 173, 190, 0.65);
  transform: rotate(-45deg);
  box-shadow: 0 0 10px rgba(255, 150, 175, 0.25);
  border-radius: 2px;
  animation: floatHeart linear infinite;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: var(--heart-size);
  height: var(--heart-size);
  background: rgba(255, 173, 190, 0.65);
  border-radius: 50%;
}

.heart::before {
  top: calc(var(--heart-size) * -0.5);
  left: 0;
}

.heart::after {
  top: 0;
  left: calc(var(--heart-size) * 0.5);
}

.b1 {
  width: 16px;
  height: 16px;
  left: 16%;
  bottom: -30px;
  animation-duration: 12s;
}

.b2 {
  width: 12px;
  height: 12px;
  left: 62%;
  bottom: -30px;
  animation-duration: 9s;
  animation-delay: 1.2s;
}

.b3 {
  width: 18px;
  height: 18px;
  left: 84%;
  bottom: -30px;
  animation-duration: 11s;
  animation-delay: 0.8s;
}

.b4 {
  width: 10px;
  height: 10px;
  left: 34%;
  bottom: -30px;
  animation-duration: 8s;
  animation-delay: 2s;
}

.h1 {
  left: 24%;
  bottom: -28px;
  animation-duration: 15s;
  animation-delay: 1s;
}

.h2 {
  left: 70%;
  bottom: -28px;
  animation-duration: 13s;
  animation-delay: 3s;
  --heart-size: 12px;
}

.h3 {
  left: 52%;
  bottom: -28px;
  animation-duration: 16s;
  animation-delay: 5s;
  --heart-size: 16px;
}

.hero,
main,
footer {
  width: min(1020px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 84px 0 26px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin: 0 0 8px;
  color: #dff4ff;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", cursive;
  margin: 0;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  line-height: 0.98;
  max-width: 14ch;
}

.lead {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: #ebf7ff;
}

.french {
  margin: 10px 0 0;
  max-width: 52ch;
  color: #ffe8ee;
  font-size: 1rem;
  font-style: italic;
}

.sea {
  position: relative;
  margin-top: 34px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(8, 66, 141, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.wave {
  position: absolute;
  left: -35%;
  width: 170%;
  border-radius: 42%;
}

.wave-back {
  bottom: -85px;
  height: 180px;
  background: rgba(150, 220, 255, 0.5);
  animation: waveDrift 10s linear infinite;
}

.wave-mid {
  bottom: -90px;
  height: 170px;
  background: rgba(70, 160, 235, 0.6);
  animation: waveDrift 7s linear infinite reverse;
}

.wave-front {
  bottom: -95px;
  height: 190px;
  background: rgba(12, 111, 207, 0.7);
  animation: waveDrift 5s linear infinite;
}

main {
  display: grid;
  gap: 18px;
  padding-bottom: 34px;
}

.card {
  border-radius: 24px;
  padding: 22px;
}

.glass {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  line-height: 1.55;
  color: #f3faff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.shark-line {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #ddf5ff;
  font-weight: 700;
}

.shark-gif {
  margin-top: 14px;
  width: 100%;
  max-width: 280px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(6, 30, 73, 0.35);
  display: block;
}

.playlist-card {
  position: relative;
}

.player-ui {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7, 38, 84, 0.78), rgba(15, 85, 164, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-ui img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 49, 102, 0.5);
  box-shadow: 0 8px 22px rgba(4, 20, 50, 0.4);
}

.player-main {
  min-width: 0;
}

.track-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cde9ff;
}

.track-title {
  margin: 4px 0 0;
  font-weight: 700;
  color: #ffffff;
}

.progress-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.controls-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.controls-row button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 56, 122, 0.75);
  color: #fff;
  border-radius: 999px;
  min-width: 44px;
  height: 38px;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0 12px;
}

#playPause {
  min-width: 74px;
  height: 44px;
  font-size: 0.92rem;
  background: linear-gradient(95deg, var(--orange), var(--red));
}

.volume-wrap {
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

#seekBar,
#volumeBar {
  accent-color: #ff7f65;
}

.tiny {
  margin-top: 9px;
  font-size: 0.93rem;
  color: #dbeeff;
}

.tiny code {
  color: #ffffff;
}

.playlist-pill {
  margin-top: 14px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(95deg, var(--orange), var(--red));
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 77, 149, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  font-weight: 700;
}

.gallery-widget {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  min-height: 280px;
  background: rgba(8, 58, 120, 0.55);
  display: grid;
  place-items: center;
}

.gallery-widget img {
  width: 100%;
  height: clamp(280px, 52vw, 420px);
  object-fit: contain;
  background: rgba(6, 37, 84, 0.42);
  display: block;
}

.gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(8, 26, 55, 0.64);
  color: #f7fcff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.pledge {
  background: linear-gradient(125deg, #ff8a2a 0%, #ff5f79 42%, #1d8de4 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 30px rgba(8, 39, 92, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pledge h2,
.pledge p {
  color: #fff;
}

#bgMusic {
  display: none;
}

footer {
  padding: 8px 0 28px;
}

footer p {
  margin: 0;
  color: #e1f2ff;
  font-weight: 700;
  font-size: 0.95rem;
}

@keyframes waveDrift {
  from {
    transform: translateX(-10%) rotate(0deg);
  }
  to {
    transform: translateX(10%) rotate(360deg);
  }
}

@keyframes floatUp {
  from {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.75;
  }
  to {
    transform: translateY(-105vh) scale(1.2);
    opacity: 0;
  }
}

@keyframes floatHeart {
  from {
    transform: translateY(0) translateX(0) rotate(-45deg) scale(0.9);
    opacity: 0;
  }
  20% {
    opacity: 0.65;
  }
  to {
    transform: translateY(-105vh) translateX(14px) rotate(-45deg) scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 68px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-ui {
    grid-template-columns: 1fr;
  }

  .player-ui img {
    width: 100%;
    max-width: 220px;
  }
}
