:root {
  --banner-width: 970px;
  --banner-height: 250px;
  --edge-radius: 0;
  --inner-radius: 12px;
  --frame-stroke: rgba(216, 237, 255, 0.75);
  --soft-white: #f4f9ff;
  --blue-1: #1a4d96;
  --blue-2: #2a69ba;
  --blue-3: #81b4ef;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: var(--banner-width);
  height: var(--banner-height);
  background: #0f3870;
  font-family: Arial, Helvetica, sans-serif;
}

.banner {
  position: relative;
  width: var(--banner-width);
  height: var(--banner-height);
  overflow: hidden;
  border-radius: var(--edge-radius);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  background-color: #2a5fa8;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 0;
  box-shadow: 0 10px 24px rgba(8, 26, 58, 0.22);
}

.banner-inner {
  position: absolute;
  inset: 0;
  padding: 20px 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.composition-frame {
  position: absolute;
  inset: 10px 18px;
  border: 1px solid rgba(236, 247, 255, 0.72);
  border-radius: 14px;
  pointer-events: none;
  z-index: 5;
}

.background-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 50%, rgba(189, 221, 255, 0.2) 0%, rgba(189, 221, 255, 0) 100%),
    radial-gradient(40% 50% at 80% 50%, rgba(238, 247, 255, 0.1) 0%, rgba(238, 247, 255, 0) 100%);
}

/* --- Left column: title --- */

.title-block {
  position: relative;
  z-index: 6;
  flex: 0 0 280px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-image {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto;
}

.title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(3, 22, 54, 0.3);
}

.title-main {
  font-size: 64px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -2px;
}

.title-sub {
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 600;
}

/* --- Center column: product carousel --- */

.product-card {
  position: relative;
  z-index: 8;
  flex: 1 1 auto;
  height: 190px;
  margin-top: 0;
  padding: 10px 16px;
  border-radius: var(--inner-radius);
  background:
    linear-gradient(150deg, rgba(186, 218, 251, 0.34) 0%, rgba(142, 189, 243, 0.3) 55%, rgba(108, 162, 227, 0.35) 100%);
  border: 1px solid var(--frame-stroke);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -16px 32px rgba(32, 78, 141, 0.16);
  overflow: hidden;
}

.card-sheen {
  position: absolute;
  top: -35%;
  left: -48%;
  width: 65%;
  height: 165%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateX(0) rotate(8deg);
  pointer-events: none;
}

.product-card.is-shimmering .card-sheen {
  animation: sheen 2.2s ease-out 1;
}

.carousel-track-wrap {
  position: relative;
  width: 100%;
  height: 148px;
  border-radius: 8px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(8px) scale(0.965);
  filter: saturate(0.98);
  transition:
    opacity 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 650ms ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.slide.is-first {
  width: 86%;
  height: 70%;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 9;
}

.dot {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  margin: 0;
  padding: 0;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  line-height: 0;
  border-radius: 50%;
  border: 1px solid rgba(247, 251, 255, 0.94);
  background: rgba(255, 255, 255, 0.16);
  transition: transform 260ms ease, background-color 260ms ease, box-shadow 260ms ease;
}

.dot.is-active {
  background: #f8fcff;
  transform: scale(1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

/* --- Right column: date + logo --- */

.date-block {
  position: relative;
  z-index: 8;
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  bottom: auto;
  left: auto;
  right: auto;
  width: auto;
  min-height: auto;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0;
  animation: none;
}

.date-image {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.date-text {
  color: #f8fcff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  font-family: "Google Sans", "Product Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: -0.3px;
  text-shadow: none;
  white-space: nowrap;
  background: #005f9e;
  padding: 10px 24px 11px;
  border-radius: 24px;
  animation: breathe 5.8s ease-in-out 2.4s infinite;
}

.date-subtitle {
  color: rgba(248, 252, 255, 0.85);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  font-family: "Google Sans", "Product Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-block {
  display: none;
}

.logo-image {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  filter: none;
}

/* --- Flowers --- */

.flower {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0.85;
  will-change: transform;
}

.flower-left {
  left: -95px;
  bottom: -37px;
  width: 187px;
  animation: floatLeft 7.3s ease-in-out infinite;
}

.flower-right {
  right: -117px;
  top: 167px;
  bottom: auto;
  width: 252px;
  transform: scaleX(-1) rotate(6deg);
  animation: floatRight 8.1s ease-in-out infinite;
}

/* --- Utility / animation --- */

.click-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: transparent;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

.intro-up {
  opacity: 0;
  transform: translateX(-12px);
  animation: introUp 820ms cubic-bezier(0.2, 0.85, 0.28, 1) forwards;
}

.intro-fade {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  animation: introCard 900ms cubic-bezier(0.2, 0.85, 0.28, 1) forwards;
  animation-delay: 140ms;
}

.title-block.intro-up {
  animation-delay: 50ms;
}

.date-block.intro-up {
  transform: translateX(12px);
  animation-delay: 330ms;
}

.brand-block.intro-up {
  transform: translateX(12px);
  animation-delay: 460ms;
}

@keyframes introUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes introCard {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes sheen {
  0% {
    opacity: 0;
    transform: translateX(0) rotate(8deg);
  }
  15% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translateX(900px) rotate(8deg);
  }
}

@keyframes floatLeft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(2px, -4px, 0) rotate(1.5deg);
  }
}

@keyframes floatRight {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleX(-1) rotate(8deg);
  }
  50% {
    transform: translate3d(-2px, -4px, 0) scaleX(-1) rotate(6.8deg);
  }
}
