/* ==========================================================================
   FOTOWEB - PREMIUM DESIGN SYSTEM (Gustavo Seminario Lozada)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #08080a;
  --bg-secondary: #121216;
  --bg-tertiary: #191922;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(194, 168, 120, 0.3);
  
  --text-main: #f3f3f7;
  --text-muted: #9fa0aa;
  
  --accent: #d4af37; /* Acento Dorado Premium */
  --accent-glow: rgba(212, 175, 55, 0.35);
  --accent-light: #f7e7b4;
  
  --danger: #ff4a5a;
  --success: #10b981;
  --pending: #f59e0b;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Base resets & styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-user-select: none;
  user-select: none;
  overflow-x: hidden;
}

input, textarea, select {
  -webkit-user-select: text;
  user-select: text;
}

body.intro-playing {
  overflow: hidden;
}

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

/* Apertura: paisaje, disparo y revelado de la fotografía en papel. */
.camera-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #050507;
  overflow: hidden;
  animation: intro-exit .7s ease 4.45s forwards;
}

.intro-landscape {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.08), rgba(5,5,7,.48)),
    url('/img/IMG20240710160625-wm.jpg') center / cover no-repeat;
  transform: scale(1.07);
  filter: saturate(.92);
  animation: landscape-in 1.1s ease forwards, landscape-dim .6s ease 2.25s forwards;
}

.intro-camera {
  position: relative;
  width: 220px;
  z-index: 2;
  transform: translateY(25px) scale(.7);
  opacity: 0;
  animation: intro-camera-in .7s cubic-bezier(.2,.8,.2,1) .55s forwards,
             intro-click .2s ease 1.82s;
}

.intro-camera-top {
  width: 150px;
  height: 28px;
  margin: 0 auto;
  border: 1px solid #48484f;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(#303036, #1a1a1e);
}

.intro-camera-top span {
  position: absolute;
  top: -7px;
  right: 45px;
  width: 24px;
  height: 9px;
  border-radius: 5px 5px 0 0;
  background: var(--accent);
}

.intro-camera-body {
  position: relative;
  height: 145px;
  border: 1px solid #48484f;
  border-radius: 18px;
  background: linear-gradient(145deg, #29292f, #111114);
  box-shadow: 0 30px 70px #000;
}

.intro-camera-body b {
  position: absolute;
  right: 23px;
  top: 20px;
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: 2px;
}

.intro-lens {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #090a0d;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 35px rgba(212,175,55,.18);
}

.intro-lens i {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #10151d, #030405 16%, #223044 17% 32%, #050608 33% 49%, #1c2738 50% 65%, #040506 66% 82%, #202d40 83%);
  animation: iris-close .42s ease-in-out 1.48s forwards;
}

.intro-focus {
  position: absolute;
  width: min(420px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 50%;
  z-index: 1;
  animation: focus-ring 1.25s ease-out .5s both;
}

.intro-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: white;
  opacity: 0;
  animation: camera-flash .42s ease 1.92s;
}

.intro-print {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(310px, 72vw);
  padding: 12px 12px 34px;
  background: #f6f2e9;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0,0,0,.72);
  opacity: 0;
  transform: translate(-50%, -28%) rotate(-4deg) scale(.35);
  transform-origin: 50% 0;
  animation: print-photo 1.35s cubic-bezier(.18,.78,.24,1) 2.25s forwards,
             print-settle 1.1s ease 3.45s forwards;
}

.intro-print-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: url('/img/IMG20240710160625-wm.jpg') center / cover no-repeat;
}

.intro-print span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  color: #252329;
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

.camera-intro p {
  position: absolute;
  top: calc(50% + 125px);
  color: #c9c9cf;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: .68rem;
  z-index: 2;
  text-shadow: 0 2px 15px #000;
  animation: intro-caption .8s ease .65s both, caption-out .35s ease 2.15s forwards;
}

.camera-intro.intro-finished { pointer-events: none; }

@keyframes landscape-in { to { transform: scale(1); } }
@keyframes landscape-dim { to { filter: saturate(.65) brightness(.28); } }
@keyframes intro-camera-in { to { transform: translateY(-10px) scale(1); opacity: 1; } }
@keyframes intro-click { 50% { transform: translateY(-6px) scale(.98); } }
@keyframes iris-close { 50% { transform: scale(.18) rotate(70deg); } 100% { transform: scale(.82) rotate(125deg); } }
@keyframes focus-ring { from { transform: scale(1.45); opacity: 0; } 55% { opacity: 1; } to { transform: scale(.72); opacity: 0; } }
@keyframes camera-flash { 0%,100% { opacity: 0; } 20% { opacity: 1; } 55% { opacity: .72; } }
@keyframes intro-caption { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes caption-out { to { opacity: 0; } }
@keyframes print-photo {
  0% { opacity: 0; transform: translate(-50%, -35%) rotate(-4deg) scale(.35); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -2%) rotate(2deg) scale(.88); }
}
@keyframes print-settle {
  to { opacity: 1; transform: translate(-50%, -50%) rotate(-1deg) scale(1); }
}
@keyframes intro-exit { to { opacity: 0; visibility: hidden; } }


main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  min-height: 75vh;
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism & Glows)
   ========================================================================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(8, 8, 10, 0.8);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(8, 8, 10, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 14px 48px;
}

.brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.brand span {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.brand:hover {
  opacity: 0.9;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
}

.nav-links a::after {
  display: none;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: rgba(255,255,255,.055);
  border-color: var(--border-color);
}

.nav-links a.active {
  color: var(--accent);
  border-color: rgba(212,175,55,.28);
  box-shadow: inset 0 0 18px rgba(212,175,55,.06);
}

.btn-small {
  border: 1px solid var(--accent);
  padding: 11px 18px !important;
  border-radius: 12px !important;
  background: var(--accent);
  color: #08080a !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(212,175,55,.2);
}

.btn-small:hover {
  background: var(--accent-light) !important;
  color: #000 !important;
  box-shadow: 0 10px 28px var(--accent-glow);
  transform: translateY(-2px);
}

.inline-form {
  display: inline;
}

.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   HERO CARD SECTION
   ========================================================================== */
.hero-card {
  --mx: 50%;
  --my: 35%;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 520px;
  margin: 20px 0 60px;
  padding: 64px;
  background: linear-gradient(135deg, #0e0e12 0%, #060608 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.spotlight-sweep {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse 45% 22% at 30% 30%, rgba(255, 255, 255, 0.12), transparent 70%);
  filter: blur(50px);
  opacity: 0;
  transform: translateX(-10%) rotate(-10deg);
  animation: sweep-in 2s ease-out 0.2s forwards;
  pointer-events: none;
  z-index: 1;
}

@keyframes sweep-in {
  to { opacity: 1; transform: translateX(0) rotate(-10deg); }
}

.spotlight-mouse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 380px at var(--mx) var(--my), rgba(212, 175, 55, 0.15), transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-card.lit .spotlight-mouse {
  opacity: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.06);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.05);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 30%, #a6a6b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.hero-card .frase {
  color: #c5c5d0;
  max-width: 32rem;
  line-height: 1.7;
}

.frase {
  margin-top: 18px;
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.15rem;
  min-height: 3.5em;
  transition: opacity 0.3s ease;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 100px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-shimmer:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px var(--accent-glow);
}

.btn-shimmer:active {
  transform: translateY(-1px);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
  50%, 100% { left: 160%; }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
}

.btn-ghost:hover {
  border-color: var(--border-color-hover);
  background: rgba(212, 175, 55, 0.05);
  color: var(--accent);
}

/* --- Cámara 3D en CSS --- */
.hero-right { position: relative; z-index: 2; display: flex; justify-content: center; }
.camera-scene { perspective: 900px; padding: 20px 0 36px; }
.camera {
  position: relative;
  width: 300px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease-out;
  will-change: transform;
}

.camera-top {
  position: relative;
  height: 38px;
  margin: 0 26px;
  background: linear-gradient(to bottom, #2e2e33, #1c1c20);
  border-radius: 10px 10px 0 0;
  border: 1px solid #3a3a40;
  border-bottom: none;
}
.dial {
  position: absolute; top: 8px; left: 18px;
  width: 30px; height: 14px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, #45454c 0 3px, #2a2a30 3px 6px);
}
.viewfinder {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 14px; border-radius: 5px 5px 0 0;
  background: linear-gradient(to bottom, #34343a, #222226);
  border: 1px solid #3a3a40; border-bottom: none;
}
.shutter {
  position: absolute; top: -7px; right: 24px;
  width: 26px; height: 9px; border-radius: 4px 4px 0 0;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(212, 175, 55, .55);
}

.camera-body {
  position: relative;
  height: 200px;
  background: linear-gradient(145deg, #26262b, #141417);
  border-radius: 16px;
  border: 1px solid #3a3a40;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.flash {
  position: absolute; top: 18px; left: 26px;
  width: 34px; height: 12px; border-radius: 3px;
  background: linear-gradient(to bottom, #e9e2d2, #b0a98f);
  opacity: .85;
}
.brand-label {
  position: absolute; top: 16px; right: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: 3px;
  color: var(--accent);
}
.grip {
  position: absolute; top: 14px; bottom: 14px; right: 10px;
  width: 26px; border-radius: 8px;
  background: repeating-linear-gradient(180deg, #1d1d21 0 5px, #26262c 5px 10px);
}

.lens {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateZ(34px);
  width: 148px; height: 148px; border-radius: 50%;
  background: linear-gradient(145deg, #303036, #141416);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: center;
}
.lens-ring {
  width: 124px; height: 124px; border-radius: 50%;
  border: 3px solid var(--accent);
  background: #0c0d10;
  display: flex; align-items: center; justify-content: center;
}
.lens-glass {
  position: relative;
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #3d4f63 0%, #1b2433 38%, #07090d 75%);
  overflow: hidden;
}
.lens-iris {
  position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #5a4a8a33, #000 70%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.lens-reflex {
  position: absolute; top: 12%; left: 16%;
  width: 26%; height: 14%; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  filter: blur(3px);
  transform: rotate(-25deg);
}

.camera-shadow {
  width: 240px; height: 22px; margin: 18px auto 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 70%);
}

/* Flotación suave cuando no hay mouse (táctil) */
@keyframes camera-float {
  0%, 100% { transform: rotateX(4deg) rotateY(-8deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(8deg) translateY(-10px); }
}
.camera.floating { animation: camera-float 7s ease-in-out infinite; }

/* ==========================================================================
   MARQUEE ROTATOR
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.01);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 50s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   PORTFOLIO GRID & CARDS
   ========================================================================== */
.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  scroll-margin-top: 110px;
}

.gallery-head h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-head .count {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px;
  padding-bottom: 80px;
}

.card {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(212, 175, 55, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card:hover::before {
  opacity: 1;
}

.img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0d0d10;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.15, 0.75, 0.5, 1);
}

.card:hover .img-wrap img {
  transform: scale(1.06);
}

.img-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.8) 0%, transparent 50%);
  opacity: 0.6;
  transition: opacity 0.35s ease;
}

.card:hover .img-grad {
  opacity: 0.85;
}

.img-hint {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.card:hover .img-hint {
  opacity: 1;
  transform: translateY(0);
}

.card-info {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.card-info h3 {
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   ABOUT ME SECTION (Redesigned Grid & Columns)
   ========================================================================== */
.about-container {
  padding: 40px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-photo-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 1/1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.6) 0%, transparent 60%);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-serif);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-content-column h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-content-column .subtitle {
  color: var(--accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.bio-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-quotes-section {
  margin-top: 48px;
}

.about-quotes-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.frases-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.frases-list li {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.frases-list li:hover {
  transform: translateX(4px);
  background: var(--bg-tertiary);
  border-color: var(--border-color-hover);
  border-left-color: var(--accent-light);
}

.quote-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  opacity: 0.8;
}

.frases-list li span {
  color: var(--text-main);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ==========================================================================
   AUTHENTICATION PAGES (Login / Register)
   ========================================================================== */
.auth {
  max-width: 480px;
  margin: 40px auto 60px;
}

.auth-register {
  max-width: 980px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.register-intro {
  padding: 52px 44px;
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 24px;
  background: radial-gradient(circle at 15% 10%, rgba(212,175,55,.15), transparent 40%), #0e0e12;
}

.register-eyebrow,
.form-step {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.register-intro h1 {
  margin: 14px 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
}

.register-intro > p {
  color: var(--text-muted);
  line-height: 1.7;
}

.register-benefits {
  display: grid;
  gap: 22px;
  margin-top: 38px;
  list-style: none;
}

.register-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.register-benefits li > span,
.auth-register .input-group label span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #08080a;
  font-size: .78rem;
  font-weight: 800;
}

.register-benefits strong,
.register-benefits small {
  display: block;
}

.register-benefits small {
  margin-top: 3px;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-card {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(18, 18, 22, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-header h1,
.auth-header h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.auth-header h2 {
  margin-top: 5px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.auth-register .input-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-transform: none;
  letter-spacing: .2px;
  font-size: .95rem;
}

.auth-register .input-group label span {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  font-size: .7rem;
}

.input-group > small {
  color: #777984;
  font-size: .76rem;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 86px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: rgba(212,175,55,.1);
  color: var(--accent);
  font: 600 .76rem var(--font-sans);
  cursor: pointer;
}

.register-submit {
  min-height: 56px;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(212,175,55,.23);
}

.form-reassurance {
  margin-top: -10px;
  color: var(--text-muted);
  font-size: .75rem;
  text-align: center;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #0d0d11;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
  background: #111116;
}

.input-group.check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 6px;
}

.input-group.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.input-group.check label {
  margin-bottom: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  padding: 16px 28px;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.error {
  background: rgba(255, 74, 90, 0.1);
  border: 1px solid rgba(255, 74, 90, 0.25);
  color: var(--danger);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.msg, .msg-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--success);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.auth-footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.auth-footer a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ==========================================================================
   PHOTO PAGE & CHECKOUT WORKFLOW
   ========================================================================== */
.photo-page {
  padding: 20px 0 60px;
}

.photo-opening {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background: #050507;
  animation: photo-opening-exit .55s ease 1.25s forwards;
}

.photo-opening p {
  position: absolute;
  top: calc(50% + 105px);
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: opening-text .55s ease .15s both;
}

.aperture {
  position: relative;
  width: 145px;
  height: 145px;
  overflow: hidden;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #090a0d;
  box-shadow: 0 0 55px rgba(212,175,55,.25);
  animation: aperture-pop .9s cubic-bezier(.2,.8,.2,1) both;
}

.aperture span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 120px;
  background: linear-gradient(130deg, #30343d, #0d0f14);
  clip-path: polygon(0 0, 100% 22%, 62% 100%, 0 72%);
  transform-origin: 0 0;
}

.aperture span:nth-child(1) { transform: rotate(0deg) translate(-2px,-2px); }
.aperture span:nth-child(2) { transform: rotate(60deg) translate(-2px,-2px); }
.aperture span:nth-child(3) { transform: rotate(120deg) translate(-2px,-2px); }
.aperture span:nth-child(4) { transform: rotate(180deg) translate(-2px,-2px); }
.aperture span:nth-child(5) { transform: rotate(240deg) translate(-2px,-2px); }
.aperture span:nth-child(6) { transform: rotate(300deg) translate(-2px,-2px); }

.opening-focus {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 50%;
  animation: opening-focus 1s ease both;
}

@keyframes aperture-pop {
  0% { transform: scale(.25) rotate(-90deg); opacity: 0; }
  55% { transform: scale(1) rotate(0); opacity: 1; }
  100% { transform: scale(.65) rotate(55deg); opacity: .2; }
}

@keyframes opening-focus {
  from { transform: scale(1.5); opacity: 0; }
  40% { opacity: 1; }
  to { transform: scale(.55); opacity: 0; }
}

@keyframes opening-text {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes photo-opening-exit {
  to { opacity: 0; visibility: hidden; }
}

.photo-animate {
  opacity: 0;
  transform: translateY(26px);
  animation: photo-content-in .85s cubic-bezier(.16,.82,.35,1) var(--photo-delay, 0s) forwards;
}

@keyframes photo-content-in {
  to { opacity: 1; transform: none; }
}

.photo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.back-gallery,
.protected-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .8px;
}

.back-gallery {
  padding: 9px 13px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.back-gallery:hover {
  color: var(--accent);
  border-color: var(--border-color-hover);
  transform: translateX(-3px);
}

.protected-label {
  color: var(--text-muted);
  text-transform: uppercase;
}

.protected-label svg { color: var(--accent); }

.photo-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.img-wrap.big {
  position: sticky;
  top: 110px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,.2);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.78), 0 0 0 8px rgba(255,255,255,.018);
  aspect-ratio: auto;
}

.img-wrap.big img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(1.035);
  animation: artwork-reveal 1.25s cubic-bezier(.16,.82,.35,1) .3s forwards;
}

@keyframes artwork-reveal {
  to { transform: scale(1); }
}

.photo-sheen {
  position: absolute;
  inset: -40%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.13) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: artwork-sheen 1.15s ease 1s forwards;
  pointer-events: none;
}

@keyframes artwork-sheen {
  to { transform: translateX(70%); }
}

.frame-corner {
  position: absolute;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-color: var(--accent);
  opacity: .72;
  pointer-events: none;
}

.frame-corner.top-left { top: 12px; left: 12px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.frame-corner.top-right { top: 12px; right: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.frame-corner.bottom-left { bottom: 12px; left: 12px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.frame-corner.bottom-right { bottom: 12px; right: 12px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.photo-detail {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 12px;
}

.art-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.art-kicker i {
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: .45;
}

.detail-header .desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.art-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  background: rgba(255,255,255,.025);
  color: var(--text-muted);
  font-size: .73rem;
}

.art-meta svg { color: var(--accent); }

.price-badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.price-badge .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.pay-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.pay-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.pay-box .intro-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.payment-methods .method {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.payment-methods .method strong {
  color: var(--text-muted);
}

.payment-methods .method span {
  font-weight: 600;
  color: var(--text-main);
}

.account-number {
  font-family: monospace;
  font-size: 0.9rem;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.qr-container .qr {
  max-width: 220px;
  border-radius: 12px;
  border: 6px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.qr-container .qr-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.receipt-file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.receipt-file-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px var(--accent-glow);
}

.receipt-file-label input {
  display: none;
}

.or-separator {
  position: relative;
  text-align: center;
  margin: 4px 0;
}

.or-separator::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.or-separator span {
  position: relative;
  background: var(--bg-secondary);
  padding: 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Status cards */
.status-card {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.status-card.pending {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.25);
}

.status-card.approved {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.25);
}

.status-icon {
  margin-bottom: 16px;
  display: inline-flex;
  padding: 12px;
  border-radius: 50%;
}

.pending .status-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--pending);
}

.approved .status-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  border: none;
  padding-bottom: 0;
}

.status-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.download-btn {
  width: 100%;
  justify-content: center;
}

/* Locked state */
.pay-box.locked {
  align-items: center;
  text-align: center;
}

.lock-icon {
  color: var(--accent);
  opacity: 0.8;
}

.locked-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.locked-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 12px 16px;
}

.pay-box.info-only {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pay-box.info-only svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   ADMIN PANEL (Comprehensive Layout)
   ========================================================================== */
.admin {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.admin-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.admin-header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  text-transform: uppercase;
}

.admin-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.msg-banner {
  margin-top: 20px;
  margin-bottom: 0;
}

.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
}

.panel h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  letter-spacing: 0.5px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.current-qr-preview {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.current-qr-preview span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qr-thumbnail {
  max-width: 60px;
  border-radius: 4px;
  border: 2px solid #fff;
}

.note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
}

/* Tables in admin */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #0a0a0d;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.admin-table td strong {
  display: block;
  color: var(--text-main);
}

.admin-table td .subtext {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.receipt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.receipt-link:hover {
  text-decoration: underline;
  color: var(--accent-light);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--pending);
}

.badge-approved {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.badge-rejected {
  background: rgba(255, 74, 90, 0.15);
  color: var(--danger);
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.btn-xs {
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 6px;
}

.btn-approve {
  background: var(--success);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-approve:hover {
  background: #059669;
}

.btn-reject {
  background: rgba(255, 74, 90, 0.1);
  border: 1px solid rgba(255, 74, 90, 0.2);
  color: var(--danger);
  font-weight: 600;
  cursor: pointer;
}

.btn-reject:hover {
  background: var(--danger);
  color: #fff;
}

.empty-state {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 0;
}

/* Admin Photos Grid */
.admin-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.admin-photo-card {
  background: #0a0a0d;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.admin-photo-card .photo-preview {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.admin-photo-card .photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-card .photo-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-photo-card .photo-info strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-photo-card .photo-price {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.btn-danger-link {
  background: none;
  border: none;
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--font-sans);
}

.btn-danger-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: #060608;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer .brand {
  font-size: 1.2rem;
}

.footer-note {
  font-size: 0.75rem;
  opacity: 0.7;
  max-width: 500px;
}

/* Escudo anti-captura */
.shield {
  position: fixed;
  inset: 0;
  background: #08080a;
  color: #fff;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-family: var(--font-serif);
}

.shield-message {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 520px;
  padding: 32px;
}

.shield-message svg {
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.shield-message small {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: 1px;
}

.shield.on {
  display: flex;
  animation: shield-in .18s ease both;
}

@keyframes shield-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.hidden-content main {
  filter: blur(25px);
}

body.hidden-content .footer,
body.hidden-content .nav {
  filter: blur(25px);
}

/* ==========================================================================
   SCROLL REVEALS & RESPONSIVENESS
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.15, 0.85, 0.45, 1), transform 0.8s cubic-bezier(0.15, 0.85, 0.45, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 48px;
    gap: 40px;
    text-align: center;
  }
  
  .hero-card .frase {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-column {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
  }
  
  .nav.scrolled {
    padding: 12px 24px;
  }
  
  .nav-links {
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding: 9px 11px;
    font-size: .85rem;
  }

  .auth-register {
    grid-template-columns: 1fr;
  }

  .register-intro {
    padding: 34px 28px;
  }
  
  .photo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .img-wrap.big {
    position: relative;
    top: auto;
  }

  .photo-topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .protected-label {
    font-size: .66rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 24px 16px;
  }
  
  .hero-card {
    padding: 32px 20px;
  }
  
  .auth-card {
    padding: 24px;
  }
  
  .about-content-column h1 {
    font-size: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-opening {
    display: none;
  }

  .photo-animate,
  .img-wrap.big img {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .photo-sheen {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  .btn-shimmer::after {
    animation: none;
  }
  .img-wrap img {
    transition: none;
  }
}

@media print {
  body {
    display: none !important;
  }
}
