* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Typography matching dev/tbb-se & thebrokenbindingsub.com */
  --font-family-main: 'Cinzel', serif;
  --font-family-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Brand Colors */
  --bg-primary: #000000;
  --bg-card: rgba(18, 18, 18, 0.92);
  --text-main: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-gold: #dcae48;
  --accent-gold-bright: #e8c85a;
  --accent-glow: rgba(220, 174, 72, 0.18);
  --border-gold: rgba(220, 174, 72, 0.3);

  --fade-duration: 1.2s;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family-secondary);
  cursor: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

#kiosk-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
}

.slide-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade-duration) cubic-bezier(0.4, 0, 0.2, 1),
              visibility var(--fade-duration) step-end;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  will-change: opacity;
  z-index: 1;
}

.slide-layer.active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade-duration) cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s step-start;
  z-index: 2;
}

/* Image Slide with Ambient Color Fill */
.image-slide-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-ambient-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(45px) brightness(0.32) saturate(1.25);
  transform: scale(1.1);
  pointer-events: none;
}

.image-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.image-main {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85),
              0 0 35px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  z-index: 2;
}

/* FULLBLEED Display Feature Flag */
body.fullbleed .image-ambient-bg,
body.fullbleed .image-overlay-vignette {
  display: none;
}

body.fullbleed .image-main {
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.image-caption {
  position: absolute;
  bottom: 3.5rem;
  left: 4.5rem;
  z-index: 3;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 1.1rem 1.85rem;
  border-radius: 10px;
  max-width: 680px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  animation: captionFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.image-caption h2 {
  font-family: var(--font-family-main);
  font-size: clamp(1.3rem, 1.9vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.image-caption p {
  font-family: var(--font-family-secondary);
  font-size: clamp(0.95rem, 1.2vw, 1.25rem);
  color: var(--accent-gold);
  font-weight: 400;
  letter-spacing: 0.03em;
}

@keyframes captionFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video Slide */
.video-slide-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slide-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Announcement Slide matching Live Sub Site & Design System */
.announcement-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(46.7% 44.51% at 50% 47.65%, #2a261f 0%, #000000 100%);
  padding: 4rem;
}

.announcement-card {
  text-align: center;
  padding: clamp(3rem, 5vw, 5.5rem);
  max-width: 82vw;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85),
              0 0 60px var(--accent-glow);
  position: relative;
}

.announcement-tag {
  display: inline-block;
  font-family: var(--font-family-main);
  font-size: clamp(0.85rem, 1.1vw, 1.2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  border-bottom: 1.5px solid var(--accent-gold);
  padding-bottom: 0.45rem;
}

.announcement-card h1 {
  font-family: var(--font-family-main);
  font-size: clamp(2.3rem, 3.8vw, 4.4rem);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 2rem;
  line-height: 1.35;
  letter-spacing: clamp(0.2rem, 0.35vw, 0.55rem);
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.announcement-card p {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.2rem, 1.6vw, 1.95rem);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.85;
  letter-spacing: 0.035rem;
  max-width: 72ch;
  margin: 0 auto;
}

/* Watermark Badge */
.brand-badge {
  position: fixed;
  top: 2.5rem;
  left: 3rem;
  z-index: 10;
  font-family: var(--font-family-main);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  pointer-events: none;
}
