/* AjayRamos.com — premium FX layer v2 (sitewide) */
:root {
  --neon-mag: #FF3FD8;
  --neon-mag-dim: rgba(255, 63, 216, 0.12);
  --neon-mag-border: rgba(255, 63, 216, 0.35);
}

/* CRITICAL scroll fix: native CSS smooth scrolling fights Lenis (felt like
   section locking / pausing). Lenis owns easing now. */
html { scroll-behavior: auto !important; }

/* ---------- Liquid glass (Rabanne-style) ---------- */
.liquid-glass {
  background: rgba(255, 255, 255, 0.012) !important;
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}
.nav.liquid-glass { background: rgba(8, 10, 12, 0.42) !important; }
.sticky-audio-player.liquid-glass { background: rgba(8, 10, 12, 0.5) !important; }

/* ---------- Cinematic hero video ---------- */
#fx-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
}
#fx-hero-video.on { opacity: 1; }
.hero-bg-photo { z-index: 0; }
.hero-overlay, .hero-gradient-bottom { z-index: 1; }
#bokeh-canvas { z-index: 2; }
#fx-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-content, .page-hero-content { position: relative; z-index: 3; }
.hero-scroll-hint { z-index: 3; }

/* ---------- Scroll progress ---------- */
#fx-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 300;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold) 0%, var(--neon-mag) 100%);
  box-shadow: 0 0 12px rgba(0, 196, 204, 0.6);
  pointer-events: none;
}

/* ---------- Aurora light sweeps (every page) ---------- */
#fx-aurora {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
  overflow: hidden;
}
.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.fx-orb.o1 {
  width: 56vw; height: 56vw;
  left: -18vw; top: -12vh;
  background: radial-gradient(circle, rgba(0, 196, 204, 0.16) 0%, transparent 62%);
  animation: fx-orb1 26s ease-in-out infinite alternate;
}
.fx-orb.o2 {
  width: 48vw; height: 48vw;
  right: -16vw; top: 30vh;
  background: radial-gradient(circle, rgba(255, 63, 216, 0.13) 0%, transparent 62%);
  animation: fx-orb2 32s ease-in-out infinite alternate;
}
.fx-orb.o3 {
  width: 40vw; height: 40vw;
  left: 28vw; bottom: -22vh;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.12) 0%, transparent 62%);
  animation: fx-orb3 38s ease-in-out infinite alternate;
}
@keyframes fx-orb1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(26vw, 18vh, 0) scale(1.25); } }
@keyframes fx-orb2 { from { transform: translate3d(0,0,0) scale(1.15); } to { transform: translate3d(-22vw, -16vh, 0) scale(0.9); } }
@keyframes fx-orb3 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-14vw, -20vh, 0) scale(1.3); } }

/* ---------- Film grain ---------- */
#fx-grain {
  position: fixed;
  inset: -60%;
  width: 220%; height: 220%;
  z-index: 290;
  pointer-events: none;
  opacity: 0.05;
  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.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: fx-grain-shift 0.9s steps(2) infinite;
}
@keyframes fx-grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 1%); }
  100% { transform: translate(1%, -2%); }
}

/* ---------- Letter stagger ---------- */
.fx-ch { display: inline-block; will-change: transform, opacity; }

/* ---------- Cursor glow ---------- */
#fx-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  pointer-events: none;
  z-index: 6;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0, 196, 204, 0.10) 0%,
    rgba(255, 63, 216, 0.05) 35%,
    transparent 70%);
  mix-blend-mode: screen;
  will-change: transform;
}
@media (pointer: coarse) { #fx-glow { display: none; } }

/* ---------- EQ bottom edge ---------- */
#fx-eq {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 44px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
body.fx-playing #fx-eq { opacity: 0.9; }

/* ---------- Buttons / cards ---------- */
.btn { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-gold:hover { box-shadow: 0 0 26px rgba(0, 196, 204, 0.45), 0 0 50px rgba(255, 63, 216, 0.25); }
.yt-thumb, .stat-item, .service-card { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s; will-change: transform; }
.yt-thumb:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 196, 204, 0.22); }

::selection { background: var(--neon-mag); color: #000; }

/* ============================================================
   NEXT SHOW STRIP + CALENDAR (unchanged from v1)
============================================================ */
.aj-next {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.4rem 1.8rem; margin-bottom: 2rem;
  border: 1px solid var(--gold-border);
  background: linear-gradient(100deg, rgba(0, 196, 204, 0.10) 0%, rgba(10, 12, 14, 0.7) 45%, rgba(255, 63, 216, 0.08) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.aj-next-dot {
  flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%;
  background: var(--neon-mag);
  animation: fx-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes fx-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 63, 216, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(255, 63, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 63, 216, 0); }
}
.aj-next-info { display: flex; flex-direction: column; gap: 0.18rem; min-width: 0; }
.aj-next-label { font-family: var(--font-accent); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--neon-mag); }
.aj-next-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1.05; }
.aj-next-meta { font-size: 0.82rem; color: var(--text-2); }
.aj-next-cta { margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) {
  .aj-next { flex-wrap: wrap; gap: 0.9rem; }
  .aj-next-cta { margin-left: 0; width: 100%; text-align: center; }
}

.ajcal { border: 1px solid var(--gold-border); background: rgba(9, 11, 13, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
.ajcal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--gold-border); }
.ajcal-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.06em; margin: 0; }
.ajcal-btn { width: 42px; height: 42px; background: transparent; border: 1px solid var(--gold-border); color: var(--gold); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.ajcal-btn:hover { background: var(--gold) !important; color: #000; box-shadow: 0 0 18px rgba(0, 196, 204, 0.5); }
.ajcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.ajcal-dow { padding: 0.65rem 0.4rem; text-align: center; font-family: var(--font-accent); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; color: var(--text-3); border-bottom: 1px solid rgba(0, 196, 204, 0.14); }
.ajcal-cell { min-height: 92px; padding: 6px; border-right: 1px solid rgba(0, 196, 204, 0.08); border-bottom: 1px solid rgba(0, 196, 204, 0.08); position: relative; transition: background 0.3s; }
.ajcal-cell:nth-child(7n) { border-right: 0; }
.ajcal-cell.has-ev:hover { background: rgba(0, 196, 204, 0.05); }
.ajcal-cell.out { opacity: 0.28; }
.ajcal-day { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; font-weight: 600; color: var(--text-2); border-radius: 50%; }
.ajcal-cell.today .ajcal-day { background: var(--gold); color: #000; box-shadow: 0 0 12px rgba(0, 196, 204, 0.6); }
.ajcal-ev { display: block; width: 100%; margin-top: 4px; padding: 4px 7px; font-family: var(--font-accent); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em; text-align: left; color: #d8f6f8; background: rgba(0, 196, 204, 0.12); border: 1px solid rgba(0, 196, 204, 0.35); border-radius: 4px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.ajcal-ev:hover { transform: translateY(-1px); box-shadow: 0 0 14px rgba(0, 196, 204, 0.45); }
.ajcal-ev.t-wedding { color: #ffe2f7; background: var(--neon-mag-dim); border-color: var(--neon-mag-border); }
.ajcal-ev.t-wedding:hover { box-shadow: 0 0 14px rgba(255, 63, 216, 0.45); }
.ajcal-ev.t-private { color: #fff; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); }
.ajcal-more { display: block; margin-top: 3px; font-size: 0.58rem; color: var(--text-3); }
.ajcal-dot { display: none; }
.ajcal-mlist { display: none; }
@media (max-width: 720px) {
  .ajcal-cell { min-height: 46px; padding: 4px; }
  .ajcal-ev, .ajcal-more { display: none; }
  .ajcal-dot { display: inline-block; width: 7px; height: 7px; margin: 4px 1px 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(0, 196, 204, 0.7); }
  .ajcal-dot.t-wedding { background: var(--neon-mag); box-shadow: 0 0 8px rgba(255, 63, 216, 0.7); }
  .ajcal-dot.t-private { background: #fff; }
  .ajcal-mlist { display: block; padding: 0.7rem 0.9rem 1rem; border-top: 1px solid rgba(0, 196, 204, 0.14); }
  .ajcal-mitem { display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.7rem 0.4rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-1, #eee); cursor: pointer; text-align: left; }
  .ajcal-mdate { flex: 0 0 58px; font-family: var(--font-accent); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
  .ajcal-mitem.t-wedding .ajcal-mdate { color: var(--neon-mag); }
  .ajcal-mtitle { flex: 1; font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ajcal-mtime { font-size: 0.72rem; color: var(--text-3); }
}
.ajcal-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.ajcal-modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.35s; }
.ajcal-modal.open .ajcal-modal-bg { opacity: 1; }
.ajcal-card { position: relative; width: min(440px, 94vw); padding: 2.2rem 2.4rem; background: rgba(13, 16, 19, 0.92); border: 1px solid var(--gold-border); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 196, 204, 0.12); transform: translateY(26px); opacity: 0; transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.ajcal-modal.open .ajcal-card { transform: translateY(0); opacity: 1; }
.ajcal-x { position: absolute; top: 0.7rem; right: 0.9rem; background: none; border: 0; font-size: 1.7rem; color: var(--text-3); cursor: pointer; transition: color 0.25s; }
.ajcal-x:hover { color: var(--neon-mag); }
.ajcal-badge { display: inline-block; padding: 0.32rem 0.8rem; font-family: var(--font-accent); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-border); border-radius: 999px; }
.ajcal-badge.t-wedding { color: var(--neon-mag); border-color: var(--neon-mag-border); }
.ajcal-badge.t-private { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ajcal-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.3rem; letter-spacing: 0.04em; margin: 0.9rem 0 0.6rem; line-height: 1.02; }
.ajcal-card-line { margin: 0.25rem 0; font-size: 0.95rem; color: var(--text-2); }
.ajcal-card-cta { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .aj-next-dot, .fx-orb, #fx-grain { animation: none; }
  #fx-glow, #fx-eq, #fx-aurora, #fx-hero-video { display: none; }
}
