/* Life Arise Pro Visual Enhancement Layer */
:root {
  --la-gold: #f7c948;
  --la-purple: #6d28d9;
  --la-rose: #e85d75;
  --la-blue: #2563eb;
  --la-ink: #111827;
  --la-muted: #4b5563;
  --la-border: rgba(17, 24, 39, .12);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top left, rgba(247, 201, 72, .16), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(37, 99, 235, .10), transparent 28rem),
    #fff;
}

section { position: relative; }

.rounded-2xl,
.life-event-card,
.life-qr-box,
.la-media-hub,
.la-pro-video-card,
.la-audio-panel,
.la-verse,
.la-counter span {
  border: 1px solid var(--la-border) !important;
}

.rounded-2xl,
.life-event-card,
.life-qr-box {
  box-shadow: 0 18px 48px rgba(17, 24, 39, .10) !important;
}

.la-media-hub {
  max-width: 1180px;
  margin: 48px auto;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 251, 235, .92)),
    #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, .14);
  overflow: hidden;
  position: relative;
}

.la-media-hub::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 180deg, transparent, rgba(247, 201, 72, .22), rgba(232, 93, 117, .14), rgba(37, 99, 235, .12), transparent);
  animation: laSpin 14s linear infinite;
  opacity: .7;
}

.la-media-hub > * {
  position: relative;
  z-index: 1;
}

.la-media-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  color: var(--la-ink);
}

.la-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.la-pro-video-card {
  background: rgba(255, 255, 255, .96);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .12);
  transform: translateY(12px);
  animation: laRise .7s ease forwards;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.la-pro-video-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 201, 72, .65) !important;
  box-shadow: 0 24px 70px rgba(109, 40, 217, .20);
}

.la-pro-thumb {
  height: 170px;
  display: block;
  position: relative;
  overflow: hidden;
  background: #111;
}

.la-pro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
}

.la-pro-video-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.14) contrast(1.05);
}

.la-pro-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .56));
}

.la-pro-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 64px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, var(--la-gold));
  color: #111;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
  z-index: 2;
}

.la-pro-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .84);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}

.la-pro-video-body { padding: 18px; }

.la-pro-video-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--la-ink);
}

.la-pro-video-body p {
  margin: 0 0 14px;
  color: var(--la-muted);
  line-height: 1.45;
}

.la-pro-video-body a {
  font-weight: 900;
  color: #5b21b6;
  text-decoration: none;
}

.la-audio-panel {
  margin-top: 34px;
  background: linear-gradient(135deg, #111827, #4c1d95);
  color: #fff;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 18px 48px rgba(17, 24, 39, .24);
}

.la-audio-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.la-audio-buttons button,
.verse-btn,
#music-toggle {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(90deg, var(--la-gold), #ff8a65);
  color: #111;
  box-shadow: 0 14px 35px rgba(109, 40, 217, .24);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.la-audio-buttons button:hover,
.verse-btn:hover,
#music-toggle:hover {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.15);
  box-shadow: 0 18px 42px rgba(109, 40, 217, .30);
}

.la-verse {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 24px;
  background: #fff;
  border-left: 8px solid var(--la-gold) !important;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .10);
}

.la-verse blockquote {
  margin: 0;
  color: #111;
}

.la-verse blockquote span {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.55;
  font-weight: 800;
}

.la-verse blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--la-muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.la-counter {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.la-counter span {
  background: linear-gradient(135deg, #111827, #5b21b6) !important;
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.la-fade-card {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .7s ease, transform .7s ease;
}

.la-fade-card.la-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.la-pro-video-card,
.rounded-2xl,
.life-event-card,
.life-qr-box {
  position: relative;
  overflow: hidden;
}

.la-pro-video-card::before,
.rounded-2xl::before,
.life-event-card::before,
.life-qr-box::before {
  content: "";
  position: absolute;
  inset: -70%;
  background: linear-gradient(120deg, transparent 42%, rgba(255, 255, 255, .36) 50%, transparent 58%);
  transform: translateX(-55%) rotate(8deg);
  transition: transform .75s ease;
  pointer-events: none;
  z-index: 2;
}

.la-pro-video-card:hover::before,
.rounded-2xl:hover::before,
.life-event-card:hover::before,
.life-qr-box:hover::before {
  transform: translateX(70%) rotate(8deg);
}

#music-toggle {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 9999 !important;
  font-family: Arial, sans-serif !important;
  user-select: none;
  color: #111 !important;
  padding: 13px 20px !important;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes laSpin { to { transform: rotate(360deg); } }
@keyframes laRise { to { transform: translateY(0); } }

@media (max-width: 700px) {
  .la-media-hub {
    margin: 30px 12px;
    border-radius: 20px;
  }

  .la-pro-thumb { height: 190px; }

  .la-counter,
  .la-audio-buttons {
    display: grid !important;
  }

  #music-toggle {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
