/* AixPic.org - Design System & Modern Aesthetics */
:root {
  --bg-main: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.4);
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.5);
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 0 30px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #ec4899 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Generator Panel */
.generator-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 60px;
  position: relative;
  transition: border-color 0.3s;
}

.generator-card:focus-within {
  border-color: var(--border-glow);
}

.prompt-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.prompt-textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  resize: vertical;
  outline: none;
  transition: all 0.2s;
}

.prompt-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.prompt-textarea::placeholder {
  color: var(--text-subtle);
}

/* Controls Grid */
.controls-grid {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .controls-grid {
    grid-template-columns: 1fr;
  }
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.select-box {
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-box:focus {
  border-color: var(--primary);
}

/* Generate Button */
.btn-generate {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 48px;
}

.btn-generate:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
}

.btn-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Quick Styles Chips */
.style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.chip-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-subtle);
  align-self: center;
  margin-right: 4px;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: white;
}

/* ================= Generating Loading State ================= */
.generating-panel {
  padding: 30px 15px;
  text-align: center;
  animation: fadeIn 0.3s ease forwards;
}

.generating-card {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.generating-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.generating-spinner-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
}

.spinner-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid transparent;
  border-top-color: #ec4899;
  border-right-color: #8b5cf6;
  animation: spin 1.1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.55);
}

.spinner-middle-ring {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #6366f1;
  border-left-color: #06b6d4;
  animation: spinReverse 1.4s linear infinite;
}

.spinner-inner-pulse {
  position: absolute;
  inset: 18px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), rgba(236, 72, 153, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f43f5e;
  animation: pulseScale 1.8s ease-in-out infinite alternate;
}

.generating-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.generating-status {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  min-height: 22px;
  transition: all 0.3s ease;
}

.generating-progress-bar {
  width: 100%;
  max-width: 340px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}

.generating-progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);
  border-radius: 10px;
  position: absolute;
  animation: progressSlide 2s ease-in-out infinite;
}

.generating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Spinner Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulseScale {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

@keyframes progressSlide {
  0% { left: -35%; width: 35%; }
  50% { width: 55%; }
  100% { left: 100%; width: 35%; }
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.9; }
}

.spinning {
  animation: spin 0.9s linear infinite !important;
  transform-origin: center center;
}

/* Result Showcase */
.result-container {
  display: none;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  background: rgba(7, 9, 14, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px;
}

@media (max-width: 768px) {
  .result-card {
    grid-template-columns: 1fr;
  }
}

.result-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
}

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

.result-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.result-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.result-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.result-prompt {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 20px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-generate-new {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.45);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-generate-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(236, 72, 153, 0.65);
  filter: brightness(1.1);
}

.btn-generate-new-sm {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-generate-new-sm:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-download {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-download:hover {
  background: var(--primary-hover);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* Gallery Section */
.gallery-section {
  padding: 20px 0 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

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

.gallery-prompt {
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-meta {
  font-size: 11px;
  color: #a5b4fc;
  margin-top: 4px;
  font-weight: 600;
}

/* Modal Viewer */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #000;
}

.modal-body {
  padding: 24px;
}

.modal-prompt {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  color: var(--text-subtle);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-link:hover {
  color: var(--text-main);
}

/* ================= Advertisement Slots ================= */
.ad-slot-wrapper {
  margin: 28px auto;
  text-align: center;
  max-width: 960px;
  position: relative;
  min-height: 20px;
  transition: opacity 0.3s;
}

.ad-slot-wrapper.hidden {
  display: none !important;
}

.ad-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-subtle);
  margin-bottom: 6px;
  text-align: center;
}

.ad-content {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

/* Sticky Bottom Ad */
.sticky-ad-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.sticky-ad-bar.hidden {
  display: none !important;
}

.sticky-ad-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.sticky-ad-close:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
}

/* ================= Security & Protection Warning Modals (VPN & AdBlocker) ================= */
.security-alert-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 14, 0.90);
  backdrop-filter: blur(20px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.security-alert-modal.active {
  display: flex;
}

.security-modal-box {
  background: linear-gradient(145deg, rgba(23, 23, 35, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 38px 32px;
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 28px;
}

.security-modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 12px;
}

.security-modal-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.security-modal-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px var(--primary-glow);
}

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

/* ================= Google reCAPTCHA Verification Box ================= */
.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0;
  padding: 14px;
  background: rgba(7, 9, 14, 0.5);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.3s;
}

.recaptcha-wrapper:hover {
  border-color: var(--border-glow);
}

/* ================= Revenue Shield Notice ================= */
.vpn-revenue-notice {
  margin: 0 0 20px 0;
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.5;
  color: #c7d2fe;
  text-align: left;
}

/* ================= Highlighted 18+ API Nav Button ================= */
.nav-api-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18) 0%, rgba(99, 102, 241, 0.18) 100%);
  border: 1px solid rgba(236, 72, 153, 0.45);
  color: #f472b6 !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.2);
  white-space: nowrap;
}

.nav-api-btn:hover {
  background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  color: #ffffff !important;
  border-color: #ec4899;
  box-shadow: 0 4px 22px rgba(236, 72, 153, 0.55);
  transform: translateY(-1px);
}

.api-tag {
  background: #ec4899;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 6px;
  border-radius: 8px;
  line-height: 1.3;
}

/* ================= Features Grid ================= */
.features-section {
  padding: 60px 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ================= 18+ Developer API Banner ================= */
.api-promo-banner {
  margin: 50px auto 20px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(99, 102, 241, 0.12) 50%, rgba(6, 182, 212, 0.12) 100%);
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 10px 40px rgba(236, 72, 153, 0.12);
  position: relative;
  overflow: hidden;
}

.api-promo-content {
  flex: 1 1 450px;
}

.api-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.api-promo-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.api-promo-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.api-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #6366f1 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.api-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.65);
}

/* ================= FAQ Accordion ================= */
.faq-section {
  padding: 40px 0 20px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= Enhanced Footer ================= */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  margin-top: 70px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-link-highlight {
  color: #f472b6;
  font-weight: 700;
}

.footer-link-highlight:hover {
  color: #ec4899;
}

.footer-copy {
  color: var(--text-subtle);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-contact {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* ================= Policy & Legal Pages ================= */
.policy-page {
  padding: 40px 0 80px;
}

.policy-header {
  text-align: center;
  margin-bottom: 40px;
}

.policy-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.policy-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s;
}

.policy-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.policy-card h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul {
  list-style: disc;
  padding-left: 24px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
}

.policy-card li {
  margin-bottom: 6px;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.2s, transform 0.2s;
}

.back-home-btn:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

/* ================= 18+ Adult Styles Notice ================= */
.style-adult-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 13px;
  color: #f1f5f9;
  line-height: 1.4;
}

.adult-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ================= Gallery Dynamic Pagination ================= */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-num-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-num-btn:hover {
  border-color: var(--primary);
  color: #ffffff;
}

.page-num-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pagination-info {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 4px;
}


