/* ==========================================================================
   ⚡ MODERN LANDING PAGE DESIGN SYSTEM - ZERO-CROP RESPONSIVE ARCHITECTURE
   Guarantees:
   - MAIN FEATURED BANNER: Fixed 468x60 IAB/Adsterra size!
   - POPUP JOIN NOW & GIF LINK: Direct clickable destination link!
   - NO PLACEHOLDER TEXT: Empty ad slots hidden!
   - CONTROLS ABOVE PICTURE: Only 2 arrows and exact dots count!
   - NO PICTURE CROPPING: 100% full uncropped photos!
   - NO BLUR: Clean crisp original picture view!
   ========================================================================== */

:root {
  --theme-color: #0084b8;
  --theme-accent: #00d2ff;
  --theme-glow: rgba(0, 132, 184, 0.45);
  --bg-dark: #080b12;
  --bg-card: rgba(17, 24, 39, 0.94);
  --bg-card-inner: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-glow: rgba(0, 210, 255, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --accent-gold: #eab308;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  background-image: 
    radial-gradient(circle at 50% 0%, var(--theme-glow), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.08), transparent 45%),
    linear-gradient(180deg, #090d16 0%, #04060a 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px 60px;
}

/* Layout Wrapper */
.site-wrapper {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  body {
    padding: 24px 16px 80px;
  }
  .site-wrapper {
    max-width: 500px;
  }
}

/* ==========================================================================
   📢 ADSTERRA AD SLOTS
   ========================================================================== */
.ad-slot-wrapper {
  width: 100%;
  display: none; /* Completely hidden if no ad code is set */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  text-align: center;
  overflow: hidden;
}

.ad-slot-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.ad-slot-inner img,
.ad-slot-inner iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* 
 * 📢 MAIN FEATURED BANNER AD: FIXED 468x60 SIZE
 * Fits standard 468x60 Adsterra banners perfectly!
 */
.ad-main-featured-card {
  width: 100%;
  max-width: 468px;
  min-height: 60px;
  height: 60px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0;
  display: none; /* Displayed when code is provided */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.ad-main-featured-card .ad-slot-inner {
  width: 468px;
  max-width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-main-featured-card .ad-slot-inner img,
.ad-main-featured-card .ad-slot-inner iframe {
  width: 468px !important;
  max-width: 100% !important;
  height: 60px !important;
  border: none !important;
  display: block;
  margin: 0 auto;
}

@media (max-width: 490px) {
  .ad-main-featured-card {
    border-radius: 8px;
  }
}

.ad-social-bar-slot {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

/* ==========================================================================
   PROFILE HEADER (BANNER OR DYNAMIC PROFILE)
   ========================================================================== */
.header-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.banner-wrapper {
  width: 100%;
  cursor: pointer;
  display: block;
  background: #000;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.profile-bar {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.profile-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--theme-color);
  box-shadow: 0 0 18px var(--theme-glow);
  display: block;
  background: #111;
}

.status-online-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  background: var(--accent-green);
  border: 3px solid #0d121f;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: pulseLiveGreen 1.8s infinite;
}

@keyframes pulseLiveGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.model-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.verified-badge {
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
}

.rating-row {
  color: var(--accent-gold);
  font-size: 15px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stat-item strong {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   CALL-TO-ACTION BUTTONS (MAXIMUM CONVERSIONS)
   ========================================================================== */
.cta-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cta {
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-cta:active {
  transform: scale(0.975);
}

.btn-primary-live {
  background: linear-gradient(135deg, var(--theme-color) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px var(--theme-glow);
}

.btn-primary-live:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 30px var(--theme-glow);
}

.btn-secondary-lock {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary-lock:hover {
  background: linear-gradient(135deg, #27354f 0%, #131c31 100%);
  border-color: rgba(255, 255, 255, 0.25);
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 25px var(--theme-glow); }
  50% { box-shadow: 0 12px 35px var(--theme-glow), 0 0 20px rgba(0, 210, 255, 0.4); }
}

/* ==========================================================================
   PHOTO GALLERY & CAROUSEL
   Controls placed ABOVE picture: 2 arrows and dots matching picture count!
   Photo stage below: 100% uncropped picture!
   ========================================================================== */
.gallery-section-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.gallery-top-bar {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.gallery-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.gallery-counter-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
}

/* Controls Bar Above Picture ("phle button phir pic") */
.gallery-controls-bar {
  padding: 10px 16px;
  background: rgba(12, 17, 30, 0.95);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.carousel-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.carousel-nav-arrow:hover {
  background: var(--theme-color);
  border-color: var(--theme-accent);
  box-shadow: 0 0 14px var(--theme-glow);
  transform: scale(1.08);
}

.carousel-nav-arrow:active {
  transform: scale(0.94);
}

.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  background: var(--theme-color);
  width: 22px;
  border-radius: 11px;
  box-shadow: 0 0 10px var(--theme-glow);
}

/* Photo Stage */
.gallery-viewport {
  position: relative;
  width: 100%;
  background: #020408;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  min-height: 280px;
}

.gallery-slide-item {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  background: #020408;
  cursor: zoom-in;
}

.gallery-slide-item.active {
  display: flex;
}

.gallery-slide-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   CONVERSION POPUP MODAL (OTR OFFER / JOIN NOW)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: linear-gradient(165deg, #162033 0%, #0d1320 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  max-width: 420px;
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.88);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-model-name {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: capitalize;
}

.modal-headline {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-steps-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
  color: #e2e8f0;
}

.modal-step-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-step-check {
  color: var(--accent-green);
  font-weight: 900;
  font-size: 14px;
}

/* Clickable Modal GIF Link (Same as old site) */
.modal-gif-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-bottom: 18px;
}

.modal-gif-link:hover {
  transform: scale(1.02);
}

.modal-gif-box {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-preview-gif {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  display: block;
}

.modal-join-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Lightbox Fullscreen */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-img {
  max-width: 96vw;
  max-height: 94vh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.9);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}

/* Footer */
.site-footer {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.dmca-badge-link {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.dmca-badge-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
