/* ==========================================================================
   PICTURE PROMPT (pictureprompt.world) - Modern High-End Stylesheet
   ========================================================================== */

:root, [data-theme="light"] {
  --bg-primary: #f0f7ff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e0f2fe;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #d0e4f7;
  --border-focus: rgba(14, 165, 233, 0.6);

  --text-main: #0c2340;
  --text-muted: #33557a;
  --text-subtle: #5f80a3;

  --accent-primary: #0284c7;
  --accent-secondary: #0ea5e9;
  --accent-pink: #ec4899;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-cyan: #06b6d4;

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 70%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(12, 35, 64, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
  --shadow-hover: 0 16px 32px -6px rgba(14, 165, 233, 0.22);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #06111f;
  --bg-secondary: #0c1c30;
  --bg-tertiary: #132b47;
  --bg-card: rgba(12, 28, 48, 0.85);
  --bg-card-hover: rgba(19, 43, 71, 0.95);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-focus: rgba(56, 189, 248, 0.6);

  --text-main: #f0f8ff;
  --text-muted: #94b8db;
  --text-subtle: #648ba6;

  --accent-primary: #38bdf8;
  --accent-secondary: #0ea5e9;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 40px -15px rgba(56, 189, 248, 0.3);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.14), transparent),
    radial-gradient(circle at 100% 40%, rgba(56, 189, 248, 0.08), transparent),
    radial-gradient(circle at 0% 70%, rgba(2, 132, 199, 0.06), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.18), transparent),
    radial-gradient(circle at 100% 40%, rgba(2, 132, 199, 0.1), transparent),
    radial-gradient(circle at 0% 70%, rgba(56, 189, 248, 0.08), transparent);
}

/* Accessibility & Links */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-secondary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-primary);
}

.btn-ghost:hover {
  background: rgba(14, 165, 233, 0.22);
  color: #0369a1;
}

.btn-block {
  width: 100%;
}

/* Top Announcement */
.announcement-bar {
  background: linear-gradient(90deg, #0284c7, #0ea5e9, #38bdf8);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: #fff;
  text-align: center;
  font-weight: 500;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-pill {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 247, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(6, 17, 31, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.45), 0 0 24px rgba(2, 132, 199, 0.3);
  border: 2px solid rgba(14, 165, 233, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(6deg) scale(1.08);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.75), 0 0 35px rgba(2, 132, 199, 0.5);
}

.brand-logo-img.small {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.footer-brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.logo-icon.small {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0c2340 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .brand-title {
  background: linear-gradient(135deg, #f0f8ff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Competitor-Style Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
  background: rgba(14, 165, 233, 0.12);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: rotate(15deg);
}

/* Header Search Box */
.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-box input {
  padding: 0.45rem 0.85rem 0.45rem 2.2rem;
  font-size: 0.85rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  outline: none;
  width: 160px;
  transition: width 0.3s ease, border-color 0.2s ease;
}

.header-search-box input:focus {
  width: 220px;
  border-color: var(--accent-primary);
}

.header-search-box .search-icon {
  position: absolute;
  left: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  pointer-events: none;
}

/* Search Input */
.header-center {
  flex: 1;
  max-width: 580px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  transition: var(--transition-fast);
}

.search-wrapper:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
  background: var(--bg-secondary);
}

.search-icon {
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-right: 0.75rem;
}

.search-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.92rem;
}

.search-wrapper input::placeholder {
  color: var(--text-subtle);
}

.search-kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 2rem;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.hero-subtitle strong {
  color: #fff;
}

/* Quick Trending Keywords Tags */
.quick-keywords-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.quick-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f59e0b;
}

.quick-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
}

.quick-tag:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Controls & Sticky Categories */
.controls-section {
  padding: 0.85rem 0 0.65rem;
  background: rgba(240, 247, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

[data-theme="dark"] .controls-section {
  background: rgba(6, 17, 31, 0.95);
}

.categories-scroller {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 0.65rem;
}

.categories-scroller::-webkit-scrollbar {
  display: none;
}

.categories-nav {
  display: flex;
  gap: 0.5rem;
  min-width: max-content;
  padding-bottom: 0.25rem;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(12, 35, 64, 0.04);
}

.cat-btn:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  border-color: #bae6fd;
}

.cat-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

/* Filter Bar: AI Model & Sort */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.model-filters {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.84rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.model-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
}

.model-btn:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  border-color: #bae6fd;
}

.model-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.select-dropdown {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

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

/* Gallery Grid */
.main-content {
  padding: 1.25rem 0 3.5rem;
}

.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Prompt Card */
.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: var(--shadow-card);
}

.prompt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-tertiary);
  cursor: pointer;
}

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

.prompt-card:hover .card-image-box img {
  transform: scale(1.05);
}

.card-badges-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.badge-tag {
  background: rgba(12, 35, 64, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-model {
  background: rgba(2, 132, 199, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.badge-sameface {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Card Floating Overlay on Image Hover */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 35, 64, 0.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.view-full-btn {
  width: 100%;
  background: rgba(2, 132, 199, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Card Content */
.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1.35;
}

.card-title:hover {
  color: var(--accent-primary);
}

.card-prompt-snippet {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
}

.card-footer-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-action-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.icon-action-btn:hover {
  background: #bae6fd;
  color: var(--accent-primary);
  border-color: var(--accent-secondary);
}

.icon-action-btn.active-like {
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(236, 72, 153, 0.1);
}

.icon-action-btn.active-saved {
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.4);
  background: rgba(2, 132, 199, 0.12);
}

.copy-card-btn {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

.copy-card-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Prompt Customizer Section */
.customizer-section {
  padding: 3rem 0;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.customizer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.customizer-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.customizer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.customizer-output {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.prompt-code-box {
  background: rgba(9, 13, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a5f3fc;
  user-select: all;
  white-space: pre-wrap;
}

/* SEO Content Section */
.seo-content-section {
  padding: 4rem 0;
}

.seo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.seo-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.seo-card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.seo-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.seo-box {
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.seo-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.seo-box ol, .seo-box ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.seo-box li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-container {
  margin-top: 2rem;
}

.faq-container h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.faq-item {
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 0.98rem;
  color: #fff;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--text-subtle);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-links-group h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-group a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links-group a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-keywords-cloud {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}

.cloud-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
  display: block;
}

.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cloud-tags span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-subtle);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
}

/* Dialog Modals */
.prompt-modal {
  margin: auto;
  border: none;
  padding: 0;
  background: transparent;
  max-width: 950px;
  width: 95%;
}

.prompt-modal::backdrop {
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  color: var(--text-main);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box.small-modal {
  max-width: 580px;
  margin: 0 auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  z-index: 10;
}

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

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
}

.modal-image-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-image-col img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.modal-img-meta {
  display: flex;
  gap: 0.5rem;
}

.meta-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-header-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.modal-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-prompt-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-label-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-label-bar label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.prompt-text-box {
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre-wrap;
  user-select: all;
  max-height: 220px;
  overflow-y: auto;
}

.face-lock-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: #fde68a;
}

.modal-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.direct-launch-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.modal-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Add Prompt Form */
.add-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.add-modal-header .icon-circle {
  margin: 0 auto 0.75rem;
}

.add-modal-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.add-modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.add-prompt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.55);
}

/* Card Image & Title Links */
.card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.card-title a:hover {
  color: var(--accent-primary);
}

/* Prompt Showcase Page Styles */
.prompt-page-main, .blog-page-main {
  padding: 2rem 0 5rem;
}

.breadcrumbs-bar {
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
  color: var(--text-subtle);
}

.breadcrumbs-list a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumbs-list a:hover {
  color: var(--accent-primary);
}

.breadcrumbs-list .active {
  color: var(--text-main);
  font-weight: 600;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb-sep {
  font-size: 0.72rem;
  opacity: 0.6;
}

.prompt-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
}

.prompt-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.75rem;
}

.showcase-media-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.showcase-image-wrapper img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.showcase-image-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.media-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.media-stat-pills {
  display: flex;
  gap: 0.75rem;
}

.stat-pill {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.social-share-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.share-label {
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.share-btn:hover {
  transform: translateY(-2px);
}
.share-btn.whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-btn.twitter:hover { background: #000; color: #fff; border-color: #000; }
.share-btn.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.pinterest:hover { background: #bd081c; color: #fff; border-color: #bd081c; }
.share-btn.copy-link:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.showcase-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-meta-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.showcase-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}

.showcase-meta-line {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.copy-action-banner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-copy-hero {
  flex: 1;
  min-height: 50px;
  font-size: 1.05rem;
}

.prompt-code-section {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prompt-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.prompt-code-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-main);
  white-space: pre-wrap;
  user-select: all;
  max-height: 280px;
  overflow-y: auto;
}

.face-lock-pro-card {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.pro-card-header {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.icon-bulb {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.pro-card-header strong {
  display: block;
  font-size: 0.92rem;
  color: #d97706;
  margin-bottom: 0.25rem;
}

.pro-card-header p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.direct-launch-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.launch-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.direct-launch-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.launch-btn {
  justify-content: center;
  min-height: 46px;
  font-size: 0.88rem;
}

.prompt-tags-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tags-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.prompt-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prompt-tag-pill {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.prompt-tag-pill:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

/* Related Prompts Section */
.related-prompts-section {
  margin-top: 3rem;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

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

/* Blog Page Styles */
.blog-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.blog-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.blog-categories-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.blog-filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.blog-filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-main);
}

.blog-filter-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-hover);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.blog-meta-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.blog-card-title a {
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--accent-primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-card-footer {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.blog-read-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

.blog-read-link:hover {
  gap: 0.65rem;
}

/* Single Article Reader */
.single-article-view {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.back-to-blog-btn {
  margin-bottom: 2rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-meta-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.badge-category {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.article-read-time {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.article-main-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.article-author-bar {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-featured-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 9;
}

.article-featured-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.25rem 0 1rem;
}

.article-body-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.article-body-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.article-body-content a {
  color: var(--accent-primary);
  text-decoration: underline;
  font-weight: 600;
}

.article-body-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  background: var(--bg-tertiary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-main);
}

.article-body-content ul, .article-body-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.article-body-content li {
  margin-bottom: 0.5rem;
}

.article-footer-cta {
  margin-top: 3rem;
  padding: 2.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.cta-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Global Mobile Touch Optimization */
@media (hover: none) and (pointer: coarse) {
  .card-hover-overlay {
    display: none !important;
  }
}

/* Load More Prompts Button */
.load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.25rem 0 1rem;
  width: 100%;
}

.btn-load-more {
  padding: 0.85rem 2.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: all var(--transition-normal);
  cursor: pointer;
  touch-action: manipulation;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-load-more.loading i {
  animation: loaderSpin 0.75s linear infinite;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .prompt-showcase-grid {
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Layout & Container */
  .container {
    padding: 0 0.85rem;
  }

  /* Announcement Bar */
  .announcement-bar {
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
  }
  .badge-pill {
    display: none;
  }

  /* Header & Mobile Navigation */
  .site-header {
    padding: 0.5rem 0;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  .header-left {
    order: 1;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-tagline {
    display: none;
  }

  .header-right {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .header-right .btn {
    padding: 0.4rem 0.65rem;
    min-height: 36px;
    font-size: 0.82rem;
  }
  .header-right .btn-text {
    display: none;
  }
  .header-search-box {
    display: none;
  }

  /* Horizontal Scrollable Nav Links */
  .header-nav {
    order: 3;
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding: 0.25rem 0 0.15rem;
    margin-top: 0.1rem;
  }
  .header-nav::-webkit-scrollbar {
    display: none;
  }
  .header-nav .nav-link {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    min-height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    border-radius: var(--radius-full);
  }
  .header-nav .nav-link.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
  }

  .header-center {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 0.2rem;
  }
  .search-wrapper {
    width: 100%;
  }
  #searchInput, #headerSearchInput {
    height: 42px;
    font-size: 16px !important;
    padding: 0.6rem 1rem 0.6rem 2.25rem;
    border-radius: var(--radius-full);
  }
  .search-kbd {
    display: none;
  }

  /* Compact Hero Section */
  .hero-section {
    padding: 1.25rem 0 0.85rem;
    text-align: center;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
  }
  .hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  /* Quick Keywords Horizontal Swiper */
  .quick-keywords-bar {
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding-bottom: 0.25rem;
  }
  .quick-keywords-bar::-webkit-scrollbar {
    display: none;
  }
  .quick-label {
    flex-shrink: 0;
    font-size: 0.74rem;
  }
  .quick-tags-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }
  .quick-tag {
    flex-shrink: 0;
    font-size: 0.74rem;
    padding: 0.3rem 0.65rem;
    min-height: 32px;
    touch-action: manipulation;
  }

  /* Sticky Controls Bar */
  .controls-section {
    padding: 0.5rem 0 0.35rem;
  }
  .categories-scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    margin-bottom: 0.5rem;
  }
  .categories-nav {
    gap: 0.35rem;
    padding-bottom: 0.2rem;
  }
  .cat-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
    min-height: 36px;
    scroll-snap-align: start;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding-top: 0.15rem;
  }
  .model-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    width: 100%;
    padding-bottom: 0.2rem;
  }
  .model-filters::-webkit-scrollbar {
    display: none;
  }
  .model-btn {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.38rem 0.7rem;
    min-height: 36px;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .filter-label {
    display: none;
  }
  .sort-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .select-dropdown {
    flex: 1;
    min-height: 40px;
    font-size: 16px !important;
  }

  /* Gallery Grid: 2-Column Mobile Layout */
  .main-content {
    padding: 0.85rem 0 2.5rem;
  }
  .results-meta-bar {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  .prompts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .prompt-card {
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .card-image-box img {
    aspect-ratio: 4 / 5;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }
  .card-badges-top {
    top: 0.35rem;
    left: 0.35rem;
    right: 0.35rem;
    gap: 0.25rem;
  }
  .badge-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
  }
  .card-content {
    padding: 0.6rem 0.5rem;
    gap: 0.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card-title {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-prompt-snippet {
    font-size: 0.72rem;
    line-height: 1.35;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-footer-meta {
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border-color);
  }
  .card-stats {
    font-size: 0.7rem;
    justify-content: space-between;
    width: 100%;
  }
  .card-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
  }
  .copy-card-btn {
    flex: 1;
    padding: 0.35rem 0.5rem;
    min-height: 34px;
    font-size: 0.74rem;
    justify-content: center;
    touch-action: manipulation;
  }
  .icon-action-btn {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    flex-shrink: 0;
    touch-action: manipulation;
  }

  /* Load More Button Mobile */
  .load-more-container {
    padding: 1.5rem 0 0.85rem;
  }
  .btn-load-more {
    width: 100%;
    max-width: 320px;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    min-height: 44px;
    justify-content: center;
  }

  /* Dedicated Prompt Showcase Page Mobile Responsive */
  .prompt-page-main, .blog-page-main {
    padding: 0.85rem 0 2.5rem;
  }
  .breadcrumb-nav {
    font-size: 0.76rem;
    padding: 0.35rem 0 0.75rem;
  }
  .breadcrumb-current {
    max-width: 150px;
  }
  .prompt-showcase-card {
    padding: 1rem;
    margin-bottom: 1.75rem;
    border-radius: var(--radius-md);
  }
  .prompt-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .showcase-media-col {
    gap: 0.75rem;
  }
  .showcase-image-wrapper img {
    max-height: 420px;
    object-fit: cover;
  }
  .media-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .media-stat-pills {
    justify-content: flex-start;
  }
  .social-share-group {
    width: 100%;
    justify-content: space-between;
  }
  .showcase-title {
    font-size: 1.28rem;
    line-height: 1.3;
  }
  .copy-action-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .btn-copy-hero {
    width: 100%;
    min-height: 46px;
    font-size: 0.92rem;
    justify-content: center;
  }
  .prompt-code-section {
    padding: 0.85rem;
  }
  .prompt-code-box pre {
    font-size: 0.8rem;
    max-height: 180px;
  }
  .direct-ai-launch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .direct-ai-launch-grid .btn {
    min-height: 42px;
    font-size: 0.8rem;
    padding: 0.45rem;
    justify-content: center;
  }
  .face-lock-pro-card {
    padding: 0.85rem;
  }
  .face-lock-header h4 {
    font-size: 0.88rem;
  }
  .face-lock-steps li {
    font-size: 0.78rem;
  }
  .related-prompts-section {
    margin-top: 2rem;
  }
  .related-prompts-header h2 {
    font-size: 1.25rem;
  }
  .related-prompts-section .prompts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Blog Showcase Mobile */
  .blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .blog-card-image img {
    height: 180px;
  }
  .blog-card-content {
    padding: 1.15rem;
  }
  .blog-card-title {
    font-size: 1.1rem;
  }
  .blog-reader-modal .modal-box {
    padding: 1.25rem 1rem 2rem;
    max-height: 92vh;
  }

  /* Bottom Sheet Modals (Touch-Friendly) */
  .prompt-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    margin: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
  }
  .modal-box {
    border-radius: 20px 20px 0 0;
    padding: 1.25rem 1rem 2rem;
    max-height: 88vh;
    border-bottom: none;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .modal-image-col img {
    max-height: 250px;
    object-fit: cover;
  }
  .modal-header-info h3 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .prompt-text-box {
    font-size: 0.82rem;
    padding: 0.8rem;
    max-height: 150px;
  }
  .direct-launch-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .direct-launch-buttons .btn {
    min-height: 44px;
    font-size: 0.82rem;
    justify-content: center;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
    min-height: 44px;
  }

  /* Customizer Mobile */
  .customizer-section {
    padding: 1.75rem 0;
  }
  .customizer-card {
    padding: 1.15rem 0.85rem;
  }
  .customizer-header {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }
  .customizer-header h2 {
    font-size: 1.15rem;
  }
  .customizer-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }
  .customizer-actions {
    flex-direction: column;
    width: 100%;
  }
  .customizer-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 2rem 0 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
  }
  .footer-links-group ul li a {
    display: inline-block;
    padding: 0.35rem 0;
    font-size: 0.88rem;
  }

  /* Toast Notification */
  .toast-notification {
    bottom: 1.25rem;
    right: 1rem;
    left: 1rem;
    justify-content: center;
    font-size: 0.85rem;
  }
}

/* Extra Small Phones (Narrow screens < 360px) */
@media (max-width: 360px) {
  .prompts-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .related-prompts-section .prompts-grid {
    grid-template-columns: 1fr;
  }
  .card-image-box img {
    max-height: 380px;
  }
}

/* Infinite Scroll Loader & Sentinel */
.scroll-sentinel {
  width: 100%;
  height: 40px;
  pointer-events: none;
  visibility: hidden;
}

.scroll-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.loader-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(99, 102, 241, 0.2);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: loaderSpin 0.75s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

