/* ==========================================================================
   5TH SECTION: SLOGAN TRANSITION (WHITE TO BLACK BACKGROUND)
   "Come for the Steaks [steak] and stay for the cakes [cakes]"
   Interactive expanding pill and full-bleed bottle service stories feed
   ========================================================================== */

.slogan-transition-section {
  position: relative;
  width: 100%;
  height: 350vh;
  box-sizing: border-box;
  z-index: 15;
  background: transparent;
}

.slogan-transition-inner {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(8px, 1.5vh, 16px);
  z-index: 2;
  box-sizing: border-box;
  padding: 0 16px;
  overflow: hidden;
  will-change: transform;
}

.slogan-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E6002E;
  background: rgba(230, 0, 46, 0.12);
  border: 1px solid rgba(230, 0, 46, 0.35);
  padding: 6px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slogan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E6002E;
  box-shadow: 0 0 10px #E6002E;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.slogan-display-title {
  font-family: var(--font-headline, 'Anton', 'Bebas Neue', sans-serif);
  font-size: clamp(62px, 15.5vw, 240px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.026em;
  text-transform: uppercase;
  margin: 0;
  color: var(--slogan-text-color, #111317);
  transition: color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0px, 0.4vw, 6px);
  width: 100%;
}

.slogan-line {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  max-width: 100%;
}

.slogan-line-feature {
  gap: 0.08em;
}

.slogan-word {
  display: inline-block;
  transition: color 0.25s ease;
  opacity: 1;
  transform: translateY(0);
  color: var(--slogan-text-color, #111317);
}

.slogan-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.slogan-word.highlight-steak {
  color: #E65100;
  background: linear-gradient(135deg, #FF6F00 0%, #D84315 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slogan-word.highlight-cake {
  color: #E6002E;
  background: linear-gradient(135deg, #FFE082 0%, #E6002E 50%, #FFB300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(230, 0, 46, 0.4);
}

.slogan-media-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.98em;
  width: 2.85em;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 0.05em 0.02em 0.12em;
  vertical-align: middle;
  border: clamp(3.5px, 0.4vw, 7px) solid rgba(230, 0, 46, 0.95);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(230, 0, 46, 0.5);
  position: relative;
  cursor: pointer;
  transform: scale(1);
  opacity: 1;
  box-sizing: border-box;
  will-change: transform, width, left, top;
  flex-shrink: 0;
}

.slogan-media-pill.pill-steak {
  margin: 0 0.12em 0.02em 0.05em;
}

.slogan-media-pill.pill-cake {
  margin: 0 0.05em 0.02em 0.12em;
  max-width: none;
}

.slogan-media-pill:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(230, 0, 46, 0.8);
}

.slogan-pill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: none;
}

/* SLOGAN EXPANDED BOTTLE SERVICE STORY OVERLAY */
.slogan-scrim-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 35%, rgba(6,7,9,0.96) 100%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slogan-story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  padding: clamp(14px, 2.4vh, 24px) clamp(12px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vh, 10px);
  color: #FFFFFF;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  white-space: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
}

.slogan-story-overlay * {
  letter-spacing: inherit;
  white-space: normal;
  box-sizing: border-box;
}

.slogan-story-overlay.is-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.slogan-bottle-icon {
  width: 22px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E6002E;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.slogan-story-overlay .story-reviewer-name {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.slogan-story-overlay .story-reviewer-meta {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* TOP SELLING BADGE (CLEAN UNBOXED TEXT) */
.slogan-top-selling-tag {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #E6002E !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.slogan-story-headline {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(15px, 2.2vw, 20px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.25 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.slogan-story-body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(12.5px, 1.4vw, 14px) !important;
  line-height: 1.48 !important;
  letter-spacing: 0.015em !important;
  word-spacing: normal !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

.slogan-story-overlay .story-review-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(6px, 1vw, 10px) !important;
  margin-top: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
}

.slogan-verified-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(9.5px, 1.1vw, 11px) !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.01em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.slogan-verified-badge svg {
  width: 13px !important;
  height: 13px !important;
  flex-shrink: 0 !important;
}

.slogan-verified-badge span,
#sloganPerkText {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
  display: inline-block !important;
}

.slogan-story-btn {
  padding: clamp(6px, 0.9vh, 8px) clamp(8px, 1.2vw, 14px) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(9.5px, 1.1vw, 11px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  background-color: #2E3BE6 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(46, 59, 230, 0.45) !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.slogan-story-btn svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0 !important;
}

.slogan-story-btn:hover {
  background-color: #1a27cc !important;
  transform: scale(1.03) !important;
}

/* SECTION 5 STORIES FEED EXTENSIONS */
.slogan-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
}

.slogan-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.slogan-bg-media.active {
  opacity: 1;
}

#sloganMediaPill {
  object-position: center 72%;
}

#sloganMedia0 {
  object-position: center center;
}

.slogan-progress-track {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 25;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.slogan-media-pill.is-expanded-feed .slogan-progress-track,
.slogan-progress-track.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.slogan-progress-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.slogan-progress-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 9999px;
  will-change: width;
}

.slogan-progress-segment.completed .slogan-progress-fill {
  width: 100% !important;
}

.slogan-tap-left, .slogan-tap-right {
  position: absolute;
  top: 30px;
  bottom: 140px;
  z-index: 20;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: none;
}

.slogan-media-pill.is-expanded-feed .slogan-tap-left,
.slogan-media-pill.is-expanded-feed .slogan-tap-right {
  display: block;
}

.slogan-tap-left {
  left: 0;
  width: 38%;
}

.slogan-tap-right {
  right: 0;
  width: 62%;
}

.slogan-bottle-icon-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.slogan-bottle-svg {
  width: 16px;
  height: 20px;
  fill: #E6002E;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.slogan-card-anim-container {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vh, 10px);
  width: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.slogan-card-anim-container.slide-out-left {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}

.slogan-card-anim-container.slide-out-right {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

.slogan-card-anim-container.slide-in-prep-right {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

.slogan-card-anim-container.slide-in-prep-left {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}
