/* ==========================================
   CSS GLOBAL TOKENS & RESET
   ========================================== */
:root {
  --bg-color: #0c050a; /* Seductive deep plum-black */
  --bg-card: rgba(30, 10, 22, 0.45); /* Rose-tinted translucent card background */
  --bg-modal: rgba(20, 8, 16, 0.96); /* Elegant dark plum modal */
  --border-color: rgba(255, 42, 133, 0.12); /* Subtle pink border */
  --border-glow: rgba(255, 42, 133, 0.3); /* Glowing magenta border accent */
  
  --primary-accent: #ff2a85; /* Seductive hot pink */
  --primary-accent-glow: rgba(255, 42, 133, 0.45);
  --secondary-accent: #ff8da1; /* Soft satin rose */
  --text-primary: #fff0f5; /* Lavender blush off-white */
  --text-muted: #bda8b7; /* Rose-tinted muted gray */
  --text-dark: #0e0409;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

/* Ambient glow background decorations */
.glow-orb {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.18;
  z-index: -1;
  animation: orbFloat 12s infinite alternate ease-in-out;
}

.glow-top-left {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, #7a1250 0%, transparent 70%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 133, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Typography styles */
.serif-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--secondary-accent);
}

/* ==========================================
   NAVIGATION / HEADER
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 5, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 2px;
  font-family: 'Outfit', sans-serif;
}

.brand-logo .accent {
  color: var(--primary-accent);
  font-weight: 300;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-accent);
}

/* Buttons */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-accent-glow);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  filter: blur(10px);
  opacity: 0.5;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-glow:hover::after {
  opacity: 0.8;
  filter: blur(15px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem 2rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-accent);
  background: rgba(255, 42, 133, 0.08);
  border: 1px solid rgba(255, 42, 133, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================
   COMMON SECTION STYLES
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.1rem;
}

/* ==========================================
   GALLERY FILTERS & GRID
   ========================================== */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem 2rem;
  transition: padding 0.3s ease-in-out;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 42, 133, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--primary-accent);
  background: rgba(255, 42, 133, 0.08);
}

.filter-btn.active {
  background: var(--primary-accent);
  color: var(--text-dark);
  border-color: var(--primary-accent);
  box-shadow: 0 4px 16px var(--primary-accent-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  transition: opacity 0.3s ease-in-out;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(255, 42, 133, 0.15);
  border-color: rgba(255, 42, 133, 0.3);
}

.img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .img-wrapper img {
  transform: scale(1.06);
}

/* Play overlay icon for video cards */
.play-icon-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 4, 9, 0.2);
  transition: var(--transition-smooth);
}

.play-svg {
  width: 56px;
  height: 56px;
  color: var(--text-primary);
  background: rgba(255, 42, 133, 0.85);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(255, 42, 133, 0.4);
  transition: var(--transition-bounce);
}

.gallery-card:hover .play-svg {
  transform: scale(1.15);
  background: #ff549f;
  color: white;
  box-shadow: 0 12px 30px rgba(255, 42, 133, 0.6);
}

/* Card Badge overlays */
.card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(12, 5, 10, 0.95) 0%, rgba(12, 5, 10, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.badge-unlocked {
  background: rgba(255, 42, 133, 0.15);
  color: var(--primary-accent);
  border: 1px solid rgba(255, 42, 133, 0.3);
}

.badge-video {
  background: rgba(255, 141, 161, 0.15);
  color: var(--secondary-accent);
  border: 1px solid rgba(255, 141, 161, 0.3);
}

.card-caption {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background: rgba(30, 10, 22, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 2rem;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ==========================================
   LIGHTBOX STYLING
   ========================================== */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 4, 9, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lightbox-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 42, 133, 0.2);
  background: #0c0409;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.2);
  color: #ff8da1;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
  transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
  background: var(--primary-accent);
  color: var(--text-dark);
  transform: rotate(90deg);
}

#lightbox-media-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#lightbox-media-container img, 
#lightbox-media-container video {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-overlay.hidden #lightbox-media-container img,
.lightbox-overlay.hidden #lightbox-media-container video {
  transform: scale(0.95);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: #080306;
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-accent);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.25rem;
  }
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link:not(.nav-btn-glow) {
    display: none; /* hide standard text links on mobile */
  }
  .nav-btn-glow {
    display: inline-block !important; /* ensure custom action button stays visible */
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem !important;
  }
  .brand-logo {
    font-size: 1.2rem;
  }
  .gallery-section {
    padding: 2rem 1rem 4rem 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    font-size: 1rem;
  }
  .nav-btn-glow {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem !important;
  }
  .gallery-section {
    padding: 1.5rem 0.5rem 3rem 0.5rem;
  }
  .ad-card-grid {
    padding: 0.5rem !important;
  }
  .ad-wrapper-300 {
    max-width: 100%;
  }
}

/* ==========================================
   ADVERTISING PLACEMENT STYLING (ADSTERRA)
   ========================================== */
.ad-spot {
  max-width: 728px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.ad-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.ad-placeholder {
  width: 100%;
  min-height: 90px;
  background: rgba(255, 42, 133, 0.03);
  border: 1px dashed rgba(255, 42, 133, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sidebar Ads (160x300 Banners) */
.sidebar-ad {
  position: fixed;
  top: 140px;
  width: 160px;
  z-index: 90;
  text-align: center;
  display: none;
}

.left-sidebar {
  left: 10px;
}

.right-sidebar {
  right: 10px;
}

@media (min-width: 1300px) {
  .sidebar-ad {
    display: block;
  }
  .gallery-section {
    padding: 3.5rem 180px 5rem 180px;
  }
}

@media (min-width: 1600px) {
  .left-sidebar {
    left: 40px;
  }
  .right-sidebar {
    right: 40px;
  }
  .gallery-section {
    padding: 3.5rem 240px 5rem 240px;
    max-width: 1500px;
  }
}

/* Grid Ad Cards (300x250 Banners) */
.ad-card-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 42, 133, 0.02) !important;
  border: 1px dashed rgba(255, 42, 133, 0.2) !important;
  padding: 1.5rem !important;
}

.ad-wrapper-300 {
  width: 300px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

/* Smartlink Pulsing Navigation Button */
.nav-btn-glow {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-dark) !important;
  padding: 0.4rem 1.25rem !important;
  border-radius: 20px;
  font-weight: 700;
  animation: pulseGlow 2s infinite;
  text-decoration: none;
}

.nav-btn-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.4);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 133, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 42, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 133, 0); }
}

/* Sticky Bottom Floating Ad */
.floating-ad {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(12, 5, 10, 0.95);
  border-top: 1px solid rgba(255, 42, 133, 0.3);
  border-left: 1px solid rgba(255, 42, 133, 0.3);
  border-right: 1px solid rgba(255, 42, 133, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7);
  padding: 8px 10px 10px 10px;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
}

.close-ad-btn {
  background: var(--primary-accent);
  color: var(--text-dark);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.close-ad-btn:hover {
  background: #ff549f;
  transform: scale(1.1);
}

.ad-placeholder-sticky {
  width: 100%;
  height: 50px;
  background: rgba(255, 42, 133, 0.05);
  border: 1px dashed rgba(255, 42, 133, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: 4px;
}

/* Folder Collection CTA Overlay */
.folder-action-overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: calc(100% - 32px);
  text-align: center;
}

.folder-action-btn {
  display: inline-block;
  width: 100%;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, var(--primary-accent), #ff549f);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.gallery-card:hover .folder-action-btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 42, 133, 0.6);
  background: linear-gradient(135deg, #ff549f, var(--primary-accent));
}

@media (max-width: 480px) {
  .folder-action-overlay {
    bottom: 10px;
    width: calc(100% - 20px);
  }
  .folder-action-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
  }
}
