/* ==========================================================================
   P091 OLINDIA DOUBLE DECK TRAIN — HIGH-TECH FUTURISTIC RAIL STYLESHEET
   Design System: Deep Midnight (#070b14), Cyber Steel (#1a2333), 
   Olindia Gold (#d4af37), Indian Saffron (#ff9933), Emerald (#138808), Neon Cyan (#00f0ff)
   ========================================================================== */

:root {
  --color-bg-deep: #060911;
  --color-bg-surface: #0b1120;
  --color-bg-card: rgba(16, 24, 40, 0.75);
  --color-bg-card-hover: rgba(24, 36, 60, 0.88);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-glow: rgba(0, 240, 255, 0.35);

  --color-steel-light: #e2e8f0;
  --color-steel-dim: #94a3b8;
  --color-white: #ffffff;

  --color-gold: #d4af37;
  --color-gold-glow: rgba(212, 175, 55, 0.35);
  
  /* Indian Accents */
  --color-saffron: #ff9933;
  --color-saffron-glow: rgba(255, 153, 51, 0.35);
  --color-india-green: #138808;
  --color-cyan: #00e5ff;
  --color-cyan-glow: rgba(0, 229, 255, 0.3);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-neon: 0 0 25px rgba(0, 229, 255, 0.25);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-deep);
  color: var(--color-steel-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(0, 229, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 153, 51, 0.04) 0%, transparent 45%),
    linear-gradient(to bottom, #060911 0%, #080d19 100%);
  background-attachment: fixed;
}

/* Railway Grid Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

img, picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PROGRESS RAIL TRACK
   ========================================================================== */
.rail-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1100;
}

.rail-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-saffron) 0%, var(--color-gold) 50%, var(--color-cyan) 100%);
  box-shadow: 0 0 12px var(--color-cyan);
  transition: width 0.1s ease-out;
  position: relative;
}

.rail-train-icon {
  position: absolute;
  right: -8px;
  top: -8px;
  font-size: 14px;
  filter: drop-shadow(0 0 6px var(--color-gold));
  transform: scaleX(-1);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 9, 17, 0.95);
  border-bottom-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--color-saffron), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-mark {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--color-white);
  line-height: 1;
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-steel-dim);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-gold));
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3px 6px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-steel-dim);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
  background: var(--color-gold);
  color: #060911;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #b3822e 100%);
  color: #060911;
  border-color: var(--color-gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5b85c 0%, var(--color-gold) 100%);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--color-cyan);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.2);
}

.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 20px;
}

.tag-saffron {
  background: rgba(255, 153, 51, 0.1);
  border-color: rgba(255, 153, 51, 0.35);
  color: var(--color-saffron);
}

/* ==========================================================================
   1. CINEMATIC HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  animation: heroPulse 24s infinite alternate ease-in-out;
}

@keyframes heroPulse {
  0% { transform: scale(1.02) translateY(0); }
  100% { transform: scale(1.08) translateY(-10px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 9, 17, 0.35) 0%,
    rgba(6, 9, 17, 0.15) 30%,
    rgba(6, 9, 17, 0.75) 75%,
    rgba(6, 9, 17, 1) 100%
  );
}

/* Animated Light Rails along bottom */
.hero-rail-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg-deep), transparent);
  overflow: hidden;
  z-index: 2;
}

.hero-rail-line {
  position: absolute;
  bottom: 12px;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  animation: railLaser 4s infinite linear;
}

.hero-rail-line:nth-child(2) {
  bottom: 24px;
  animation-delay: 2s;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

@keyframes railLaser {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 20%, var(--color-gold) 70%, var(--color-saffron) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: #dbeafe;
  margin-bottom: 34px;
  max-width: 820px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-badge-credit {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--color-steel-dim);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  margin-top: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-white), var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-steel-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--color-steel-dim);
  max-width: 780px;
  line-height: 1.7;
  margin-bottom: 50px;
}

/* ==========================================================================
   2. INDIA RAILWAY CHALLENGE & MAP
   ========================================================================== */
.india-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.india-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.india-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-saffron), var(--color-gold), var(--color-india-green));
}

.india-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-saffron);
}

.metric-txt {
  font-size: 0.85rem;
  color: var(--color-steel-dim);
  margin-top: 4px;
}

.map-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.corridor-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.corridor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.corridor-item:hover {
  border-color: var(--color-cyan);
  background: rgba(0, 229, 255, 0.06);
  transform: translateX(4px);
}

.corridor-route {
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.corridor-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-gold);
}

/* ==========================================================================
   3. GROK vs BLENDER INTERACTIVE SLIDER
   ========================================================================== */
.comparison-wrap {
  margin: 60px 0;
}

.comparison-slider-box {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  user-select: none;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-img-before {
  z-index: 1;
}

.comparison-img-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid var(--color-cyan);
  box-shadow: 4px 0 20px rgba(0, 229, 255, 0.5);
}

.comparison-img-after-wrap .comparison-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100%; /* Fix aspect sync */
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--color-bg-deep);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  cursor: ew-resize;
  box-shadow: 0 0 20px var(--color-cyan-glow);
  pointer-events: none;
}

.comparison-badge {
  position: absolute;
  bottom: 24px;
  padding: 8px 18px;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 5;
}

.comparison-badge.left {
  left: 24px;
  color: var(--color-cyan);
  border-color: rgba(0, 229, 255, 0.4);
}

.comparison-badge.right {
  right: 24px;
  color: var(--color-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   4. PASSENGER FLOW & SPLIT-LEVEL DECK
   ========================================================================== */
.deck-flow-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}

.deck-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.deck-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}

.deck-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.deck-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.deck-upper .deck-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold);
}

.deck-lower .deck-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--color-cyan);
}

.deck-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}

/* ==========================================================================
   5. ANTIGRAVITY TECHNICAL SHOWCASE
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.tech-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tech-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0d121c;
}

.tech-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tech-card:hover .tech-img {
  transform: scale(1.05);
}

.tech-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tech-category {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tech-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.tech-card-desc {
  font-size: 0.92rem;
  color: var(--color-steel-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   6. FILTERABLE CINEMATIC & TECHNICAL GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-steel-light);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-cyan);
  color: #060911;
  border-color: var(--color-cyan);
  box-shadow: 0 0 16px var(--color-cyan-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #0d121c;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--color-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.gallery-badge-tag.grok {
  background: rgba(255, 153, 51, 0.25);
  border: 1px solid rgba(255, 153, 51, 0.6);
  color: #ffb86c;
}

.gallery-badge-tag.antigravity {
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: #7df9ff;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(to top, rgba(6, 9, 17, 0.95), transparent);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 600;
  transform: translateY(10px);
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   7. TECHNICAL PARAMETERS & SPECS TABLE
   ========================================================================== */
.specs-table-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.specs-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 16px 24px;
  text-align: left;
}

.specs-table th {
  background: rgba(0, 229, 255, 0.08);
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border);
}

.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.specs-table tr:hover {
  background: rgba(0, 229, 255, 0.04);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-white);
  width: 38%;
}

.specs-table td:last-child {
  color: var(--color-steel-dim);
}

/* ==========================================================================
   8. AUTHOR & DISCLAIMER
   ========================================================================== */
.author-box {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.8) 0%, rgba(20, 32, 56, 0.8) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
}

.author-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 25px var(--color-gold-glow);
}

.author-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.author-role {
  font-size: 0.95rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.author-bio {
  color: var(--color-steel-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.disclaimer-box {
  margin-top: 30px;
  padding: 18px 24px;
  background: rgba(255, 153, 51, 0.06);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #fed7aa;
  line-height: 1.6;
}

/* ==========================================================================
   9. MODAL LIGHTBOX
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 9, 17, 0.94);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.modal-caption {
  margin-top: 16px;
  color: var(--color-steel-light);
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-cyan);
  transform: scale(1.1);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-steel-dim);
  line-height: 1.6;
  max-width: 400px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-steel-dim);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-steel-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .india-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-avatar {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 76px);
    overflow-y: auto;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 30px 24px 60px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    gap: 16px;
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .deck-diagram {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .comparison-slider-box {
    height: 380px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   VIDEO SHOWCASE: OLINDIA IN MOTION (YOUTUBE FACADE EMBED)
   ========================================================================== */
.video-section {
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.4) 0%, rgba(11, 17, 32, 0.8) 100%);
  position: relative;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 36px;
  align-items: start;
  margin-top: 40px;
}

.video-main-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.video-main-card:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-facade:hover .video-facade-img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 3px solid rgba(255, 255, 255, 0.8);
  padding-left: 5px;
}

.video-facade:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.85);
}

.video-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.video-body {
  padding: 28px;
}

.video-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.video-desc {
  color: var(--color-steel-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.video-side-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-side-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.video-side-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-side-card .video-facade {
  aspect-ratio: 16 / 9;
}

.video-side-card .video-play-btn {
  width: 54px;
  height: 54px;
  font-size: 20px;
}

.video-channel-cta {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12) 0%, rgba(20, 32, 56, 0.6) 100%);
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.video-channel-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.video-channel-icon {
  font-size: 2.2rem;
  color: #ff0000;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TOP CINEMATIC VIDEO PRESENTATION (ESTRICTO 16:9 RESPONSIVE SIN DISTORSIÓN)
   ========================================================================== */
.top-video-banner {
  padding-top: 96px;
  padding-bottom: 32px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 229, 255, 0.08) 0%, rgba(5, 7, 13, 0.98) 70%), #05070d;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  position: relative;
  z-index: 5;
  width: 100%;
}

.top-video-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.top-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.top-video-title-group {
  display: flex;
  flex-direction: column;
}

.top-video-official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff5555;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.top-video-official-badge .yt-dot {
  width: 8px;
  height: 8px;
  background: #ff3333;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3333;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-video-title {
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
}

.top-video-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.video-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-steel-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.video-tab-btn.active, .video-tab-btn:hover {
  background: var(--color-cyan);
  color: #060911;
  border-color: var(--color-cyan);
  box-shadow: 0 0 14px var(--color-cyan-glow);
}

/* TABLET MOCKUP CHASSIS (TOTALMENTE FLUIDO Y AJUSTADO A 16:9) */
.tablet-mockup-container {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 255, 0.15);
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.tablet-frame {
  background: linear-gradient(145deg, #1b212f 0%, #0d121c 100%);
  padding: 12px 14px 10px 14px;
  border-radius: 28px 28px 0 0;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid #080b12;
  box-sizing: border-box;
}

.tablet-bezel-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 14px;
  margin-bottom: 6px;
}

.tablet-camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00e5ff 0%, #08111e 60%, #020408 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.tablet-sensor {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #080d17;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* PANTALLA TABLET: 16:9 ESTRICTO POR ASPECT-RATIO (CERO PADDING-BOTTOM HACK) */
.tablet-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}

/* TODOS LOS ELEMENTOS HIJOS COMPARTEN EL MISMO RECTÁNGULO EXACTO */
.tablet-screen iframe,
.tablet-screen #ytTopPlayer,
.tablet-fallback-poster,
.tablet-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.tablet-screen iframe {
  z-index: 2;
}

/* POSTER DE RESPALDO */
.tablet-fallback-poster {
  z-index: 3;
  background: #000;
  display: block;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tablet-fallback-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tablet-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* OVERLAY INTERACTIVO */
.tablet-video-overlay {
  z-index: 5;
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  pointer-events: auto;
}

.sound-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
  user-select: none;
}

.sound-indicator:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--color-cyan);
}

/* BOTÓN CENTRAL DE RESPALDO (SI AUTOPLAY BLOQUEADO) */
.tablet-fallback-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fallback-big-play-btn {
  background: linear-gradient(135deg, #ff1a1a 0%, #b30000 100%);
  border: 2px solid #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fallback-big-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 50px rgba(255, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.5);
}

.fallback-big-play-btn .play-triangle {
  font-size: 1.25rem;
  line-height: 1;
}

.tablet-yt-direct-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: var(--transition);
}

.tablet-yt-direct-link:hover {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.tablet-bezel-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12px;
  margin-top: 6px;
}

.tablet-home-indicator {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

/* CONTROLES INFERIORES DE LA TABLET */
.tablet-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(14, 20, 32, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tablet-desc-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 260px;
}

.tablet-active-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.tablet-active-desc {
  font-size: 0.92rem;
  color: var(--color-steel-dim);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   REGLAS GLOBALES Y SISTEMA DE CONTENEDORES DE IMÁGENES (CERO DEFORMACIONES)
   ========================================================================== */

/* Contenedor estándar para imágenes sin recorte: proporción natural */
.image-container {
  width: 100%;
  overflow: hidden;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Contenedor estricto para tarjetas idénticas: 16:9 con object-fit: cover */
.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #080d17;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.deck-card:hover .card-image img {
  transform: scale(1.03);
}

/* Tarjetas Upper y Lower Deck específicas */
.deck-card-image {
  margin-top: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Imagen de Concepto: Panorámica respetando proporción 2.16:1 */
.concept-figure-frame {
  width: 100%;
  aspect-ratio: 16 / 7.4; /* Muy próximo a 1280x592 sin deformar */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  background: #080d17;
  position: relative;
}

.concept-figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.4s ease;
}

.concept-figure-frame:hover .concept-figure-img {
  transform: scale(1.02);
}

/* Retrato Oficial de Marc Olivé (688x803) */
.author-avatar-wrap {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.author-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--color-gold);
  box-shadow: 0 0 30px var(--color-gold-glow), 0 10px 25px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.author-box:hover .author-avatar {
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--color-gold-glow), 0 15px 35px rgba(0, 0, 0, 0.8);
}

/* Botones de reproducción en tarjetas inferiores */
.video-play-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.video-main-card:hover .video-play-action-btn,
.video-side-card:hover .video-play-action-btn {
  background: var(--color-cyan);
  color: #060911;
  box-shadow: 0 0 15px var(--color-cyan-glow);
}

.video-duration-tag {
  font-size: 0.78rem;
  color: var(--color-steel-dim);
  font-weight: 600;
}

/* ADAPTACIÓN MÓVIL Y TABLET */
@media (max-width: 768px) {
  .top-video-banner {
    padding-top: 84px;
    padding-bottom: 24px;
  }
  .tablet-frame {
    padding: 8px 8px 6px 8px;
    border-radius: 18px 18px 0 0;
  }
  .tablet-mockup-container {
    border-radius: 18px;
  }
  .sound-indicator {
    padding: 6px 12px;
    font-size: 0.74rem;
  }
  .concept-figure-frame {
    aspect-ratio: 16 / 9;
  }
  .author-avatar-wrap,
  .author-avatar {
    width: 170px;
    height: 170px;
  }
}

/* Fix deck cards stretch: ensure picture fills card-image with 16:9 ratio */
.card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.deck-card {
  display: flex;
  flex-direction: column;
}

.deck-card .card-image {
  margin-top: auto;
}
