:root{
  --bg:#050712;
  --text:#f5f5f7;
  --accent:#27e0ff;
  --accent2:#6bffb5;
  --glass:rgba(10,12,28,0.85);
  --border:rgba(255,255,255,0.18);
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* BACKGROUND */
body{
  min-height:100vh;
  color:var(--text);
  background:radial-gradient(circle at top,#242a5a 0,#050712 55%,#02030a 100%);
  overflow-x:hidden;
  position:relative;
}

/* stars layer */
body::before{
  content:"";
  position:fixed;
  inset:-200px;
  background:
    radial-gradient(circle at 20% 20%,rgba(39,224,255,0.18),transparent 55%),
    radial-gradient(circle at 80% 10%,rgba(255,59,107,0.18),transparent 55%),
    radial-gradient(circle at 10% 80%,rgba(107,255,181,0.16),transparent 55%);
  opacity:0.85;
  z-index:-2;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 30%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,.3), transparent);
  opacity:0.3;
  animation:starsMove 25s linear infinite;
  z-index:-1;
}

@keyframes starsMove{
  0%{transform:translate3d(0,0,0);}
  100%{transform:translate3d(-40px,-60px,0);}
}

/* PAGE WRAP */
.page{
  max-width:1150px;
  margin:0 auto;
  padding:26px 18px 60px;
  position:relative;
  z-index:1;
  animation:fadeIn .4s ease-out;
}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(12px);}
  to{opacity:1;transform:translateY(0);}
}

/* TOP BAR */
.top-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.top-buttons{
  display:flex;
  gap:10px;
}

.btn-pill{
  padding:9px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  backdrop-filter:blur(14px);
  background:rgba(6,8,20,0.9);
  color:var(--text);
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:.18s ease;
}

.btn-pill span.icon{
  font-size:14px;
}

.btn-pill.primary{
  border:none;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#050712;
  box-shadow:0 10px 28px rgba(0,0,0,.55);
}

.btn-pill:hover{
  transform:translateY(-2px);
  opacity:.95;
}

/* TITLE */
h1{
  font-size:26px;
  letter-spacing:.06em;
  margin-bottom:4px;
}
.sub{
  font-size:13px;
  opacity:.78;
}

/* GALLERY GRID */
.gallery-grid{
  margin-top:22px;
  display:grid;
  gap:16px;
  grid-template-columns:repeat(4,1fr);
}

.card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:rgba(8,10,26,0.9);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 8px 26px rgba(0,0,0,0.65);
  backdrop-filter:blur(18px);
  cursor:pointer;
  transform-origin:center;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:conic-gradient(
    from 180deg,
    transparent 0deg,
    rgba(39,224,255,0.7) 60deg,
    transparent 120deg
  );
  opacity:0;
  transition:opacity .3s ease, transform .3s ease;
  z-index:-1;
}

.card-inner{
  position:relative;
}

.card img{
  width:100%;
  display:block;
  object-fit:cover;
  aspect-ratio:16/9;
}

/* bottom strip */
.card-meta{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:6px 10px;
  background:linear-gradient(to top,rgba(2,3,10,0.96),rgba(2,3,10,0.35));
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
}

.card-title{
  font-weight:600;
}

.card-tag{
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.28);
  font-size:10px;
  opacity:.9;
}

/* hover */
.card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 16px 40px rgba(0,0,0,0.85);
  border-color:rgba(39,224,255,0.7);
}

.card:hover::before{
  opacity:.8;
  transform:translate3d(-8px,-12px,0) rotate(8deg);
}

/* BOTTOM BUY */
.buy-bottom{
  display:flex;
  justify-content:flex-end;
  margin-top:26px;
}

/* ZOOM MODAL */
#zoomModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* IMAGE WRAP */
.zoom-image-wrap {
  position: relative;
  z-index: 1;
}

/* IMAGE */
#zoomedImg {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 18px;
  display: block;
  pointer-events: none;   /* 🔥 KEY FIX */
}

/* ❌ BUTTON */
#closeZoom {
  position: fixed;        /* 🔥 NOT absolute */
  top: 22px;
  right: 26px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;         /* 🔥 image se upar */
  user-select: none;
}

/* BUY POPUP – gray glass */
#buyModal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(10px);
  justify-content:center;
  align-items:center;
  z-index:30;
}

.buy-box{
  width:320px;
  max-width:90%;
  background:var(--glass);
  border-radius:20px;
  border:1px solid var(--border);
  padding:20px 18px 16px;
  box-shadow:0 18px 48px rgba(0,0,0,0.85);
  animation:pop .22s ease-out;
}

@keyframes pop{
  from{transform:scale(.9) translateY(10px);opacity:0;}
  to{transform:scale(1) translateY(0);opacity:1;}
}

.buy-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:6px;
}

.buy-sub{
  font-size:12px;
  opacity:.76;
  margin-bottom:12px;
}

.plan{
  margin-bottom:8px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(12,15,32,0.95);
  border:1px solid rgba(255,255,255,0.14);
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  transition:.18s ease;
  font-size:13px;
}
.plan:hover{
  background:rgba(22,26,54,0.95);
  border-color:rgba(39,224,255,0.7);
}

.plan-left{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.plan-name{
  font-weight:600;
}
.plan-desc{
  font-size:11px;
  opacity:.8;
}
.plan-price{
  font-size:12px;
  opacity:.9;
}

.note{
  margin-top:8px;
  font-size:11px;
  opacity:.78;
}

.close-buy{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  cursor:pointer;
  opacity:.7;
}
.close-buy:hover{opacity:1;}

/* image wrapper */
.zoom-image-wrap {
  position: relative;
  display: inline-block;
}

/* watermark fixed to image bottom-right, stacked lines */
.zoom-watermark-fixed {
  position: absolute;      /* image ke andar absolute */
  right: 22px;             /* adjust agar chahiye */
  bottom: 18px;            /* adjust agar chahiye */
  z-index: 9999;
  pointer-events: none;
  user-select: none;

  display: flex;
  flex-direction: column;  /* one below other */
  align-items: flex-end;   /* right aligned stack */
  gap: 4px;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;             /* full white (100% opacity) */
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

/* top line: PREVIEW ONLY (slightly bigger) */
.zoom-watermark-fixed .wm-main {
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 700;        /* visible but clean */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

/* bottom line: brand / footer (thin) */
.zoom-watermark-fixed .wm-sub {
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 300;        /* thin, professional */
  opacity: 1;              /* full visibility */
  line-height: 1;
  margin-top: 2px;
}


/* RESPONSIVE */
@media(max-width:900px){
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:640px){
  .top-row{flex-direction:column;align-items:flex-start;}
  .gallery-grid{grid-template-columns:repeat(3,1fr);gap:10px;}
  .btn-pill{padding:7px 14px;}
}

/* 🔒 Gallery image protection */
.gallery-img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* Zoom ke baad bhi drag band */
.zoom-modal img,
.zoom-overlay img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.zoom-img {
  cursor: zoom-in;
  pointer-events: auto;
}

/* ===== Animated Background ===== */

.video-bg{
  position:fixed;
  inset:0;
  z-index:-2;
  overflow:hidden;
}

.video-bg video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(5,8,20,.25), rgba(5,8,20,.78)),
    linear-gradient(to bottom, rgba(5,8,20,.15), rgba(5,8,20,.55));
  backdrop-filter:blur(2px);
}

body{
  background:#050814;
}
