/* ===================================================
   AI创作星球 - 主样式表
   字体: Noto Serif SC + JetBrains Mono
   主题: 深宇宙黑 + 金铜渐变 accent
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;600;700&family=JetBrains+Mono:wght@300;400;600&display=swap');

:root {
  --bg-void:    #080810;
  --bg-deep:    #0d0d1a;
  --bg-card:    #12121f;
  --bg-raised:  #181828;
  --border:     rgba(255,255,255,0.07);
  --border-glow:rgba(200,160,80,0.35);
  --gold-1:     #f0c060;
  --gold-2:     #c88020;
  --gold-grad:  linear-gradient(135deg, #f0c060, #c88020);
  --copper:     #e8934a;
  --text-1:     #f0ede8;
  --text-2:     #a09890;
  --text-3:     #5a5650;
  --accent-blue:#4a9eff;
  --accent-teal:#2dd4bf;
  --danger:     #f87171;
  --success:    #34d399;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-gold:0 0 40px rgba(200,128,32,0.18);
  --shadow-card:0 8px 32px rgba(0,0,0,0.5);
  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif SC', Georgia, serif;
  background: var(--bg-void);
  color: var(--text-1);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-2); border-radius: 3px; }

a { color: var(--gold-1); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

code, pre, .mono { font-family: 'JetBrains Mono', monospace; }

/* ====== LAYOUT ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.nav-logo {
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em;
  background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--text-2); letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-1); background: rgba(240,192,96,0.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-points {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(240,192,96,0.1); border: 1px solid rgba(240,192,96,0.2);
  font-size: 0.82rem; color: var(--gold-1);
  font-family: 'JetBrains Mono', monospace;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; border: none; outline: none;
  transition: var(--transition); white-space: nowrap;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold-grad); color: #1a0e00;
  box-shadow: 0 4px 20px rgba(200,128,32,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,128,32,0.55); color: #0a0600; }
.btn-outline {
  background: transparent; color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold-1); color: var(--gold-1); background: rgba(240,192,96,0.06); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-1); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-xl { padding: 18px 48px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn-icon { padding: 10px; border-radius: 50%; }

/* ====== CARDS ====== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(240,192,96,0.2); box-shadow: var(--shadow-gold); }
.card-glass {
  background: rgba(18,18,31,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ====== FORMS ====== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.83rem; color: var(--text-2); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-1);
  font-size: 0.95rem; font-family: inherit;
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(240,192,96,0.12); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09890' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

/* ====== BADGE ====== */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-gold { background: rgba(240,192,96,0.15); color: var(--gold-1); border: 1px solid rgba(240,192,96,0.3); }
.badge-blue { background: rgba(74,158,255,0.12); color: var(--accent-blue); }
.badge-teal { background: rgba(45,212,191,0.12); color: var(--accent-teal); }
.badge-danger { background: rgba(248,113,113,0.12); color: var(--danger); }
.badge-success { background: rgba(52,211,153,0.12); color: var(--success); }

/* ====== HERO SECTION ====== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200,128,32,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(74,158,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(45,212,191,0.06) 0%, transparent 50%),
    var(--bg-void);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,192,96,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,192,96,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 800px; padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(240,192,96,0.08); border: 1px solid rgba(240,192,96,0.2);
  font-size: 0.78rem; color: var(--gold-1); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero-title span {
  background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem; color: var(--text-2); line-height: 1.8;
  max-width: 560px; margin: 0 auto 44px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s 0.3s ease both; }

/* ====== FEATURES SECTION ====== */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; }
.section-desc { font-size: 1.05rem; color: var(--text-2); max-width: 500px; margin: 16px auto 0; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  padding: 32px 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-grad); opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover { border-color: rgba(240,192,96,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-gold); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(240,192,96,0.1); border: 1px solid rgba(240,192,96,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.feature-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* ====== MODEL CARDS ====== */
.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.model-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 24px;
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}
.model-card.active, .model-card:hover {
  border-color: var(--gold-1); box-shadow: 0 0 30px rgba(240,192,96,0.15);
}
.model-card.active::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad);
}
.model-name { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.model-desc { font-size: 0.83rem; color: var(--text-2); margin-bottom: 14px; }
.model-price { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--gold-1); }

/* ====== GENERATE AREA ====== */
.generate-wrap { max-width: 900px; margin: 0 auto; }
.prompt-box {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.prompt-box:focus-within { border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(240,192,96,0.1), 0 20px 60px rgba(0,0,0,0.4); }
.prompt-textarea {
  width: 100%; min-height: 120px; padding: 24px 28px;
  background: transparent; border: none; outline: none;
  color: var(--text-1); font-size: 1rem; font-family: inherit;
  resize: none; line-height: 1.7;
}
.prompt-textarea::placeholder { color: var(--text-3); }
.prompt-actions {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--border);
  gap: 12px; flex-wrap: wrap;
}
.prompt-params { display: flex; align-items: .prompt-params { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.param-select {
  padding: 7px 12px; background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-2); font-size: 0.82rem;
  cursor: pointer; outline: none; font-family: inherit; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a09890' stroke-width='1.3' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px;
}
.param-select:focus { border-color: var(--gold-1); color: var(--text-1); }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-raised); aspect-ratio: 1;
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover { border-color: rgba(240,192,96,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(8,8,16,0.75);
  display: flex; align-items: flex-end; padding: 14px;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-meta { font-size: 0.77rem; color: var(--text-2); line-height: 1.5; }

/* SPINNER / LOADING */
.loading-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 48px 28px; text-align: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(240,192,96,0.15); border-top-color: var(--gold-1); animation: spin 0.9s linear infinite; margin: 0 auto 16px; }
.progress-bar-wrap { height: 4px; background: var(--bg-raised); border-radius: 2px; overflow: hidden; margin: 16px 0; }
.progress-bar { height: 100%; background: var(--gold-grad); border-radius: 2px; transition: width 0.4s ease; position: relative; overflow: hidden; }
.progress-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: shimmer 1.4s infinite; }

/* CHAT */
.chat-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; height: calc(100vh - 160px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 24px 0; display: flex; flex-direction: column; gap: 20px; }
.chat-msg { display: flex; gap: 14px; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.chat-avatar.ai { background: rgba(240,192,96,0.15); border: 1px solid rgba(240,192,96,0.3); }
.chat-avatar.user { background: rgba(74,158,255,0.15); border: 1px solid rgba(74,158,255,0.3); }
.chat-bubble { max-width: 75%; padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.93rem; line-height: 1.75; }
.chat-msg.ai .chat-bubble { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md); }
.chat-msg.user .chat-bubble { background: rgba(240,192,96,0.12); border: 1px solid rgba(240,192,96,0.2); border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md); }
.chat-input-wrap { display: flex; gap: 10px; padding: 16px 0; border-top: 1px solid var(--border); }
.chat-input { flex: 1; padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-1); font-size: 0.95rem; font-family: inherit; outline: none; transition: var(--transition); resize: none; }
.chat-input:focus { border-color: var(--gold-1); }

/* TABS */
.tabs { display: flex; gap: 4px; background: var(--bg-raised); border-radius: var(--radius-sm); padding: 4px; }
.tab-btn { flex: 1; padding: 9px 18px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: var(--text-2); background: transparent; border: none; cursor: pointer; transition: var(--transition); font-family: inherit; }
.tab-btn.active { background: var(--bg-card); color: var(--gold-1); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.pricing-card.hot { border-color: rgba(240,192,96,0.4); }
.pricing-card.hot::before { content: '热门'; position: absolute; top: 14px; right: -24px; background: var(--gold-grad); color: #1a0e00; font-size: 0.68rem; font-weight: 700; padding: 3px 30px; transform: rotate(45deg); }
.pricing-card:hover, .pricing-card.selected { border-color: var(--gold-1); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.pricing-amount { font-size: 2.2rem; font-weight: 700; color: var(--gold-1); font-family: 'JetBrains Mono', monospace; }
.pricing-amount span { font-size: 1rem; font-weight: 400; }
.pricing-points { font-size: 1rem; color: var(--text-1); margin: 8px 0 4px; font-weight: 600; }
.pricing-bonus { font-size: 0.78rem; color: var(--success); }
.pricing-name { font-size: 0.85rem; color: var(--text-2); margin-bottom: 16px; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; max-width: 480px; width: 100%; position: relative; transform: translateY(20px); transition: transform 0.25s ease; box-shadow: 0 40px 80px rgba(0,0,0,0.7); }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-raised); border: none; cursor: pointer; color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.modal-close:hover { background: var(--border); color: var(--text-1); }
.modal-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }

/* TABLE */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; padding: 12px 16px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); }
tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.88rem; }
tbody tr:hover td { background: rgba(255,255,255,0.02); }
tbody tr:last-child td { border-bottom: none; }

/* PAGE HEADER */
.page-header { padding: 48px 0 40px; margin-top: 64px; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 8px; }
.page-header p { color: var(--text-2); font-size: 1rem; }

/* SIDEBAR LAYOUT */
.sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: calc(100vh - 64px); }
.sidebar { background: var(--bg-deep); border-right: 1px solid var(--border); padding: 32px 16px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.sidebar-menu { list-style: none; }
.sidebar-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 0.88rem; margin-bottom: 2px; }
.sidebar-menu li a:hover, .sidebar-menu li a.active { background: rgba(240,192,96,0.08); color: var(--gold-1); }
.sidebar-menu li a svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-group-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); padding: 14px 14px 6px; }
.main-content { padding: 32px; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 20px; }
.stat-label { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-size: 1.9rem; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.stat-value.gold { color: var(--gold-1); }
.stat-change { font-size: 0.78rem; color: var(--text-3); margin-top: 4px; }

/* TOAST */
.toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column-reverse; gap: 10px; }
.toast { padding: 14px 20px; border-radius: var(--radius-sm); background: var(--bg-raised); border: 1px solid var(--border); color: var(--text-1); font-size: 0.88rem; box-shadow: 0 8px 32px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 10px; animation: slideInRight 0.3s ease; max-width: 340px; }
.toast.success { border-color: rgba(52,211,153,0.4); }
.toast.error { border-color: rgba(248,113,113,0.4); }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius-md); box-shadow: 0 0 80px rgba(0,0,0,0.8); }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: rgba(255,255,255,0.6); font-size: 2rem; cursor: pointer; background: none; border: none; transition: var(--transition); }
.lightbox-close:hover { color: #fff; }

/* UPLOAD */
.upload-area { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); position: relative; }
.upload-area:hover, .upload-area.drag-over { border-color: var(--gold-1); background: rgba(240,192,96,0.04); }
.upload-area input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2rem; margin-bottom: 10px; }
.upload-text { font-size: 0.88rem; color: var(--text-2); }
.upload-preview img { max-height: 120px; border-radius: var(--radius-sm); margin-top: 12px; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,192,96,0.4); } 50% { box-shadow: 0 0 0 8px rgba(240,192,96,0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }

/* MISC */
.divider { height: 1px; background: var(--border); margin: 28px 0; }
.divider-text { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider-text span { font-size: 0.78rem; color: var(--text-3); white-space: nowrap; }
.text-gold { color: var(--gold-1); }
.text-muted { color: var(--text-2); }
.fw-600 { font-weight: 600; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { padding: 20px 16px; }
  .hero-title { font-size: 2.4rem; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 24px; }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
}
