/* ============================================
   Loading Screen - 4D Tech Effect
   ============================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #0A0A0B;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

/* 4D Image Grid */
.loading-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  perspective: 1000px;
}

.loading-cell {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
  transition: all 1.5s ease;
}

.loading-cell.visible {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.loading-cell.visible img {
  filter: brightness(0.5) saturate(0.8);
}

/* Staggered animation delays */
.cell-1 { transition-delay: 0.1s; }
.cell-2 { transition-delay: 0.3s; }
.cell-3 { transition-delay: 0.5s; }
.cell-4 { transition-delay: 0.7s; }
.cell-5 { transition-delay: 0.9s; }
.cell-6 { transition-delay: 1.1s; }

/* Cell hover/parallax effect on desktop */
@media (hover: hover) {
  .loading-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,169,126,0.1) 0%, transparent 50%, rgba(108,92,231,0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .loading-cell.visible::after {
    opacity: 1;
  }
}

/* Dark overlay for text readability */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.85) 100%);
  z-index: 1;
}

/* Loading content */
.loading-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

/* Logo */
.loading-logo {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: loadingFadeUp 0.8s ease 0.3s forwards;
}

.loading-logo-text {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 0.4em;
  color: #F5F5F7;
  display: block;
  text-shadow: 0 0 40px rgba(200,169,126,0.3);
}

.loading-logo-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C8A97E, transparent);
  margin: 12px auto 0;
  animation: loadingLineExpand 1.5s ease 0.8s forwards;
  transform: scaleX(0);
}

@keyframes loadingLineExpand {
  to { transform: scaleX(1); }
}

/* Typing text */
.loading-typing {
  font-size: 16px;
  font-weight: 300;
  color: rgba(245,245,247,0.9);
  line-height: 1.8;
  max-width: 400px;
  min-height: 60px;
  margin-bottom: 40px;
  opacity: 0;
  animation: loadingFadeIn 0.5s ease 1s forwards;
}

.loading-typing .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #C8A97E;
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Progress bar */
.loading-progress {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 16px;
  opacity: 0;
  animation: loadingFadeIn 0.5s ease 1.2s forwards;
}

.loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C8A97E, #6C5CE7);
  border-radius: 1px;
  transition: width 0.3s ease;
}

/* Loading hint */
.loading-hint {
  font-size: 12px;
  color: rgba(142,142,147,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: loadingFadeIn 0.5s ease 1.5s forwards;
}

/* Scanline effect */
.loading-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,169,126,0.3), transparent);
  z-index: 3;
  animation: scanlineMove 3s linear infinite;
  pointer-events: none;
}

@keyframes scanlineMove {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* Animations */
@keyframes loadingFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingFadeIn {
  to { opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .loading-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .loading-logo-text {
    font-size: 28px;
    letter-spacing: 0.3em;
  }
  
  .loading-typing {
    font-size: 14px;
    max-width: 300px;
  }
  
  .loading-progress {
    width: 160px;
  }
}

/* Desktop 4D parallax effect */
@media (min-width: 768px) {
  .loading-grid {
    gap: 8px;
    padding: 8px;
    transform-style: preserve-3d;
  }
  
  .loading-cell {
    transform-style: preserve-3d;
  }
  
  .loading-cell.visible {
    animation: cell4D 4s ease-in-out infinite alternate;
  }
  
  .cell-1.visible { animation-delay: 0s; }
  .cell-2.visible { animation-delay: 0.5s; }
  .cell-3.visible { animation-delay: 1s; }
  .cell-4.visible { animation-delay: 1.5s; }
  .cell-5.visible { animation-delay: 2s; }
  .cell-6.visible { animation-delay: 2.5s; }
  
  .loading-logo-text {
    font-size: 48px;
  }
  
  .loading-typing {
    font-size: 18px;
  }
}

@keyframes cell4D {
  0% {
    transform: scale(1) rotateY(0deg) rotateX(0deg) translateZ(0);
  }
  50% {
    transform: scale(1.02) rotateY(2deg) rotateX(1deg) translateZ(10px);
  }
  100% {
    transform: scale(1) rotateY(-1deg) rotateX(-0.5deg) translateZ(5px);
  }
}

/* ============================================
   ARTION - Mobile-First Gallery System
   ============================================ */
:root {
  --bg-primary: #0A0A0B;
  --bg-secondary: #111113;
  --bg-tertiary: #1A1A1F;
  --accent-gold: #C8A97E;
  --accent-purple: #6C5CE7;
  --text-primary: #F5F5F7;
  --text-secondary: #8E8E93;
  --border-color: rgba(255,255,255,0.06);
  --gradient-accent: linear-gradient(135deg, #C8A97E, #6C5CE7);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --card-radius: 10px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif;
  background: var(--bg-primary); color: var(--text-primary);
  font-weight: 300; font-size: 15px; line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border:none; background:none; cursor:pointer; font-family:inherit; color:inherit; }
h1,h2,h3,h4 { font-weight: 200; letter-spacing: -0.02em; line-height: 1.2; }

/* --- Navigation --- */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  height: 56px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.nav-logo {
  font-size: 18px; font-weight: 200; letter-spacing: 0.3em; text-transform: uppercase;
}
.nav-logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 8px 16px; font-size: 12px; }

@media(min-width:768px) {
  .nav { height: 64px; padding: 0 32px; }
  .nav-links {
    display: flex; gap: 28px; list-style: none;
  }
  .nav-links a {
    font-size: 13px; color: var(--text-secondary); transition: color 0.3s;
  }
  .nav-links a:hover { color: var(--text-primary); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out-expo);
}
.btn-primary { background: var(--accent-gold); color: #0A0A0B; }
.btn-primary:hover { box-shadow: 0 0 24px rgba(200,169,126,0.3); }
.btn-outline { border: 1px solid rgba(255,255,255,0.2); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.btn-ghost { color: var(--text-secondary); padding: 8px 12px; font-size: 12px; }

/* --- Hero --- */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero-slide.active img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,11,0.3) 0%, rgba(10,10,11,0.1) 40%,
    rgba(10,10,11,0.8) 80%, rgba(10,10,11,1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 700px; padding: 0 20px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border: 1px solid rgba(200,169,126,0.3);
  border-radius: 100px; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-gold);
  margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(32px, 8vw, 72px); font-weight: 200;
  line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 15px; color: var(--text-secondary); margin-bottom: 32px;
  font-weight: 300; line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-indicators {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 6px;
}
.hero-indicator {
  width: 24px; height: 2px; background: rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer; transition: all 0.4s;
}
.hero-indicator.active { width: 40px; background: var(--accent-gold); }

/* --- Category Tabs --- */
.category-tabs {
  position: sticky; top: 56px; z-index: 100;
  background: rgba(10,10,11,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.tabs-inner {
  display: flex; gap: 0; padding: 0 16px;
  white-space: nowrap; min-width: min-content;
}
.tab-btn {
  padding: 14px 16px; font-size: 13px; font-weight: 400;
  color: var(--text-secondary); transition: all 0.3s;
  border-bottom: 2px solid transparent; flex-shrink: 0;
  position: relative; text-decoration: none; cursor: pointer;
}
.tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}
.tab-btn:hover { color: var(--text-primary); }

@media(min-width:768px) {
  .category-tabs { top: 64px; }
  .tabs-inner { justify-content: center; padding: 0 32px; gap: 0; }
  .tab-btn { padding: 16px 24px; font-size: 14px; }
}

/* --- Gallery Grid --- */
.gallery-section {
  padding: 16px 8px 0;
  min-height: 100vh;
}
.masonry {
  column-count: 2; column-gap: 6px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 6px;
  border-radius: var(--card-radius); overflow: hidden;
  position: relative; cursor: pointer;
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
}
.gallery-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.5s var(--ease-out-expo), filter 0.5s ease;
}
.gallery-item:active img { transform: scale(0.97); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.7) 0%, transparent 40%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px;
}
.gallery-item-info { display: none; }
.gallery-item-title { font-size: 13px; font-weight: 400; }
.gallery-item-author { font-size: 11px; color: var(--text-secondary); }
.gallery-item-likes {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  padding: 4px 8px; border-radius: 20px;
  font-size: 11px; display: flex; align-items: center; gap: 4px;
}

@media(min-width:768px) {
  .gallery-section { padding: 24px 16px 0; }
  .masonry { column-count: 3; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .gallery-item:hover img { transform: scale(1.03); filter: brightness(1.1); }
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
  .gallery-item-info { display: block; }
}
@media(min-width:1200px) {
  .masonry { column-count: 4; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .gallery-section { padding: 32px 24px 0; }
}

/* --- Loading --- */
.loading-indicator {
  text-align: center; padding: 40px 0 60px;
  color: var(--text-secondary); font-size: 13px;
}
.loading-spinner {
  width: 24px; height: 24px; border: 2px solid var(--border-color);
  border-top-color: var(--accent-gold); border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

/* --- Section Headers --- */
.section-block {
  padding: 48px 16px 16px;
}
.section-block-title {
  font-size: clamp(24px, 5vw, 40px); font-weight: 200;
  margin-bottom: 8px;
}
.section-block-sub {
  font-size: 13px; color: var(--text-secondary); margin-bottom: 24px;
}
.gold-text { color: var(--accent-gold); }

@media(min-width:768px) {
  .section-block { padding: 64px 32px 24px; }
}

/* --- Creators Horizontal Scroll --- */
.creators-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 0 16px 24px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}
.creators-scroll::-webkit-scrollbar { display: none; }
.creator-card {
  flex: 0 0 200px; scroll-snap-align: start;
  background: var(--bg-secondary); border-radius: 12px;
  padding: 20px 16px; text-align: center;
  border: 1px solid var(--border-color);
}
.creator-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 12px;
  border: 2px solid var(--border-color);
}
.creator-name { font-size: 14px; font-weight: 400; margin-bottom: 2px; }
.creator-role { font-size: 12px; color: var(--accent-gold); margin-bottom: 8px; }
.creator-bio { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

@media(min-width:768px) {
  .creator-card { flex: 0 0 240px; }
}

/* --- AI Studio Cards --- */
.ai-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  padding: 0 16px 24px;
}
.ai-card {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 24px 20px;
  transition: all 0.3s var(--ease-out-expo);
}
.ai-card:hover { border-color: rgba(108,92,231,0.3); }
.ai-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(108,92,231,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ai-card-icon svg { width: 20px; height: 20px; stroke: var(--accent-purple); }
.ai-card-title { font-size: 17px; font-weight: 400; margin-bottom: 8px; }
.ai-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

@media(min-width:768px) {
  .ai-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 32px 32px; }
}

/* --- Human Art Notice --- */
.human-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; margin: 0 16px 24px;
  background: rgba(200,169,126,0.05);
  border: 1px solid rgba(200,169,126,0.15);
  border-radius: 8px;
}
.human-notice svg { width: 18px; height: 18px; stroke: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }
.human-notice p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 16px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 32px;
}
.footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
.footer-brand-name { font-size: 18px; font-weight: 200; letter-spacing: 0.3em; margin-bottom: 8px; }
.footer-brand-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.footer-col-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col-links a { font-size: 12px; color: var(--text-secondary); transition: color 0.3s; }
.footer-col-links a:hover { color: var(--accent-gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border-color);
}
.footer-copyright { font-size: 11px; color: var(--text-secondary); }

@media(min-width:768px) {
  .footer { padding: 64px 32px 40px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

/* --- Modals --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,10,11,0.95);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { max-width: 500px; width: 90%; text-align: center; transform: translateY(20px); transition: transform 0.4s var(--ease-out-expo); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-title { font-size: 24px; font-weight: 200; margin-bottom: 8px; }
.modal-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.modal-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 28px; }
.modal-option {
  padding: 12px; border: 1px solid var(--border-color); border-radius: 8px;
  cursor: pointer; transition: all 0.3s; font-size: 13px; color: var(--text-secondary);
}
.modal-option:hover { border-color: rgba(200,169,126,0.4); color: var(--text-primary); }
.modal-option.selected { border-color: var(--accent-gold); background: rgba(200,169,126,0.1); color: var(--accent-gold); }

.age-modal {
  position: fixed; inset: 0; background: rgba(10,10,11,0.98);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.age-modal.active { opacity: 1; pointer-events: all; }
.age-modal-box {
  max-width: 400px; text-align: center; padding: 32px 24px;
  border: 1px solid var(--border-color); border-radius: 12px;
  background: var(--bg-secondary); margin: 0 16px;
}
.age-modal-box h3 { font-size: 20px; font-weight: 300; margin-bottom: 8px; }
.age-modal-box p { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.age-modal-actions { display: flex; gap: 8px; justify-content: center; }

/* --- Particle Canvas --- */
#particles-canvas {
  position: fixed; top:0; left:0; width:100%; height:100%;
  pointer-events: none; z-index: 0; opacity: 0.3;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 2px; }

/* --- Counter Section --- */
.stats-row {
  display: flex; justify-content: center; gap: 32px;
  padding: 32px 16px; text-align: center;
}
.stat-item .stat-value {
  font-size: 28px; font-weight: 200; color: var(--accent-gold);
}
.stat-item .stat-label {
  font-size: 11px; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.05em;
}

@media(min-width:768px) {
  .stats-row { gap: 64px; }
  .stat-item .stat-value { font-size: 36px; }
}

/* ===== AI STUDIO PAGE ===== */
.ai-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, #0A0A0B 0%, #111118 50%, #0A0A0B 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108,92,231,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ai-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(108,92,231,0.4);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.ai-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #F5F5F7 0%, #C8A97E 50%, #6C5CE7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.ai-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.ai-stat { text-align: center; }
.ai-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-gold);
}
.ai-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.ai-section {
  padding: 60px 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.ai-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.ai-section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 200;
  margin-bottom: 12px;
}
.ai-section-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* AI Gallery */
.ai-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ai-artwork-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.ai-artwork-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ai-artwork-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ai-artwork-card:hover .ai-artwork-img img {
  transform: scale(1.05);
}
.ai-model-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(108,92,231,0.4);
  border-radius: 6px;
  font-size: 11px;
  color: var(--accent-purple);
  backdrop-filter: blur(10px);
}
.ai-artwork-info { padding: 16px; }
.ai-artwork-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
.ai-artwork-prompt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-artwork-prompt strong { color: var(--accent-gold); font-weight: 400; }
.ai-artwork-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
}
.ai-likes { color: var(--accent-gold); }

/* AI Articles */
.ai-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ai-article-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.ai-article-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ai-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(200,169,126,0.9);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #0A0A0B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ai-article-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ai-article-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.3;
}
.ai-article-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.ai-article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.ai-read-more {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.ai-read-more:hover { color: #d4b88a; }

/* AI Challenges */
.ai-challenges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ai-challenge-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.ai-challenge-card.ai-challenge-active {
  border-color: rgba(108,92,231,0.3);
}
.ai-challenge-card.ai-challenge-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple));
}
.ai-challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ai-challenge-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ai-challenge-active .ai-challenge-status {
  background: rgba(108,92,231,0.2);
  color: var(--accent-purple);
}
.ai-challenge-ended .ai-challenge-status {
  background: rgba(142,142,147,0.2);
  color: var(--text-secondary);
}
.ai-challenge-prize {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-gold);
}
.ai-challenge-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}
.ai-challenge-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ai-challenge-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.ai-challenge-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.2s, transform 0.2s;
}
.ai-challenge-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* AI Creators */
.ai-creators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ai-creator-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: transform 0.3s ease;
}
.ai-creator-card:hover { transform: translateY(-4px); }
.ai-creator-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--border-subtle);
}
.ai-creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-creator-name {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 6px;
}
.ai-creator-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-creator-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.ai-creator-follow {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
}
.ai-creator-follow:hover {
  background: var(--accent-gold);
  color: #0A0A0B;
}

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

/* AI Studio Tablet+ */
@media(min-width:640px) {
  .ai-gallery { grid-template-columns: repeat(2, 1fr); }
  .ai-articles { grid-template-columns: repeat(2, 1fr); }
  .ai-challenges { grid-template-columns: repeat(2, 1fr); }
  .ai-creators { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width:1024px) {
  .ai-gallery { grid-template-columns: repeat(3, 1fr); }
  .ai-articles { grid-template-columns: repeat(3, 1fr); }
  .ai-creators { grid-template-columns: repeat(5, 1fr); }
  .ai-section { padding: 80px 40px; }
}

/* ============================================
   Category Page Styles
   ============================================ */

/* Back Home Button */
.back-home {
  position: fixed; top: 16px; left: 16px; z-index: 100;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px;
  background: rgba(10,10,11,0.8); backdrop-filter: blur(12px);
  color: var(--text-primary); text-decoration: none;
  font-size: 13px; font-weight: 300;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.back-home:hover { background: rgba(200,169,126,0.15); border-color: var(--accent-gold); }
.back-home svg { opacity: 0.7; }

/* Category Header */
.category-header {
  padding: 80px 20px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
}
.category-header-inner { max-width: 800px; margin: 0 auto; }
.category-label {
  display: inline-block; padding: 4px 12px; border-radius: 12px;
  background: rgba(200,169,126,0.12); color: var(--accent-gold);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.category-title {
  font-size: 36px; font-weight: 200; letter-spacing: 0.02em;
  color: var(--text-primary); margin: 0 0 8px;
}
.category-desc {
  font-size: 15px; color: var(--text-secondary);
  font-weight: 300; margin: 0 0 16px;
}
.category-count {
  font-size: 13px; color: var(--text-secondary);
  font-weight: 300; letter-spacing: 0.05em;
}

/* Sub-category Tabs */
.sub-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 16px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: sticky; top: 0; z-index: 50;
}
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tab {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px;
  background: var(--bg-secondary); color: var(--text-secondary);
  font-size: 13px; font-weight: 300; border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s ease;
  white-space: nowrap;
}
.sub-tab:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.1); }
.sub-tab.active {
  background: rgba(200,169,126,0.12); color: var(--accent-gold);
  border-color: rgba(200,169,126,0.3);
}

/* Gallery Section */
.gallery-section {
  padding: 16px;
  min-height: 60vh;
}

/* Loading & End Message */
.loading {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 40px 20px;
  color: var(--text-secondary); font-size: 13px;
}
.loading-spinner {
  width: 20px; height: 20px; border: 2px solid var(--bg-tertiary);
  border-top-color: var(--accent-gold); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.end-message {
  text-align: center; padding: 40px 20px;
  color: var(--text-secondary); font-size: 13px;
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-img {
  max-width: 100%; max-height: 80vh;
  border-radius: 8px; object-fit: contain;
}
.lightbox-info { padding: 16px 0; }
.lightbox-info h3 {
  font-size: 18px; font-weight: 300; color: var(--text-primary);
  margin: 0 0 4px;
}
.lightbox-info p {
  font-size: 13px; color: var(--text-secondary); margin: 0;
}

/* Responsive */
@media(min-width:768px) {
  .category-header { padding: 100px 40px 48px; }
  .category-title { font-size: 48px; }
  .category-desc { font-size: 17px; }
  .gallery-section { padding: 24px; }
  .sub-tabs { padding: 16px 40px; justify-content: center; }
}

/* ==================== ARTWORK DETAIL PAGE ==================== */
.artwork-page { min-height: 100vh; background: var(--bg-primary); }

.artwork-hero {
  position: relative; width: 100%; max-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background: #000; overflow: hidden;
}
.artwork-hero img {
  width: 100%; max-height: 70vh; object-fit: contain;
  display: block;
}
@media(min-width:768px) {
  .artwork-hero { max-height: 80vh; }
  .artwork-hero img { max-height: 80vh; }
}

.artwork-content {
  max-width: 900px; margin: 0 auto; padding: 32px 20px 80px;
}
@media(min-width:768px) {
  .artwork-content { padding: 48px 40px 120px; }
}

.artwork-title {
  font-size: 28px; font-weight: 300; letter-spacing: 0.02em;
  color: var(--text-primary); margin: 0 0 12px;
  line-height: 1.3;
}
@media(min-width:768px) { .artwork-title { font-size: 36px; } }

.artwork-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.artwork-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-secondary);
}
.artwork-meta-item .label { color: var(--text-tertiary); }
.artwork-meta-item .value { color: var(--accent-gold); }

.artwork-section {
  margin-bottom: 36px;
}
.artwork-section-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent-gold);
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,169,126,0.2);
}
.artwork-section p {
  font-size: 15px; line-height: 1.8; color: var(--text-secondary);
  margin: 0 0 12px; font-weight: 300;
}
@media(min-width:768px) {
  .artwork-section p { font-size: 16px; }
}

.artwork-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.artwork-tag {
  padding: 6px 14px; border-radius: 20px;
  background: var(--bg-tertiary); border: 1px solid var(--border-color);
  font-size: 12px; color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.artwork-composition {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media(min-width:600px) {
  .artwork-composition { grid-template-columns: 1fr 1fr; }
}
.composition-item {
  padding: 16px; border-radius: 12px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
}
.composition-item .comp-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-gold);
  margin-bottom: 6px;
}
.composition-item .comp-value {
  font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}

.artwork-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.artwork-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  color: var(--text-primary); text-decoration: none;
  font-size: 14px; transition: all 0.3s ease;
}
.artwork-nav-btn:hover {
  background: var(--bg-tertiary); border-color: var(--accent-gold);
}
.artwork-nav-btn svg { width: 16px; height: 16px; }

.artwork-loader {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; color: var(--text-secondary);
  font-size: 16px; letter-spacing: 0.1em;
}

/* ============================================
   Community / Join Page
   ============================================ */
.community-hero {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 20px 60px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.community-hero-content { max-width: 700px; }
.community-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 20px;
  background: rgba(200,169,126,0.1); border: 1px solid rgba(200,169,126,0.2);
  color: var(--accent-gold); font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 24px;
}
.community-title {
  font-size: 42px; font-weight: 200; color: var(--text-primary);
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em;
}
.community-title em {
  font-style: italic; color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.community-subtitle {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 40px; font-weight: 300;
}
.community-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.community-stat { text-align: center; }
.community-stat-num {
  display: block; font-size: 32px; font-weight: 600;
  color: var(--accent-gold); letter-spacing: -0.02em;
}
.community-stat-label {
  display: block; font-size: 12px; color: var(--text-secondary);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px;
}

.community-section {
  padding: 80px 20px; max-width: 1200px; margin: 0 auto;
}
.section-title {
  font-size: 28px; font-weight: 200; color: var(--text-primary);
  text-align: center; margin-bottom: 48px; letter-spacing: 0.05em;
}

/* Benefits Grid */
.benefits-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.benefit-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-4px); border-color: rgba(200,169,126,0.3);
}
.benefit-icon { margin-bottom: 16px; }
.benefit-title {
  font-size: 18px; font-weight: 400; color: var(--text-primary);
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-weight: 300;
}

/* Creator Types */
.creator-types {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.creator-type {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.3s ease;
}
.creator-type:hover { transform: translateY(-4px); }
.creator-type-img {
  width: 100%; height: 160px; overflow: hidden;
}
.creator-type-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.creator-type:hover .creator-type-img img { transform: scale(1.05); }
.creator-type-title {
  font-size: 16px; font-weight: 400; color: var(--text-primary);
  padding: 16px 16px 8px;
}
.creator-type-desc {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
  padding: 0 16px 16px; font-weight: 300;
}

/* Challenges */
.challenges-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.challenge-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  position: relative; transition: border-color 0.3s ease;
}
.challenge-card:hover { border-color: rgba(200,169,126,0.3); }
.challenge-status {
  display: inline-block; padding: 4px 12px; border-radius: 12px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(200,169,126,0.15); color: var(--accent-gold);
  margin-bottom: 12px;
}
.challenge-status.new { background: rgba(108,92,231,0.15); color: var(--accent-purple); }
.challenge-title {
  font-size: 20px; font-weight: 400; color: var(--text-primary);
  margin-bottom: 10px;
}
.challenge-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 16px; font-weight: 300;
}
.challenge-meta {
  display: flex; gap: 20px; font-size: 12px; color: var(--text-secondary);
  margin-bottom: 12px;
}
.challenge-prize {
  font-size: 13px; color: var(--accent-gold); font-weight: 400;
  letter-spacing: 0.05em;
}

/* Featured Creators */
.featured-creators-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.featured-creator {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: center;
  transition: transform 0.3s ease;
}
.featured-creator:hover { transform: translateY(-4px); }
.featured-creator-avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px; border: 2px solid rgba(200,169,126,0.3);
}
.featured-creator-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.featured-creator-name {
  font-size: 16px; font-weight: 400; color: var(--text-primary);
  margin-bottom: 4px;
}
.featured-creator-role {
  font-size: 12px; color: var(--accent-gold); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 10px;
}
.featured-creator-bio {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
  margin-bottom: 12px; font-weight: 300;
}
.featured-creator-stats {
  display: flex; justify-content: center; gap: 16px;
  font-size: 12px; color: var(--text-secondary);
}

/* CTA Section */
.community-cta {
  text-align: center; padding: 80px 20px 100px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.community-cta-title {
  font-size: 32px; font-weight: 200; color: var(--text-primary);
  margin-bottom: 16px;
}
.community-cta-desc {
  font-size: 16px; color: var(--text-secondary); margin-bottom: 32px;
  font-weight: 300;
}
.community-cta-actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.btn-cta-primary {
  padding: 14px 36px; border-radius: 8px; border: none;
  background: linear-gradient(135deg, var(--accent-gold), #b8956a);
  color: var(--bg-primary); font-size: 15px; font-weight: 600;
  letter-spacing: 0.05em; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,169,126,0.3);
}
.btn-cta-secondary {
  padding: 14px 36px; border-radius: 8px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-primary); font-size: 15px; font-weight: 400;
  letter-spacing: 0.05em; cursor: pointer; text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.btn-cta-secondary:hover {
  border-color: var(--accent-gold); background: rgba(200,169,126,0.05);
}

/* Tablet+ */
@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .challenges-grid { grid-template-columns: 1fr 1fr; }
  .featured-creators-grid { grid-template-columns: repeat(4, 1fr); }
  .community-title { font-size: 56px; }
  .community-stat-num { font-size: 40px; }
}
@media (min-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .challenges-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-types { grid-template-columns: repeat(4, 1fr); }
  .community-title { font-size: 64px; }
  .community-hero { min-height: 70vh; }
}

/* ============================================
   Register Page
   ============================================ */
.register-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 40px;
  background: var(--bg-primary);
}

.register-container {
  width: 100%;
  max-width: 440px;
}

.register-brand {
  text-align: center;
  margin-bottom: 32px;
}

.register-brand .logo {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--text-primary);
  text-decoration: none;
}

.register-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 300;
}

.register-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
}

.register-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 4px;
}

.register-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

/* Register Tabs */
.register-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg-primary);
  border-radius: 10px;
  padding: 4px;
}

.register-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.register-tab:hover {
  color: var(--text-primary);
}

.register-tab.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 500;
}

.register-tab svg {
  opacity: 0.7;
}

.register-tab.active svg {
  opacity: 1;
}

/* Form Styles */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-form.hidden {
  display: none;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
}

.form-group input.input-error {
  border-color: #ef4444;
}

.form-group input::placeholder {
  color: var(--text-muted, #555);
}

.form-hint {
  font-size: 12px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.form-hint.error {
  color: #ef4444;
}

.form-hint.success {
  color: #22c55e;
}

/* Password Toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.password-toggle:hover {
  color: var(--text-primary);
}

/* Phone Input */
.phone-input {
  display: flex;
  gap: 8px;
}

.phone-input select {
  width: 110px;
  flex-shrink: 0;
  padding: 12px 8px;
  font-size: 13px;
}

.phone-input input {
  flex: 1;
}

/* SMS Code Input */
.code-input {
  display: flex;
  gap: 8px;
}

.code-input input {
  flex: 1;
}

.btn-send-code {
  flex-shrink: 0;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-send-code:hover:not(:disabled) {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-send-code:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Submit Button */
.btn-register {
  width: 100%;
  padding: 14px;
  background: var(--accent-gold);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-register:hover {
  background: #d4b48a;
  transform: translateY(-1px);
}

/* Divider */
.register-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.register-divider::before,
.register-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.register-divider span {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 12px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-secondary);
}

/* Login Link */
.register-login {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 20px;
}

.register-login a {
  color: var(--accent-gold);
  text-decoration: none;
}

.register-login a:hover {
  text-decoration: underline;
}

/* Terms */
.register-terms {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.6;
}

.register-terms a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Toast */
.register-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.register-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.register-toast.success {
  background: #22c55e;
  color: #fff;
}

.register-toast.error {
  background: #ef4444;
  color: #fff;
}

/* Register Responsive */
@media (min-width: 768px) {
  .register-card {
    padding: 40px 32px;
  }
  
  .register-title {
    font-size: 28px;
  }
  
  .social-buttons {
    gap: 16px;
  }
}

/* ============================================
   Explore Page
   ============================================ */
.explore-page {
  min-height: 100vh;
  padding: 80px 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Search Header */
.explore-header {
  margin-bottom: 32px;
}

.explore-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.explore-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Search Bar */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-secondary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 16px 48px 16px 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.1);
}

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

.search-clear {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.search-clear:hover {
  color: var(--text-primary);
}

/* Explore Filters */
.explore-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.explore-filters::-webkit-scrollbar {
  display: none;
}

.explore-filter {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.explore-filter:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.explore-filter.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 500;
}

/* Explore Sections */
.explore-section {
  margin-bottom: 40px;
}

.explore-section.hidden {
  display: none;
}

.explore-section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Trending Tags */
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trending-tag {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.trending-tag:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

/* Featured Collections */
.featured-collections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.collection-card {
  display: block;
  text-decoration: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.collection-cover {
  height: 160px;
  overflow: hidden;
}

.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.collection-info {
  padding: 12px 16px;
}

.collection-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.collection-count {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Explore Creators */
.explore-creators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.explore-creator-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.explore-creator-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.explore-creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--border-color);
}

.explore-creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-creator-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.explore-creator-specialty {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.explore-creator-works {
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Search Results Grid */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.explore-result-card {
  display: block;
  text-decoration: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.explore-result-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.explore-result-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.explore-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.explore-result-info {
  padding: 10px 12px;
}

.explore-result-info h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explore-result-info span {
  font-size: 11px;
  color: var(--text-secondary);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.no-results.hidden {
  display: none;
}

/* Explore Responsive */
@media (min-width: 600px) {
  .featured-collections {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .explore-creators {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .explore-page {
    padding: 100px 32px 60px;
  }
  
  .explore-title {
    font-size: 40px;
  }
  
  .featured-collections {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .explore-creators {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .explore-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .collection-cover {
    height: 180px;
  }
}

/* ============================================
   Download Button & Verification Modal
   ============================================ */
.artwork-download-btn {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
}

.artwork-download-btn:hover {
  background: #d4b48a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* Verification Modal */
.verify-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.verify-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.verify-modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: verifyModalIn 0.3s ease;
}

@keyframes verifyModalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.verify-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.verify-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.verify-modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* CAPTCHA Display */
.verify-captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.verify-captcha::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 8px,
      rgba(255,255,255,0.02) 8px,
      rgba(255,255,255,0.02) 9px
    );
  pointer-events: none;
}

.captcha-char {
  font-size: 28px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  display: inline-block;
  transition: all 0.2s ease;
}

.captcha-char:nth-child(odd) {
  color: var(--accent-gold);
}

.captcha-char:nth-child(even) {
  color: var(--accent-purple);
}

.captcha-char:nth-child(1) { transform: rotate(-8deg) translateY(2px); }
.captcha-char:nth-child(2) { transform: rotate(5deg) translateY(-3px); }
.captcha-char:nth-child(3) { transform: rotate(-3deg) translateY(1px); }
.captcha-char:nth-child(4) { transform: rotate(7deg) translateY(-2px); }
.captcha-char:nth-child(5) { transform: rotate(-5deg) translateY(3px); }
.captcha-char:nth-child(6) { transform: rotate(4deg) translateY(-1px); }

/* Refresh Button */
.verify-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.verify-refresh:hover {
  color: var(--accent-gold);
}

/* Input Group */
.verify-input-group {
  display: flex;
  gap: 8px;
}

.verify-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s ease;
}

.verify-input:focus {
  border-color: var(--accent-gold);
}

.verify-input::placeholder {
  color: var(--text-secondary);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

.verify-submit {
  padding: 12px 20px;
  background: var(--accent-gold);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.verify-submit:hover {
  background: #d4b48a;
}

.verify-error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 12px;
  animation: verifyShake 0.4s ease;
}

@keyframes verifyShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Download Success Animation */
@keyframes downloadSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.verify-success {
  animation: downloadSuccess 0.3s ease;
}

/* Responsive */
@media (min-width: 600px) {
  .verify-modal-content {
    padding: 40px 32px;
  }
  
  .captcha-char {
    font-size: 32px;
  }
}

/* ============================================
   Comments Section
   ============================================ */
.comment-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.comment-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
  outline: none;
  transition: border-color 0.2s ease;
}

.comment-input:focus {
  border-color: var(--accent-gold);
}

.comment-input::placeholder {
  color: var(--text-secondary);
}

.comment-submit {
  align-self: flex-end;
  padding: 8px 20px;
  background: var(--accent-gold);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-submit:hover {
  background: #d4b48a;
  transform: translateY(-1px);
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: flex;
  gap: 12px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.comment-time {
  font-size: 12px;
  color: var(--text-secondary);
}

.comment-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0 0 8px;
}

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

.comment-like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.comment-like-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.comment-like-btn.liked {
  color: #ef4444;
}

.comment-like-btn.liked svg {
  fill: #ef4444;
  stroke: #ef4444;
}

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.comment-reply-btn:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

/* Like Button Animation */
.like-btn.liked svg {
  fill: #ef4444;
  stroke: #ef4444;
}

.like-btn.liked {
  color: #ef4444;
}

@keyframes likeHeartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.like-btn.animating svg {
  animation: likeHeartBeat 0.4s ease;
}

/* Math Captcha Style */
.verify-captcha {
  font-size: 28px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

/* Responsive */
@media (min-width: 600px) {
  .verify-captcha {
    font-size: 32px;
  }
}

/* ============================================
   Draggable Image & Zoom Controls
   ============================================ */
.artwork-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.artwork-image-wrapper.dragging {
  cursor: grabbing;
}

.artwork-image-draggable {
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
  will-change: transform;
}

.artwork-image-draggable.no-transition {
  transition: none;
}

/* Drag Hint */
.drag-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 169, 126, 0.3);
  border-radius: 20px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  animation: dragHintFadeIn 0.5s ease 0.5s forwards;
  z-index: 10;
}

@keyframes dragHintFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.drag-hint.hidden {
  animation: dragHintFadeOut 0.3s ease forwards;
}

@keyframes dragHintFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.drag-hint svg {
  opacity: 0.7;
}

/* Zoom Controls */
.zoom-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 1;
  z-index: 10;
}

.zoom-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.zoom-btn:active {
  transform: scale(0.95);
}

/* Mobile: always show zoom controls */
@media (max-width: 768px) {
  .zoom-controls {
    opacity: 1;
  }
  
  .drag-hint {
    font-size: 11px;
    padding: 6px 12px;
  }
}
