/* ===========================================================
   Neon + 3D upgrade
   - Neon-ified gold/yellow theme accents
   - Interactive 3D tilt option cards
   Loaded after style.css; reuses :root tokens.
   =========================================================== */

:root {
  --gold: #ffc01f;
  --gold-2: #ffe14d;
  --neon-gold: #ffd23f;
  --neon-gold-soft: rgba(255, 210, 63, 0.55);
  --border-gold: rgba(255, 210, 63, 0.5);
  --glow-gold:
    0 0 6px rgba(255, 225, 77, 0.9),
    0 0 18px rgba(255, 192, 31, 0.6),
    0 0 40px rgba(255, 192, 31, 0.35);
}

/* ---------- neon gold accents ---------- */
.section-label,
.hero .eyebrow {
  color: var(--neon-gold) !important;
  text-shadow: var(--glow-gold);
  animation: neonPulse 3.2s ease-in-out infinite;
}

/* big gold numbers / stat figures glow */
.stats-panel strong,
.market-stat strong,
.info-card span,
.cp-badge {
  text-shadow: 0 0 10px rgba(255, 210, 63, 0.55), 0 0 26px rgba(255, 192, 31, 0.3);
}

/* gold buttons -> neon */
.header-btn,
.primary-btn,
.buy-btn,
.confirm-btn,
.filter-btn {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)) !important;
  box-shadow:
    0 0 14px rgba(255, 210, 63, 0.45),
    0 12px 34px rgba(255, 192, 31, 0.28) !important;
}
.header-btn:hover,
.primary-btn:hover,
.buy-btn:hover,
.confirm-btn:hover,
.filter-btn:hover {
  box-shadow:
    0 0 22px rgba(255, 225, 77, 0.7),
    0 22px 54px rgba(255, 192, 31, 0.4) !important;
}

/* logo dot -> brighter neon orb */
.logo::before {
  background: radial-gradient(circle, #fff3b0, var(--gold)) !important;
  box-shadow: 0 0 10px #ffe14d, 0 0 28px rgba(255, 192, 31, 0.85), 0 0 52px rgba(255, 192, 31, 0.5) !important;
  animation: neonPulse 2.4s ease-in-out infinite;
}

.nav-links a:hover,
.drawer-link:hover {
  color: var(--neon-gold) !important;
  text-shadow: 0 0 12px rgba(255, 210, 63, 0.7);
}

@keyframes neonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

/* =========================================================
   3D tilt option cards
   ========================================================= */
.options-grid {
  perspective: 1200px;
}

.option-card {
  position: relative;
  overflow: hidden;
  min-height: 220px !important;
  display: block !important;            /* override flex from style.css */
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s ease, border-color .35s ease;
  border: 1px solid var(--border-gold) !important;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(255, 210, 63, 0.18), transparent 46%),
    linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.025)) !important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

/* while the pointer is driving the tilt, track 1:1 (no transform easing) */
.option-card.is-tilting {
  transition: box-shadow .35s ease, border-color .35s ease;
}

.option-card:hover {
  border-color: var(--neon-gold) !important;
  box-shadow:
    0 0 22px rgba(255, 210, 63, 0.4),
    0 30px 70px rgba(0,0,0,.6),
    inset 0 0 26px rgba(255, 210, 63, 0.12);
}

/* depth layers */
.oc-num {
  position: absolute;
  top: clamp(14px, 2vw, 22px);
  inset-inline-start: clamp(16px, 2.4vw, 26px);
  font-family: "Lalezar", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  color: var(--neon-gold);
  opacity: .85;
  text-shadow: var(--glow-gold);
  transform: translateZ(45px);
  pointer-events: none;
}

.oc-label {
  position: absolute;
  inset-inline-start: clamp(16px, 2.4vw, 26px);
  bottom: clamp(18px, 2.6vw, 28px);
  font-family: "Lalezar", sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  color: #fff8e6;
  transform: translateZ(70px);
  text-shadow: 0 8px 26px rgba(0,0,0,.6);
  pointer-events: none;
}

.oc-arrow {
  position: absolute;
  top: clamp(16px, 2.2vw, 24px);
  inset-inline-end: clamp(16px, 2.2vw, 24px);
  width: clamp(40px, 4vw, 50px);
  height: clamp(40px, 4vw, 50px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(255, 210, 63, 0.08);
  color: var(--neon-gold);
  font-size: 20px;
  transform: translateZ(55px);
  transition: background .3s ease, transform .3s ease;
  pointer-events: none;
}
.option-card:hover .oc-arrow {
  background: var(--neon-gold);
  color: #1a1203;
  box-shadow: 0 0 18px rgba(255, 210, 63, 0.75);
}

/* moving glare that follows the cursor */
.oc-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    180px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 235, 150, 0.28),
    transparent 60%
  );
}
.option-card:hover .oc-glow { opacity: 1; }

/* neon scan line at the bottom edge */
.option-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-gold), transparent);
  opacity: .4;
  transform: translateZ(30px);
  transition: opacity .35s ease;
}
.option-card:hover::after { opacity: 1; box-shadow: 0 0 14px var(--neon-gold); }

@media (max-width: 720px) {
  .option-card { min-height: 170px !important; }
}

/* =========================================================
   3D tilt — rental account photo cards (pageEjare)
   ========================================================= */
.account-photo-grid {
  perspective: 1000px;
}

.account-photo-item {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .55s cubic-bezier(.18,.8,.2,1),
              box-shadow .4s ease, border-color .4s ease;
  /* override style.css border */
  border: 1px solid rgba(255, 210, 63, 0.25) !important;
  border-radius: 16px;
}

/* while JS is driving: disable transform easing for 1:1 tracking */
.account-photo-item.is-tilting {
  transition: box-shadow .3s ease, border-color .3s ease;
}

/* cancel style.css hover transform — JS owns it now */
.account-photo-item:hover {
  transform: none;               /* JS sets this */
  border-color: var(--neon-gold) !important;
  box-shadow:
    0 0 0 1px rgba(255, 210, 63, 0.55),
    0 0 28px rgba(255, 210, 63, 0.45),
    0 0 60px rgba(255, 180, 20, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.6);
}

/* image: smooth zoom on hover */
.account-photo-item img {
  transition: transform .55s cubic-bezier(.18,.8,.2,1),
              filter .4s ease !important;
}
.account-photo-item:hover img {
  transform: scale(1.07) !important;
  filter: brightness(1.08) saturate(1.15);
}

/* ── Label upgrade ── */
.account-photo-item .account-photo-label {
  background: linear-gradient(
    to top,
    rgba(10, 7, 2, 0.92) 0%,
    rgba(10, 7, 2, 0.55) 60%,
    transparent 100%
  ) !important;
  padding: 28px 14px 12px !important;
  font-size: 15px !important;
  letter-spacing: .6px;
  color: #e8d99a !important;
  transition: color .35s ease, background .35s ease, letter-spacing .35s ease !important;
}
.account-photo-item:hover .account-photo-label {
  background: linear-gradient(
    to top,
    rgba(30, 18, 0, 0.97) 0%,
    rgba(80, 50, 0, 0.55) 65%,
    transparent 100%
  ) !important;
  color: var(--neon-gold) !important;
  letter-spacing: 1.2px;
  text-shadow:
    0 0 10px rgba(255, 210, 63, 0.8),
    0 0 24px rgba(255, 180, 20, 0.45);
}

/* ── Cursor-following glow (from JS) ── */
.account-photo-item .oc-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(
    200px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 230, 120, 0.32),
    rgba(255, 180, 20, 0.12) 45%,
    transparent 70%
  );
}
.account-photo-item:hover .oc-glow { opacity: 1; }

/* ── Gold shimmer scan line at bottom ── */
.account-photo-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 210, 63, 0.15) 15%,
    var(--neon-gold) 50%,
    rgba(255, 210, 63, 0.15) 85%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 3;
  pointer-events: none;
}
.account-photo-item:hover::after {
  opacity: 1;
  box-shadow: 0 0 12px rgba(255, 210, 63, 0.7), 0 0 28px rgba(255, 210, 63, 0.35);
}

/* ── Corner accent dots on hover ── */
.account-photo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background:
    radial-gradient(4px 4px at 10px 10px, rgba(255,210,63,0.9), transparent),
    radial-gradient(4px 4px at calc(100% - 10px) 10px, rgba(255,210,63,0.9), transparent);
}
.account-photo-item:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .account-photo-item {
    transition: box-shadow .3s ease, border-color .3s ease;
  }
  .account-photo-item img { transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .option-card { transition: box-shadow .3s ease, border-color .3s ease; }
  .section-label, .hero .eyebrow, .logo::before { animation: none; }
}
