* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f1a;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px 24px;
  background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
  border-bottom: 1px solid #2e2e4e;
}

header h1 {
  font-size: 2rem;
  color: #a78bfa;
  letter-spacing: 1px;
}

header p {
  color: #94a3b8;
  margin-top: 8px;
  font-size: 0.95rem;
}

.header-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.badge {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge.free {
  background: linear-gradient(135deg, #14532d, #166534);
  color: #86efac;
  border: 1px solid #16a34a;
}

.badge.paid {
  background: linear-gradient(135deg, #3b1f6e, #4c1d95);
  color: #c4b5fd;
  border: 1px solid #7c3aed;
}

/* How To View */
.how-to {
  background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
  padding: 36px 20px;
  text-align: center;
  border-bottom: 1px solid #2e2e4e;
}

.how-to h2 {
  font-size: 1.5rem;
  color: #a78bfa;
  margin-bottom: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 28px auto;
}

.step {
  background: linear-gradient(135deg, #1e1b4b, #2d1b69);
  border: 1px solid #6d28d9;
  border-radius: 16px;
  padding: 20px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.step-num {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
}

.step p {
  color: #c4b5fd;
  font-size: 0.9rem;
  line-height: 1.5;
}

.try-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #0f0f1a;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border: 2px solid #a78bfa;
  background: transparent;
  color: #a78bfa;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: #a78bfa;
  color: #fff;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 20px 16px 40px;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #c4b5fd;
  font-size: 1.5rem;
}

/* Paid Banner */
.paid-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #2d1b69, #1e1b4b);
  border: 1px solid #6d28d9;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.paid-banner-text h3 {
  font-size: 1.4rem;
  color: #c4b5fd;
}

.paid-banner-text p {
  color: #94a3b8;
  margin-top: 4px;
}

.unlock-all-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.card {
  background: #1e1e2e;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #2e2e4e;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(167, 139, 250, 0.3);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.card-label {
  padding: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Locked Card */
.locked-card {
  background: #1e1e2e;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #4c1d95;
  position: relative;
}

.locked-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: blur(8px) brightness(0.4);
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lock-icon { font-size: 2rem; }

.lock-text {
  font-size: 0.75rem;
  color: #c4b5fd;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 10px;
}

.locked-card .card-label {
  padding: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: #7c3aed;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed !important;
  inset: 0 !important;
  background: #000 !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.lightbox.hidden {
  display: none !important;
}

.lightbox-swiper {
  width: 100vw !important;
  height: 90vh !important;
}

.lightbox-swiper .swiper-slide {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-zoom-container {
  width: 100vw !important;
  height: 80vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-zoom-container img {
  max-width: 100vw !important;
  max-height: 80vh !important;
  object-fit: contain !important;
  border: none !important;
  border-radius: 0 !important;
}

.slide-actions {
  position: fixed !important;
  bottom: 20px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  z-index: 10000 !important;
}

.share-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

#lightbox-title {
  position: fixed !important;
  top: 60px !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  z-index: 10000 !important;
}

.close-btn {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  color: #fff !important;
  z-index: 10001 !important;
  background: rgba(0,0,0,0.6) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.lightbox-open {
  position: fixed !important;
  overflow: hidden !important;
  width: 100% !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #a78bfa !important;
}

.swiper-pagination-bullet-active {
  background: #a78bfa !important;
}

/* Paywall */
.paywall {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.paywall.hidden {
  display: none;
}

.paywall-box {
  background: linear-gradient(135deg, #1e1b4b, #1a1a2e);
  border: 2px solid #7c3aed;
  border-radius: 20px;
  padding: 24px 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.paywall-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.paywall-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.paywall-box h2 {
  font-size: 1.6rem;
  color: #c4b5fd;
  margin-bottom: 12px;
}

.paywall-box p {
  color: #94a3b8;
  margin-bottom: 16px;
}

.paywall-previews {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.preview-item {
  width: 46px;
  height: 46px;
  background: #2d1b69;
  border: 2px solid #7c3aed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.paywall-perks {
  list-style: none;
  text-align: left;
  margin-bottom: 16px;
  display: inline-block;
}

.paywall-perks li {
  padding: 4px 0;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.paywall-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.old-price {
  font-size: 1.1rem;
  color: #64748b;
  text-decoration: line-through;
}

.new-price {
  font-size: 2rem;
  font-weight: 800;
  color: #a78bfa;
}

.discount-tag {
  background: #7c3aed;
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.paywall-timer {
  background: #1a1a2e;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

#countdown {
  font-size: 1.1rem;
  font-weight: 800;
}

.buy-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-bottom: 12px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0;
  font-size: 0.8rem;
  color: #64748b;
}

.paywall-note {
  font-size: 0.75rem;
  color: #475569;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  header h1 { font-size: 1.6rem; }
  .tabs { padding: 16px; gap: 10px; }
  .tab-btn { padding: 10px 20px; font-size: 0.9rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
