  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html { scroll-behavior: smooth; }
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #050006; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(#ff3fb0, #9b30ff); border-radius: 10px; }

  :root{
    --bg: #05000a;
    --bg-deep: #0a0212;
    --pink: #ff3fb0;
    --pink-soft: #ff8fd6;
    --purple: #9b30ff;
    --purple-deep: #5a12b8;
    --violet-glow: #c58bff;
    --text: #f5ecff;
    --text-dim: rgba(245,236,255,0.55);
    --glass: rgba(255,255,255,0.055);
    --glass-border: rgba(255,255,255,0.12);
  }

  body{
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  .script{ font-family: 'Dancing Script', cursive; }
  .serif{ font-family: 'Cormorant Garamond', serif; }

  .bg-wash{
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(ellipse 60% 40% at 15% 10%, rgba(155,48,255,0.25), transparent 60%),
      radial-gradient(ellipse 55% 45% at 85% 25%, rgba(255,63,176,0.22), transparent 60%),
      radial-gradient(ellipse 70% 50% at 50% 90%, rgba(155,48,255,0.18), transparent 65%),
      var(--bg);
  }

  #loader{
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(circle at 50% 40%, #12021d 0%, #05000a 75%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
  }
  #loader.hidden{ opacity: 0; visibility: hidden; pointer-events: none; }

  .loader-stage{
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 24px;
  }

  .heart-loader{
    width: 90px; height: 90px; position: relative; margin-bottom: 34px;
    filter: drop-shadow(0 0 18px var(--pink)) drop-shadow(0 0 40px var(--purple));
    animation: heartbeat 1.15s ease-in-out infinite;
  }
  .heart-loader svg{ width: 100%; height: 100%; }
  @keyframes heartbeat{
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.18); }
    30% { transform: scale(0.95); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
  }

  .loading-text{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 6px;
    font-size: 13px;
    color: var(--pink-soft);
    text-shadow: 0 0 12px var(--pink), 0 0 30px var(--purple);
    margin-bottom: 22px;
  }

  .loading-bar-track{
    width: 220px; height: 3px; border-radius: 10px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
  }
  .loading-bar-fill{
    height: 100%; width: 0%; border-radius: 10px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    box-shadow: 0 0 10px var(--pink), 0 0 18px var(--purple);
    transition: width 0.25s ease;
  }
  .loading-pct{
    margin-top: 14px; font-size: 11px; letter-spacing: 3px; color: var(--text-dim);
  }

  #phrase-field{
    position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  }
  .phrase{
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--violet-glow);
    white-space: nowrap;
    will-change: transform;
    opacity: 0.15;
    animation: driftPhrase linear infinite;
  }

  @keyframes driftPhrase{
    0%   { transform: translate(0,0) rotate(0deg); }
    50%  { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
    100% { transform: translate(0,0) rotate(0deg); }
  }

  #particle-field{ position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
  .particle{
    position: absolute; bottom: -20px; border-radius: 50%;
    background: radial-gradient(circle, var(--pink-soft), transparent 70%);
    opacity: 0.6;
    animation: floatUp linear infinite;
  }
  @keyframes floatUp{
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-110vh) translateX(var(--drift)); opacity: 0; }
  }

  header.topbar{
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 26px;
    background: linear-gradient(to bottom, rgba(5,0,10,0.65), transparent);
  }
  .brand{
    font-family: 'Dancing Script', cursive;
    font-weight: 700; font-size: 26px;
    color: var(--text);
    text-shadow: 0 0 14px var(--pink), 0 0 28px var(--purple);
  }
  .fullscreen-btn{
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(20,8,32,0.55); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .fullscreen-btn:hover{ box-shadow: 0 0 16px var(--pink); transform: scale(1.06); }
  .fullscreen-btn svg{ width: 18px; height: 18px; }

  .header-actions{ display: flex; align-items: center; gap: 10px; }
  .menu-wrap{ position: relative; }
  .dots-btn{
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(20,8,32,0.55); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .dots-btn:hover{ box-shadow: 0 0 16px var(--purple); transform: scale(1.06); }
  .dots-btn svg{ width: 18px; height: 18px; }

  .dropdown-menu{
    position: absolute; top: 48px; right: 0;
    min-width: 160px;
    background: rgba(15,5,25,0.92);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
    padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
  }
  .dropdown-menu.open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown-menu button{
    width: 100%; text-align: left; background: transparent; border: none;
    color: var(--text); font-family: 'Poppins', sans-serif; font-size: 13px;
    padding: 10px 12px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: background 0.2s ease;
  }
  .dropdown-menu button:hover{ background: rgba(255,255,255,0.08); }

  .modal-overlay{
    position: fixed; inset: 0; z-index: 200;
    background: rgba(5,0,10,0.75);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .modal-overlay.open{ opacity: 1; visibility: visible; }
  .modal-box{
    width: 100%; max-width: 380px;
    background: linear-gradient(180deg, rgba(20,8,32,0.95), rgba(10,3,18,0.97));
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(155,48,255,0.15);
    transform: scale(0.95);
    transition: transform 0.25s ease;
  }
  .modal-overlay.open .modal-box{ transform: scale(1); }
  .modal-box h3{
    font-family: 'Dancing Script', cursive; font-size: 28px; color: var(--text);
    margin-bottom: 6px; text-align: center;
  }
  .modal-box .modal-sub{
    font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--text-dim);
    text-align: center; font-size: 14px; margin-bottom: 20px;
  }
  .pin-input{
    width: 100%; padding: 14px 16px; border-radius: 14px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
    color: var(--text); font-size: 20px; letter-spacing: 8px; text-align: center;
    outline: none; margin-bottom: 14px;
  }
  .pin-input:focus{ border-color: var(--pink); box-shadow: 0 0 12px rgba(255,63,176,0.35); }
  .pin-error{
    color: var(--pink); font-size: 12px; text-align: center; margin-bottom: 10px;
    min-height: 16px;
  }
  .modal-actions{ display: flex; gap: 10px; }
  .btn{
    flex: 1; padding: 12px 14px; border-radius: 14px; border: none;
    font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-primary{
    background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff;
    box-shadow: 0 0 16px rgba(255,63,176,0.4);
  }
  .btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 0 22px rgba(255,63,176,0.55); }
  .btn-ghost{
    background: rgba(255,255,255,0.06); color: var(--text-dim); border: 1px solid var(--glass-border);
  }
  .btn-ghost:hover{ background: rgba(255,255,255,0.1); }

  .admin-overlay .modal-box{
    max-width: 560px; max-height: 86vh; overflow-y: auto;
  }
  .admin-section{ margin-bottom: 22px; }
  .admin-section-title{
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--pink-soft); margin-bottom: 10px; opacity: 0.9;
  }
  .admin-field{ margin-bottom: 10px; }
  .admin-field label{
    display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 5px;
  }
  .admin-field input{
    width: 100%; padding: 10px 12px; border-radius: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
    color: var(--text); font-size: 13px; outline: none;
  }
  .admin-field input:focus{ border-color: var(--pink); }
  .admin-field textarea{
    width: 100%; padding: 10px 12px; border-radius: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
    color: var(--text); font-size: 13px; outline: none; resize: vertical;
    font-family: 'Poppins', sans-serif; margin-bottom: 8px; line-height: 1.5;
  }
  .admin-field textarea:focus{ border-color: var(--pink); }

  .admin-row-inline{ display: flex; gap: 8px; align-items: center; }
  .admin-row-inline input{ flex: 1; }
  .admin-remove-btn{
    flex: none; width: 32px; height: 32px; border-radius: 10px;
    border: 1px solid var(--glass-border); background: rgba(255,255,255,0.06);
    color: var(--text-dim); cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .admin-remove-btn:hover{ background: rgba(255,63,176,0.18); color: var(--pink-soft); }

  .admin-photo-row{ margin-bottom: 10px; }

  .admin-memory-block{
    border: 1px solid var(--glass-border); border-radius: 14px;
    padding: 12px; margin-bottom: 14px; background: rgba(255,255,255,0.03);
  }
  .admin-row-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .admin-row-top label{ margin-bottom: 0; }
  .admin-memory-block input,
  .admin-memory-block textarea{ margin-bottom: 8px; }
  .admin-memory-block > *:last-child{ margin-bottom: 0; }

  .admin-add-btn{
    width: 100%; margin-top: 2px; border: 1px dashed var(--glass-border);
    background: rgba(255,255,255,0.03); color: var(--text-dim);
  }
  .admin-add-btn:hover{ background: rgba(255,63,176,0.1); color: var(--pink-soft); border-color: var(--pink); }

  .color-field-row{ display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
  .color-field-row input[type="color"]{
    width: 44px; height: 38px; padding: 2px; border-radius: 10px;
    border: 1px solid var(--glass-border); background: rgba(255,255,255,0.06); cursor: pointer;
  }
  .color-field-row label{ flex: 1; font-size: 12px; color: var(--text-dim); margin-bottom: 0; }

  .admin-close-x{
    position: absolute; top: 16px; right: 18px;
    background: transparent; border: none; color: var(--text-dim);
    font-size: 20px; cursor: pointer; line-height: 1;
  }
  .admin-close-x:hover{ color: var(--pink-soft); }
  .modal-box{ position: relative; }
  .admin-save-status{
    text-align: center; font-size: 12px; color: var(--pink-soft);
    margin-top: 10px; min-height: 16px;
  }

  main{ position: relative; z-index: 5; }

  .hero{
    position: relative;
    min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 60px;
    perspective: 1200px;
  }
  .hero-eyebrow{
    font-size: 12px; letter-spacing: 5px; color: var(--pink-soft);
    text-transform: uppercase; margin-bottom: 18px; opacity: 0.85;
    position: relative; z-index: 10;
    order: 1;
  }
  .hero-title{
    font-family: 'Dancing Script', cursive;
    font-size: clamp(46px, 10vw, 96px);
    font-weight: 700; line-height: 1.05;
    background: linear-gradient(90deg, var(--pink-soft), var(--violet-glow) 45%, var(--pink));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 22px rgba(255,63,176,0.45));
    margin-bottom: 18px;
    position: relative; z-index: 10;
    order: 2;
  }
  .hero-sub{
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: clamp(15px, 2.4vw, 20px);
    color: var(--text-dim); max-width: 480px; line-height: 1.7;
    margin-bottom: 10px;
    position: relative; z-index: 10;
    order: 3;
  }
  .scroll-hint{
    margin-top: 46px; font-size: 11px; letter-spacing: 3px; color: var(--text-dim);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    position: relative; z-index: 10;
    order: 5;
  }
  .scroll-hint .dot{
    width: 5px; height: 5px; border-radius: 50%; background: var(--pink);
    box-shadow: 0 0 10px var(--pink);
    animation: bob 1.6s ease-in-out infinite;
  }
  @keyframes bob{ 0%,100%{ transform: translateY(0); opacity:0.4;} 50%{ transform: translateY(8px); opacity:1;} }

  .card-field{
    position: relative; z-index: 1;
    order: 4;
    width: 100%;
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center;
    gap: 22px 18px;
    margin-top: 44px;
    max-width: 720px;
  }
  .photo-card{
    position: relative;
    width: 140px; height: 180px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.55), 0 0 40px rgba(255,63,176,0.18);
    background: #150a1e;
    will-change: transform;
    pointer-events: auto;
    animation: floatCard ease-in-out infinite;
  }
  .photo-card::after{
    content: ""; position: absolute; inset: 0; border-radius: 25px;
    box-shadow: inset 0 0 30px rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
  }
  .photo-card img{
    width: 100%; height: 100%; object-fit: cover; display: block;
  }

  @keyframes floatCard{
    0%   { transform: translate(0,0) rotate(var(--r0)) scale(1); }
    20%  { transform: translate(var(--x1), var(--y1)) rotate(var(--r1)) scale(var(--s1)); }
    40%  { transform: translate(var(--x2), var(--y2)) rotate(var(--r2)) scale(1); }
    60%  { transform: translate(var(--x3), var(--y3)) rotate(var(--r3)) scale(var(--s2)); }
    80%  { transform: translate(var(--x4), var(--y4)) rotate(var(--r4)) scale(1); }
    100% { transform: translate(0,0) rotate(var(--r0)) scale(1); }
  }

  @media (max-width: 768px) {
    .photo-card { width: 110px; height: 145px; }
    .card-field { gap: 16px 14px; margin-top: 34px; }
  }

  .section-heading{
    text-align: center; margin: 0 auto 60px; max-width: 600px; padding: 0 20px;
    position: relative; z-index: 5;
  }
  .section-heading .tag{
    font-size: 11px; letter-spacing: 4px; color: var(--pink-soft); text-transform: uppercase; opacity: 0.8;
  }
  .section-heading h2{
    font-family: 'Dancing Script', cursive; font-size: clamp(34px, 6vw, 54px);
    color: var(--text); margin-top: 10px;
    text-shadow: 0 0 20px rgba(155,48,255,0.4);
  }
  .section-heading p{
    font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--text-dim);
    margin-top: 12px; font-size: 16px;
  }

  .timeline-section{ position: relative; z-index: 5; padding: 100px 20px 140px; }
  .timeline{
    position: relative; max-width: 780px; margin: 0 auto;
  }
  .timeline::before{
    content: "";
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--purple) 8%, var(--pink) 50%, var(--purple) 92%, transparent);
    box-shadow: 0 0 14px var(--pink), 0 0 24px var(--purple);
    animation: pulseLine 2.4s ease-in-out infinite;
  }
  @keyframes pulseLine{ 0%,100%{ opacity: 0.55; } 50%{ opacity: 1; } }

  .memory{
    position: relative; width: 46%; margin-bottom: 90px;
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    content-visibility: auto;
    contain-intrinsic-size: 420px 260px;
  }
  .memory.in-view{ opacity: 1; transform: translateY(0); }
  .memory:nth-child(odd){ left: 0; text-align: right; }
  .memory:nth-child(even){ left: 54%; text-align: left; }

  .memory-node{
    position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--pink));
    box-shadow: 0 0 10px var(--pink), 0 0 22px var(--purple);
  }
  .memory:nth-child(odd) .memory-node{ right: -37px; }
  .memory:nth-child(even) .memory-node{ left: -37px; }

  .memory-card{
    display: inline-block; text-align: left;
    background: rgba(20,8,32,0.55); border: 1px solid var(--glass-border);
    border-radius: 22px; padding: 22px 24px; max-width: 340px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  }
  .memory-date{ font-size: 11px; letter-spacing: 3px; color: var(--pink-soft); text-transform: uppercase; }
  .memory-card h3{
    font-family: 'Dancing Script', cursive; font-size: 26px; margin: 8px 0 8px; color: var(--text);
  }
  .memory-card p{
    font-family: 'Cormorant Garamond', serif; font-size: 15px; line-height: 1.6; color: var(--text-dim);
  }
  .memory-card .memory-photo{
    width: 100%; height: 140px; border-radius: 16px; overflow: hidden; margin-top: 12px;
    box-shadow: 0 0 20px rgba(255,63,176,0.2);
  }
  .memory-card .memory-photo img{ width: 100%; height: 100%; object-fit: cover; }

  @media (max-width: 720px){
    .timeline::before{ left: 22px; }
    .memory, .memory:nth-child(odd), .memory:nth-child(even){
      width: calc(100% - 60px); left: 46px !important; text-align: left !important;
    }
    .memory:nth-child(odd) .memory-node, .memory:nth-child(even) .memory-node{ left: -37px; right: auto; }
  }

  .closing{
    position: relative; z-index: 5; text-align: center; padding: 80px 20px 160px;
  }
  .closing .script{
    font-size: clamp(30px, 6vw, 50px); color: var(--text);
    text-shadow: 0 0 22px var(--pink), 0 0 40px var(--purple);
  }
  .closing p{ margin-top: 14px; color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; }

  #music-player{
    position: fixed; bottom: 20px; right: 20px; z-index: 50;
    display: flex; align-items: center; gap: 12px;
    background: rgba(20,8,32,0.65); border: 1px solid var(--glass-border);
    padding: 10px 16px 10px 10px; border-radius: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  }
  #play-toggle{
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 16px rgba(255,63,176,0.5);
  }
  #play-toggle svg{ width: 16px; height: 16px; fill: white; }
  .eq{ display: flex; align-items: flex-end; gap: 3px; height: 18px; }
  .eq span{
    width: 3px; background: linear-gradient(var(--pink-soft), var(--purple));
    border-radius: 2px; animation: eqbar 0.9s ease-in-out infinite; animation-play-state: paused;
  }
  .eq span:nth-child(1){ height: 40%; animation-delay: 0s; }
  .eq span:nth-child(2){ height: 90%; animation-delay: 0.15s; }
  .eq span:nth-child(3){ height: 60%; animation-delay: 0.3s; }
  .eq span:nth-child(4){ height: 75%; animation-delay: 0.45s; }
  @keyframes eqbar{ 0%,100%{ transform: scaleY(0.4);} 50%{ transform: scaleY(1);} }
  .track-label{ font-size: 11px; letter-spacing: 1px; color: var(--text-dim); }
  .track-label b{ display:block; color: var(--text); font-weight: 500; font-size: 12px; }

  #touch-heart-field{
    position: fixed; inset: 0; z-index: 150; pointer-events: none; overflow: hidden;
  }
  .touch-heart{
    position: fixed; left: 0; top: 0; pointer-events: none;
    will-change: transform, opacity;
    animation: touchHeartRise ease-out forwards;
  }
  @keyframes touchHeartRise{
    0%   { transform: translate(-50%, -50%) scale(0.4) rotate(var(--heart-rot0)); opacity: 0; }
    12%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--heart-rot0)); }
    100% {
      transform: translate(calc(-50% + var(--heart-dx)), calc(-50% - var(--heart-dy)))
                 scale(var(--heart-scale)) rotate(var(--heart-rot1));
      opacity: 0;
    }
  }

  .photo-card img,
  .memory-card .memory-photo img{
    cursor: pointer;
  }
  .lightbox-overlay{
    position: fixed; inset: 0; z-index: 300;
    background: rgba(3,0,7,0.92);
    display: flex; align-items: center; justify-content: center;
    padding: 30px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .lightbox-overlay.open{ opacity: 1; visibility: visible; }
  .lightbox-img{
    max-width: 92vw; max-height: 88vh; border-radius: 16px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.6), 0 0 40px rgba(255,63,176,0.2);
    transform: scale(0.96);
    transition: transform 0.25s ease;
  }
  .lightbox-overlay.open .lightbox-img{ transform: scale(1); }
  .lightbox-close{
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(20,8,32,0.7); border: 1px solid var(--glass-border);
    color: var(--text); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .lightbox-close:hover{ background: rgba(255,63,176,0.25); }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  button:focus-visible, .fullscreen-btn:focus-visible{
    outline: 2px solid var(--pink-soft); outline-offset: 3px;
  }
