@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/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-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-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 */
@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 pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(237, 28, 36, 0);
  }
}

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

@keyframes pingSmall {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

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

.js-reveal-ready .reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

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

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Interactive Buttons */
.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.3) 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 8px 20px -4px rgba(237, 28, 36, 0.45);
}

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

/* Agenda Card Interactive Hover */
.agenda-card {
  border: 2.5px solid var(--shell-yellow-border);
  border-radius: 1.5rem;
  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;
}

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

/* Speaker Avatar Hover Micro-interaction */
.speaker-item {
  transition: transform 0.25s ease;
}

.speaker-item:hover {
  transform: translateX(4px);
}

.speaker-item img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.speaker-item:hover img {
  transform: scale(1.07);
  box-shadow: 0 8px 18px -4px rgba(237, 28, 36, 0.3);
}

/* Live indicator dot */
.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

.live-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: #10B981;
  animation: pingSmall 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* 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.12);
  transform: translateY(-1px);
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ED1C24'%3e%3cpath d='M8 5v14l11-7z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  transition: all 0.25s ease;
}

.custom-select:hover {
  background-position: right 1.1rem center;
}

/* 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);
}

/* Card Float effect for booth */
.booth-card-float {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.booth-card-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -8px rgba(255, 210, 0, 0.4);
}
