@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellBook.ttf') format('truetype'),
       url('../fonts/ShellBook.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellBookItalic.ttf') format('truetype'),
       url('../fonts/ShellBookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellMedium.ttf') format('truetype'),
       url('../fonts/ShellMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellMediumItalic.ttf') format('truetype'),
       url('../fonts/ShellMediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellBold.ttf') format('truetype'),
       url('../fonts/ShellBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shell';
  src: url('../fonts/ShellHeavy.ttf') format('truetype'),
       url('../fonts/ShellHeavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ShellCondensed';
  src: url('../fonts/ShellCondensedLight.ttf') format('truetype'),
       url('../fonts/ShellCondensedLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ShellCondensed';
  src: url('../fonts/ShellCondensedMedium.ttf') format('truetype'),
       url('../fonts/ShellCondensedMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ShellCondensed';
  src: url('../fonts/ShellCondensedBold.ttf') format('truetype'),
       url('../fonts/ShellCondensedBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --shell-yellow: #FFD200;
  --shell-yellow-border: #FFC400;
  --shell-red: #ED1C24;
  --shell-red-hover: #D6121A;
  --shell-blue: #005596;
  --shell-green: #00833E;
  --shell-green-hover: #006e34;
  --shell-input-bg: #FFF3BC;
  --shell-input-focus: #FFEAA5;
  --shell-text-dark: #1F2428;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Shell', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1F2428;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-shell {
  font-family: 'Shell', sans-serif;
}

.font-shell-condensed {
  font-family: 'ShellCondensed', sans-serif;
}

.font-shell-bold {
  font-family: 'Shell', sans-serif;
  font-weight: 700;
}

.font-shell-heavy {
  font-family: 'Shell', sans-serif;
  font-weight: 800;
}

/* ==========================================================================
   ANIMATION & MICRO-INTERACTIONS
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

@keyframes shimmerLight {
  0% {
    transform: translateX(-120%) rotate(25deg);
  }
  100% {
    transform: translateX(220%) rotate(25deg);
  }
}

/* Scroll reveal classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Interactive Shimmer Button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-120%) rotate(25deg);
  pointer-events: none;
}

.btn-shimmer:hover::after {
  animation: shimmerLight 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.2);
}

.btn-shimmer:active {
  transform: translateY(0) scale(0.98);
}

/* Feature Cards */
.enlit-card {
  border: 3px solid var(--shell-yellow-border);
  border-radius: 1.75rem;
  background-color: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  position: relative;
}

.enlit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(255, 196, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #FFB700;
}

/* Speaker Avatar Item */
.speaker-avatar-wrap {
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.speaker-avatar-wrap:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px -4px rgba(0, 131, 62, 0.4);
}

/* Custom form styles */
.shell-input {
  background-color: var(--shell-input-bg);
  border: 1.5px solid transparent;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.shell-input:hover {
  background-color: #FFF0B0;
}

.shell-input:focus {
  background-color: var(--shell-input-focus);
  border-color: #E2B500;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.15);
  transform: translateY(-1px);
}

/* Back to Top floating button */
#backToTopBtn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTopBtn:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Booth Speech Bubble Pointer (Desktop) */
.booth-speech-bubble {
  position: relative;
}

@media (min-width: 1024px) {
  .booth-speech-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 20px solid var(--shell-yellow);
  }
}
