/* ══════════════════════════════════════════════════
   MAMBAQ — styles.css v3.0
   Museo de Arte Moderno de Barranquilla
   ══════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg: #04030A;
  --bg2: #08070F;
  --bg3: #0D0B17;
  --bg4: #13101E;
  --bg5: #1A1628;

  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: #8A6E30;
  --gold-ultra: rgba(201, 168, 76, 0.07);
  --gold-glow: 0 0 20px rgba(201, 168, 76, 0.4), 0 0 60px rgba(201, 168, 76, 0.15);

  --neon-cyan: #00F5FF;
  --neon-pink: #FF0099;
  --neon-green: #AAFF00;
  --neon-purple: #8B00FF;

  --ivory: #F0EBE0;
  --ivory-dim: #9E9A8E;
  --ivory-muted: #4A4740;

  --border: rgba(201, 168, 76, 0.10);
  --border2: rgba(201, 168, 76, 0.25);
  --surface: rgba(201, 168, 76, 0.04);

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-display: 'Unbounded', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --nav-h: 70px;
  --radius-sm: 3px;
  --radius-md: 8px;

  --card-shadow: 0 12px 48px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
  --modal-shadow: 0 32px 96px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 168, 76, 0.1);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-mono);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input {
  font-family: inherit;
  color: inherit;
}

svg {
  fill: currentColor;
  display: block;
}

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

/* ─── AMBIENT PARTICLES ─── */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════ */
/* SPLASH                                        */
/* ══════════════════════════════════════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.splash.exit {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(138, 43, 226, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(201, 168, 76, 0.07) 0%, transparent 60%),
    var(--bg);
}

.splash-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.15) 2px,
      rgba(0, 0, 0, 0.15) 4px);
  pointer-events: none;
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 32px;
}

.splash-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.2s forwards;
}

.logo-glitch {
  font-family: var(--font-display);
  font-size: clamp(42px, 13vw, 88px);
  font-weight: 900;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: var(--gold-glow);
  line-height: 1;
  position: relative;
  animation: glitchReveal 0.8s var(--ease-out) 0.5s both;
}

.logo-glitch::before,
.logo-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.logo-glitch::before {
  color: var(--neon-cyan);
  opacity: 0;
  animation: glitch1 3s steps(2) 2s infinite;
}

.logo-glitch::after {
  color: var(--neon-pink);
  opacity: 0;
  animation: glitch2 3s steps(2) 2.3s infinite;
}

@keyframes glitch1 {
  0%, 95%, 100% { opacity: 0; transform: none; }
  96% { opacity: 0.7; transform: translate(-3px, 1px) skewX(-4deg); }
  97% { opacity: 0; }
  98% { opacity: 0.5; transform: translate(3px, -1px); }
}

@keyframes glitch2 {
  0%, 95%, 100% { opacity: 0; transform: none; }
  96% { opacity: 0.6; transform: translate(3px, -1px) skewX(3deg); }
  97% { opacity: 0; }
}

@keyframes glitchReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.95); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.logo-underline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 8px;
  transform: scaleX(0);
  animation: expandLine 1s var(--ease-out) 1.2s forwards;
}

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

.splash-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(9px, 2.5vw, 12px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.7s forwards;
}

.splash-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 0.9s forwards;
}

.divider-line {
  display: block;
  height: 1px;
  width: 48px;
  background: var(--border2);
}

.divider-diamond {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold);
}

.splash-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-dim);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 1s forwards;
}

.splash-progress {
  width: 200px;
  height: 1px;
  background: rgba(201, 168, 76, 0.12);
  margin: 0 auto 14px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 1.1s forwards;
}

.splash-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  animation: progressFill 2.4s var(--ease-out) 1.2s forwards;
  box-shadow: 0 0 10px var(--gold);
}

@keyframes progressFill { to { width: 100%; } }

.splash-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ivory-muted);
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 1.2s forwards, blink 1.2s steps(1) 1.3s infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.splash-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--gold-dim);
  border-style: solid;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 1.4s forwards;
}

.splash-corner.tl { top: 20px; left: 20px; border-width: 1px 0 0 1px; }
.splash-corner.tr { top: 20px; right: 20px; border-width: 1px 1px 0 0; }
.splash-corner.bl { bottom: 20px; left: 20px; border-width: 0 0 1px 1px; }
.splash-corner.br { bottom: 20px; right: 20px; border-width: 0 1px 1px 0; }

/* ══════════════════════════════════════════════ */
/* APP LAYOUT                                    */
/* ══════════════════════════════════════════════ */
.app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.app.hidden { display: none; }

.top-header {
  display: flex;
  flex-shrink: 0;
  height: 58px;
  background: rgba(4, 3, 10, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
}

.header-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold);
}

.header-sep { color: var(--gold-dim); margin: 0 12px; font-size: 12px; }

.header-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ivory-muted);
  text-transform: uppercase;
}

.header-left { display: flex; align-items: center; }

.header-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-dim);
  letter-spacing: 2px;
  border: 1px solid var(--border2);
  padding: 4px 10px;
}

@media (max-width: 480px) {
  .top-header { padding: 0 16px; }
  .header-tagline, .header-sep { display: none; }
}

/* NAV BAR */
.nav-bar {
  flex-shrink: 0;
  height: var(--nav-h);
  background: rgba(4, 3, 10, 0.97);
  backdrop-filter: blur(28px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  order: 2;
  z-index: 100;
  position: relative;
}

.nav-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-dim) 30%, var(--gold) 50%, var(--gold-dim) 70%, transparent 95%);
  animation: navGlowPulse 3s ease-in-out infinite;
}

@keyframes navGlowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; box-shadow: 0 0 16px var(--gold); }
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ivory-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.nav-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
  box-shadow: 0 0 12px var(--gold);
}

.nav-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-btn svg { width: 20px; height: 20px; }

.nav-btn.active { color: var(--gold); }

.nav-btn.active .nav-icon {
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

.nav-btn.active::after { width: 40px; }
.nav-btn:active { transform: scale(0.93); }

/* SECTIONS WRAPPER */
.sections-wrapper {
  flex: 1;
  order: 1;
  position: relative;
  overflow: hidden;
}

.section {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 16px 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

.section::-webkit-scrollbar { width: 3px; }
.section::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.section.active {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.section-header { margin-bottom: 24px; padding-top: 4px; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ivory-dim);
  line-height: 1.6;
  max-width: 360px;
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════════ */
/* STAGE                                         */
/* ══════════════════════════════════════════════ */
.stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 18px;
  aspect-ratio: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: default;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.stage:hover {
  border-color: var(--border2);
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.08);
}

#mainCanvas {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.stage-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.stage-placeholder.hidden { display: none; }

.placeholder-frame {
  position: relative;
  width: 75%; height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--gold-dim);
  border-style: solid;
  animation: cornerPulse 2.5s ease-in-out infinite;
}

.placeholder-corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; animation-delay: 0s; }
.placeholder-corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; animation-delay: 0.2s; }
.placeholder-corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; animation-delay: 0.4s; }
.placeholder-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; animation-delay: 0.6s; }

@keyframes cornerPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px var(--gold)); }
}

.placeholder-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.placeholder-icon { width: 36px; height: 36px; color: var(--ivory-muted); opacity: 0.5; }

.placeholder-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.placeholder-text { font-family: var(--font-mono); font-size: 12px; color: var(--ivory-dim); letter-spacing: 0.5px; }
.placeholder-sub { font-family: var(--font-mono); font-size: 10px; color: var(--ivory-muted); letter-spacing: 2px; }

.stage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.stage-overlay.hidden { display: none; }

.processing-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.processing-ring {
  width: 48px; height: 48px;
  border: 2px solid rgba(201, 168, 76, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
}

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

.processing-text { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 2px; }

.processing-bar { width: 140px; height: 1px; background: rgba(201, 168, 76, 0.12); overflow: hidden; }

.processing-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  transition: width 0.3s;
  box-shadow: 0 0 8px var(--gold);
}

/* UPLOAD STRIP */
.upload-strip {
  display: flex;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto 18px;
}

.upload-btn {
  flex: 1;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ivory-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
  text-transform: uppercase;
}

.upload-btn svg { width: 18px; height: 18px; }

.upload-btn:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: var(--gold-ultra);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

/* SETTINGS PANEL */
.settings-panel {
  max-width: 380px;
  margin: 0 auto 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.settings-panel.visible { display: flex; opacity: 1; transform: none; }

.settings-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-title-icon { color: var(--gold); font-size: 12px; }

.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 400px) { .effects-grid { grid-template-columns: repeat(5, 1fr); } }

.artistic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.artistic-card {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg4);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.artistic-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.artistic-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.25), inset 0 0 20px rgba(201, 168, 76, 0.04);
}

.artistic-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.25), inset 0 0 20px rgba(201, 168, 76, 0.04);
}

.artistic-preview {
  width: 100%;
  aspect-ratio: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}

.ap-label { position: relative; z-index: 2; font-size: 26px; opacity: 0.8; text-shadow: 0 0 20px currentColor; }
.ap-original { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: var(--ivory-dim); }
.ap-pixel { background: linear-gradient(135deg, #0d0d1a 0%, #1a0a33 50%, #2d1b69 100%); color: var(--gold); image-rendering: pixelated; }

.ap-pixel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(201, 168, 76, 0.07) 6px, rgba(201, 168, 76, 0.07) 7px),
    repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(201, 168, 76, 0.07) 6px, rgba(201, 168, 76, 0.07) 7px);
}



.ap-paint { background: linear-gradient(135deg, #1a0a00, #4a2800, #8B4513, #D2691E); color: #D2691E; }

.ap-paint::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(210, 105, 30, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 30%, rgba(139, 69, 19, 0.3) 0%, transparent 60%);
  filter: blur(4px);
}

.artistic-card-info {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.artistic-card-name { font-family: var(--font-mono); font-size: 11px; color: var(--ivory); letter-spacing: 0.5px; }
.artistic-card-name .check { display: none; }

.artistic-card:has(input:checked) .artistic-card-name::after,
.artistic-card.selected .artistic-card-name::after { content: ' ✓'; color: var(--gold); }

.artistic-card-desc { font-family: var(--font-mono); font-size: 9px; color: var(--ivory-muted); letter-spacing: 0.3px; }

.color-preview {
  position: absolute; inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
  pointer-events: none;
}

.color-picker-wrap:hover .color-preview { border-color: var(--border2); }

.duo-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.duo-preset-label { font-family: var(--font-mono); font-size: 9px; color: var(--ivory-muted); letter-spacing: 1px; }

.duo-preset {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.duo-preset:hover { border-color: var(--gold); transform: scale(1.15); box-shadow: 0 0 10px rgba(201, 168, 76, 0.4); }

/* ACTION STRIP */
.action-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
}

.btn-secondary {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-secondary svg { width: 16px; height: 16px; }
.btn-secondary:hover { background: var(--gold-ultra); box-shadow: var(--gold-glow); }
.btn-secondary:active { transform: scale(0.97); }

.btn-primary {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold), var(--gold-light));
  color: #0D0A00;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 60%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary svg { width: 16px; height: 16px; }
.btn-primary:hover { box-shadow: var(--gold-glow); }
.btn-primary:active { transform: scale(0.97); filter: brightness(0.9); }

/* ══════════════════════════════════════════════ */
/* MUSEO — CAROUSEL                              */
/* ══════════════════════════════════════════════ */
.carousel-section {
  margin-bottom: 32px;
  margin-left: -16px;
  margin-right: -16px;
}

.carousel-label { padding: 0 16px; margin-bottom: 14px; }

.carousel-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid var(--border2);
  background: var(--gold-ultra);
}

.carousel-track-wrap { position: relative; overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.carousel-item {
  flex-shrink: 0;
  width: 72vw;
  max-width: 300px;
  margin: 0 8px;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg3);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  transform-style: preserve-3d;
}

.carousel-item:first-child { margin-left: 16px; }
.carousel-item:last-child { margin-right: 16px; }

.carousel-item-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: brightness(0.88);
  transition: filter 0.35s, transform 0.5s;
}

.carousel-item:hover .carousel-item-img { filter: brightness(1.05); transform: scale(1.03); }

.carousel-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 3, 10, 0.9) 0%, rgba(4, 3, 10, 0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.carousel-item-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.carousel-item-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ivory); line-height: 1.2; margin-bottom: 2px; }
.carousel-item-author { font-family: var(--font-mono); font-size: 10px; color: var(--ivory-dim); letter-spacing: 0.5px; }
.carousel-item-date { font-family: var(--font-mono); font-size: 9px; color: var(--ivory-muted); margin-top: 4px; letter-spacing: 1px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(4, 3, 10, 0.8);
  border: 1px solid var(--border2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { background: rgba(201, 168, 76, 0.15); box-shadow: var(--gold-glow); transform: translateY(-50%) scale(1.1); }
.carousel-arrow.left { left: 8px; }
.carousel-arrow.right { right: 8px; }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; padding: 0 16px; }

.carousel-dot {
  width: 18px; height: 2px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.2s, width 0.3s, box-shadow 0.2s;
  cursor: pointer;
}

.carousel-dot.active { background: var(--gold); width: 30px; box-shadow: 0 0 8px var(--gold); }

/* ══════════════════════════════════════════════ */
/* GALLERY GRID                                  */
/* ══════════════════════════════════════════════ */
.collection-section { padding: 0 0 24px; }

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

.collection-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ivory); letter-spacing: 0.5px; }

.collection-filters { display: flex; gap: 8px; }

.filter-chip {
  height: 28px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.filter-chip.active { color: var(--gold); border-color: var(--border2); background: var(--gold-ultra); }

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

.gallery-loading {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 0;
  color: var(--ivory-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
}

.loading-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinRing 1s linear infinite;
}

.gallery-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  animation: cardReveal 0.5s var(--ease-out) forwards;
  animation-delay: var(--card-delay, 0s);
  transition: border-color 0.3s, box-shadow 0.3s;
}

@keyframes cardReveal { to { opacity: 1; transform: none; } }

.gallery-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 0.5s var(--ease-out), filter 0.3s;
  filter: brightness(0.9);
}

.gallery-card:hover { border-color: var(--border2); box-shadow: 0 0 24px rgba(201, 168, 76, 0.15); }
.gallery-card:hover .gallery-card-img { transform: scale(1.07); filter: brightness(1.05); }

.gallery-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 10px 10px;
  background: linear-gradient(transparent, rgba(4, 3, 10, 0.9));
  transform: translateY(4px);
  transition: transform 0.3s;
}

.gallery-card:hover .gallery-card-info { transform: none; }

.gallery-card-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.gallery-card-author { font-family: var(--font-mono); font-size: 9px; color: var(--gold-dim); margin-top: 2px; letter-spacing: 0.5px; }

/* CARD STATS (likes + vistas en la card) */
.gallery-card-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ivory-muted);
  letter-spacing: 0.5px;
}

.card-stat svg { width: 10px; height: 10px; flex-shrink: 0; }
.card-stat.likes { color: rgba(255, 80, 120, 0.7); }
.card-stat.vistas { color: var(--ivory-muted); }

.gallery-card-num {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ivory-muted);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 5px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state.hidden { display: none; }

.empty-frame {
  width: 60px; height: 72px;
  border: 1px solid var(--border2);
  margin-bottom: 8px;
  position: relative;
}

.empty-frame::after { content: ''; position: absolute; inset: 6px; border: 1px solid var(--border); }
.empty-title { font-family: var(--font-serif); font-size: 18px; color: var(--ivory-dim); }
.empty-sub { font-family: var(--font-mono); font-size: 10px; color: var(--ivory-muted); letter-spacing: 1.5px; }

.museo-header { position: relative; display: flex; flex-direction: column; }

.refresh-btn {
  position: absolute;
  top: 0; right: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s, transform 0.3s;
}

.refresh-btn svg { width: 18px; height: 18px; }
.refresh-btn:hover { color: var(--gold); border-color: var(--border2); transform: rotate(90deg); }

/* ══════════════════════════════════════════════ */
/* SOBRE                                         */
/* ══════════════════════════════════════════════ */
.about-hero {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-quote { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ivory); line-height: 1.75; }

.about-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-dim);
  letter-spacing: 2px;
  margin-top: 12px;
}

.about-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }

.about-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.2s;
  transition-delay: calc(var(--i, 0) * 0.08s);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.about-card:hover::before { opacity: 1; }
.about-card.visible { opacity: 1; transform: none; }
.about-card:hover { border-color: var(--border2); }

.about-card-num { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 2px; }
.about-card h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ivory); }
.about-card p { font-family: var(--font-mono); font-size: 11px; color: var(--ivory-dim); line-height: 1.7; letter-spacing: 0.3px; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.stat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover { border-color: var(--border2); box-shadow: 0 0 20px rgba(201, 168, 76, 0.08); }

.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--gold); text-shadow: var(--gold-glow); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 8px; color: var(--ivory-muted); letter-spacing: 1px; text-transform: uppercase; text-align: center; line-height: 1.5; }

/* ══════════════════════════════════════════════ */
/* MODALES                                       */
/* ══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s;
}

.modal-overlay.hidden { display: none; }
.modal-overlay.fade-out { opacity: 0; pointer-events: none; }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: rgba(4, 3, 10, 0.8);
  color: var(--ivory-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }

.artwork-modal {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--modal-shadow);
  animation: modalIn 0.45s var(--ease-out);
}

@keyframes modalIn {
  from { transform: scale(0.9) translateY(24px); opacity: 0; filter: blur(4px); }
  to { transform: none; opacity: 1; filter: none; }
}

.artwork-modal-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg3);
  overflow: hidden;
}

.artwork-modal-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.artwork-modal-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.06) 3px, rgba(0, 0, 0, 0.06) 4px);
}

.artwork-modal-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
}

.artwork-modal-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 3px; color: var(--gold-dim); margin-bottom: 2px; }
.artwork-modal-title { font-family: var(--font-serif); font-size: 23px; font-weight: 600; color: var(--ivory); line-height: 1.2; }

.artwork-modal-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 4px; }
.artwork-modal-author { font-family: var(--font-mono); font-size: 11px; color: var(--gold); }
.artwork-modal-sep { color: var(--ivory-muted); }
.artwork-modal-date { font-family: var(--font-mono); font-size: 10px; color: var(--ivory-muted); }

.artwork-modal-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ivory-muted);
  letter-spacing: 1.5px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* MODAL STATS ROW (likes + vistas) */
.modal-stats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.modal-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 80, 120, 0.25);
  border-radius: 20px;
  background: rgba(255, 80, 120, 0.05);
  color: rgba(255, 120, 150, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
}

.modal-like-btn svg { width: 14px; height: 14px; }

.modal-like-btn:hover {
  background: rgba(255, 80, 120, 0.15);
  border-color: rgba(255, 80, 120, 0.5);
  color: rgb(255, 100, 130);
}

.modal-like-btn:active { transform: scale(0.93); }

.modal-like-btn.liked {
  background: rgba(255, 80, 120, 0.2);
  border-color: rgba(255, 80, 120, 0.6);
  color: rgb(255, 100, 130);
}

.modal-views-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ivory-muted);
  letter-spacing: 0.5px;
}

/* ── ZOOM CONTROLS ── */
.zoom-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 3, 10, 0.85);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 5px 10px;
  backdrop-filter: blur(10px);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.25s;
}

.artwork-modal-img:hover .zoom-controls {
  opacity: 1;
}

.zoom-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ivory-dim);
  transition: color 0.2s, background 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
}

.zoom-btn svg {
  width: 16px;
  height: 16px;
}

.zoom-btn:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
}

.zoom-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.zoom-btn.zoom-reset {
  color: var(--ivory-muted);
}

.zoom-level {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ivory-dim);
  letter-spacing: 1px;
  min-width: 36px;
  text-align: center;
}

.artwork-modal-img img {
  transition: transform 0.3s ease;
}

.modal-views-badge svg { width: 13px; height: 13px; }

/* Save modal */
.save-modal {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--modal-shadow);
  animation: modalIn 0.45s var(--ease-out);
}

.save-modal-header { text-align: center; }
.save-modal-eyebrow { font-family: var(--font-mono); font-size: 9px; letter-spacing: 3px; color: var(--gold-dim); text-transform: uppercase; margin-bottom: 6px; }
.save-modal-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ivory); }

.save-preview-wrap { display: flex; justify-content: center; }

.save-preview-frame {
  position: relative;
  width: 130px; height: 130px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.save-preview-corner {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--gold-dim);
  border-style: solid;
}

.save-preview-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.save-preview-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.save-preview-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.save-preview-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

#savePreviewCanvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

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

.form-group label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dim); }

.form-group input {
  height: 46px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08); }
.form-group input::placeholder { color: var(--ivory-muted); }

.btn-publish {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold), var(--gold-light));
  color: #0D0A00;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-publish::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 60%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-publish:hover::after { transform: translateX(100%); }
.btn-publish svg { width: 18px; height: 18px; }
.btn-publish:disabled { opacity: 0.6; pointer-events: none; }
.btn-publish:hover { box-shadow: var(--gold-glow); }
.btn-publish:active { transform: scale(0.98); }

/* ══════════════════════════════════════════════ */
/* TOASTS                                        */
/* ══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ivory-dim);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  animation: toastIn 0.35s var(--ease-out), toastOut 0.35s var(--ease-in-out) 2.5s forwards;
  max-width: 86vw;
}

.toast.success { border-color: rgba(170, 255, 0, 0.3); color: #aaff00; }
.toast.error { border-color: rgba(255, 0, 100, 0.3); color: #ff6b6b; }
.toast.info { border-color: var(--border2); color: var(--gold); }

@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateY(-8px); opacity: 0; } }

/* ══════════════════════════════════════════════ */
/* RESPONSIVE                                    */
/* ══════════════════════════════════════════════ */
@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .stage { max-width: 440px; }
  .action-strip, .upload-strip, .settings-panel { max-width: 440px; }
  .carousel-item { width: 45vw; max-width: 280px; }
  .effects-grid { grid-template-columns: repeat(5, 1fr); }
  .artistic-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 28px 32px 40px; }
}

@media (hover: hover) {
  .upload-btn:hover { border-color: var(--gold-dim); color: var(--gold); background: var(--gold-ultra); }
  .carousel-item:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 168, 76, 0.12); transform: translateY(-3px); }
}