:root {
  /* Los Moñas - Premium Design System */
  --primary: hsl(180, 100%, 20%);
  --primary-glow: hsla(180, 100%, 20%, 0.3);
  --secondary: hsl(27, 100%, 31%);
  --accent: hsl(160, 100%, 35%);
  --background: #fafafa;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-border: rgba(255, 255, 255, 0.4);
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --glass: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.1);
  --shadow-strong: 0 20px 60px -10px rgba(0,0,0,0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.card-premium {
  background: white;
  border-radius: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

/* Original Card Style */
.card-monas {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #feebc8; /* orange-100 */
  transition: all 0.3s ease;
}

.card-monas:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 3D Scene Container */
#spline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Animations */
.screen {
  display: none;
  animation: screen-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 10;
}

.screen.active {
  display: block;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Custom Scroll */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Navigation Styling */
.nav-item {
  transition: all 0.3s ease;
  position: relative;
}

.nav-item.active {
  color: var(--primary);
  transform: translateY(-4px);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

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

/* Hero Section Enhancement */
.hero-content {
  position: relative;
  z-index: 20;
  padding-top: 120px;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.9;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Smooth Image Display */
.img-reveal {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal:hover img {
  transform: scale(1.1);
}

.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Sections helpers */
.section-premium {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(1.2) brightness(0.6) contrast(1.1);
  opacity: 0.45;
  transition: transform 3s ease;
}

.section-premium:hover .photo-bg img {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.9) 100%);
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(20, 184, 166, 0.15) 0, transparent 50%), 
    radial-gradient(at 50% 0%, rgba(13, 148, 136, 0.1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, rgba(20, 184, 166, 0.15) 0, transparent 50%);
  filter: blur(80px);
  z-index: 0;
  animation: mesh-drift 10s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  from { transform: scale(1) translate(0,0); }
  to { transform: scale(1.1) translate(2%, 2%); }
}

.group-frame {
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
  background: #f8fafc;
}

.group-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.sub-title {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

.list-premium {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list-item-premium {
  padding: 2rem;
  background: white;
  border-radius: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.list-item-premium:hover {
  transform: translateX(10px);
  border-color: var(--primary);
}

/* Protagonistas Grid */
.protagonistas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .protagonistas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .protagonistas-grid { grid-template-columns: 1fr; }
}

.card-mona-full {
  background: white;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-mona-full:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}

.mona-avatar-xl {
  width: 70px;
  height: 70px;
  border-radius: 1.5rem;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid white;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
