:root {
  --mint-base: #cbf5dd;
  --mint-light: #e2faf0;
  --mint-mid: #a0e8c0;
  --mint-deep: #5ecf92;
  --mint-dark: #2a8a5a;
  --mint-deeper: #1a5c3c;
  --green-warm: #3da670;
  --green-sage: #5ec487;
  --gold: #c9a84c;
  --gold-light: #e4c97a;
  --ink: #0d2318;
  --text-main: #1a3d28;
  --text-muted: #3a6e52;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    160deg,
    #e8fbf1 0%,
    #cbf5dd 25%,
    #b0eecb 55%,
    #cbf5dd 80%,
    #e2faf0 100%
  );
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ── BACKGROUND ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 90% 60% at 10% 10%,
      rgba(94, 207, 146, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 70% at 90% 90%,
      rgba(61, 166, 112, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 50% at 50% 50%,
      rgba(203, 245, 221, 0.4) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, #e2faf0 0%, #cbf5dd 40%, #b8f0d0 70%, #e2faf0 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: breathe 9s ease-in-out infinite;
}
.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(94, 207, 146, 0.25) 0%,
    transparent 65%
  );
}
.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -180px;
  right: -180px;
  background: radial-gradient(
    circle,
    rgba(160, 232, 192, 0.22) 0%,
    transparent 65%
  );
  animation-delay: -4s;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ── LOGO ── */
.logo-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(42, 138, 90, 0.3);
  box-shadow:
    0 0 0 6px rgba(94, 196, 135, 0.15),
    0 8px 32px rgba(26, 92, 60, 0.2);
  display: block;
}

.logo-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mint-deeper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(42, 138, 90, 0.15);
}

/* ── CARD ── */
.card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 44px 36px 38px;
  width: min(460px, calc(100vw - 40px));
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(203, 245, 221, 0.35) 100%
  );
  border: 1px solid rgba(94, 196, 135, 0.3);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px rgba(26, 92, 60, 0.12);
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.6),
    transparent
  );
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
  background: linear-gradient(
    135deg,
    var(--ink) 0%,
    var(--mint-dark) 60%,
    var(--mint-deeper) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.65;
  margin-bottom: 26px;
}

.divider {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 26px;
}

/* ── DAY BADGE ── */
.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: rgba(61, 166, 112, 0.1);
  border: 1px solid rgba(61, 166, 112, 0.3);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 18px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-warm);
  animation: blink 2.5s ease infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.status-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin-bottom: 18px;
  min-height: 20px;
}

/* ── PLAYER ── */
.player {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 24px 20px 18px;
  border: 1px solid rgba(94, 196, 135, 0.2);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-warm), var(--mint-deep));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 24px rgba(61, 166, 112, 0.4);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(61, 166, 112, 0.55);
}

.play-btn.playing {
  animation: pulse 2.2s ease infinite;
}

@keyframes pulse {
  0% {
    box-shadow:
      0 6px 24px rgba(61, 166, 112, 0.4),
      0 0 0 0 rgba(61, 166, 112, 0.3);
  }
  70% {
    box-shadow:
      0 6px 24px rgba(61, 166, 112, 0.4),
      0 0 0 18px rgba(61, 166, 112, 0);
  }
  100% {
    box-shadow:
      0 6px 24px rgba(61, 166, 112, 0.4),
      0 0 0 0 rgba(61, 166, 112, 0);
  }
}

.play-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}
.icon-play {
  display: block;
  margin-left: 4px;
}
.icon-pause {
  display: none;
}
.play-btn.playing .icon-play {
  display: none;
}
.play-btn.playing .icon-pause {
  display: block;
  margin-left: 0;
}

.progress-bar {
  height: 4px;
  background: rgba(42, 138, 90, 0.15);
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-warm), var(--mint-deep));
  pointer-events: none;
}

.time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.03em;
}

/* ── PLAYER OPTIONS ── */
.player-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.opt-btn {
  background: rgba(42, 138, 90, 0.1);
  border: 1px solid rgba(61, 166, 112, 0.25);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.opt-btn:hover {
  background: rgba(42, 138, 90, 0.18);
}

.opt-btn svg {
  fill: var(--mint-dark);
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.04em;
  animation: rise 1s ease both;
  animation-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .card {
    padding: 32px 24px 28px;
  }
  .logo-img {
    width: 100px;
    height: 100px;
  }
}

/* ── SOCIAL LINKS ── */
.social-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  animation: rise 1s ease both;
  animation-delay: 0.5s;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mint-dark);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(61, 166, 112, 0.25);
  border-radius: 20px;
  padding: 7px 18px;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.social-btn svg {
  fill: var(--mint-dark);
  flex-shrink: 0;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(42, 138, 90, 0.15);
}
