/* ==========================================================================
   COLD COFFEE - Minimalist & Cinematic Coming Soon Stylesheet
   Pure, Centered, High-Impact Visual Experience (All English)
   ========================================================================== */

:root {
  --bg-deep: #0c1410;
  --bg-sage-dark: #19251e;
  --bg-sage-mid: #293a2e;
  --bg-sage-light: #44594a;

  --accent-gold: #e7cba9;
  --accent-gold-light: #fdf5ea;
  --accent-gold-dark: #c5a071;
  --accent-frost: #a8e6cf;
  --accent-frost-glow: rgba(168, 230, 207, 0.35);

  --font-title: 'Outfit', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --glass-bg: rgba(25, 37, 30, 0.65);
  --glass-border: rgba(231, 203, 169, 0.25);
}

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

html, body {
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  font-family: var(--font-title);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Canvas Background for Rising Ice Cubes */
#ice-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Atmospheric Ambient Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-gradient-mesh {
  position: absolute;
  inset: -15%;
  background: 
    radial-gradient(circle at 50% 30%, rgba(68, 89, 74, 0.5) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(41, 58, 46, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(38, 22, 12, 0.4) 0%, transparent 55%),
    linear-gradient(180deg, #0e1712 0%, #1a271f 45%, #121c16 100%);
  filter: blur(35px);
  animation: ambientFloat 16s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(-1%, 2%); }
  100% { transform: scale(1) translate(1%, -1%); }
}

.bg-artwork-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38vh;
  background: url('../assets/bottom-ice.webp') no-repeat bottom center;
  background-size: cover;
  opacity: 0.35;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 95%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 95%);
  filter: blur(0.5px);
}

/* Centered Fullscreen Container */
.minimal-wrapper {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  gap: 2.2rem;
}

/* 3D Emblem Container */
.badge-stage {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
}

/* Amber/Sage Glowing Aura */
.badge-halo {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 203, 169, 0.32) 0%, rgba(68, 89, 74, 0.5) 45%, transparent 75%);
  filter: blur(35px);
  animation: haloPulse 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes haloPulse {
  0% { transform: scale(0.9); opacity: 0.55; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

/* Rotating Dashed Glass Ring */
.badge-glass-ring {
  position: absolute;
  width: 92%;
  height: 92%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(231, 203, 169, 0.4);
  box-shadow: inset 0 0 30px rgba(168, 230, 207, 0.12), 0 0 25px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  animation: ringRotate 40s linear infinite;
  z-index: 2;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Main 3D Emblem Wrapper */
.badge-emblem-wrap {
  position: relative;
  z-index: 3;
  width: 82%;
  height: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.badge-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(231, 203, 169, 0.35));
  animation: gentleFloat 5s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(4px) rotate(-1deg); }
}

/* Orbiting Decorative Ice & Beans */
.orbit-element {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  animation: floatOrbit 7s ease-in-out infinite alternate;
}

.orbit-ice-1 {
  top: 8%;
  left: 6%;
  width: 52px;
  height: 52px;
  animation-delay: -1s;
}

.orbit-ice-2 {
  bottom: 12%;
  right: 8%;
  width: 60px;
  height: 60px;
  animation-delay: -3s;
}

.orbit-bean-1 {
  top: 15%;
  right: 6%;
  width: 40px;
  height: 40px;
  animation-delay: -2s;
}

@keyframes floatOrbit {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(15deg); }
}

.orbit-tag {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--accent-gold);
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: floatBadgeTag 4s ease-in-out infinite alternate;
}

@keyframes floatBadgeTag {
  0% { transform: translate(-50%, 0); }
  100% { transform: translate(-50%, -6px); }
}

/* ==========================================================================
   Animated Coming Soon Text Section
   ========================================================================== */
.coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 3;
}

.coming-soon-text {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;

  /* Shimmering Liquid Light Gradient */
  background: linear-gradient(
    110deg,
    var(--accent-gold) 0%,
    #ffffff 25%,
    var(--accent-frost) 50%,
    #ffffff 75%,
    var(--accent-gold) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4.5s ease-in-out infinite, textBreathe 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(231, 203, 169, 0.35));
}

@keyframes textShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes textBreathe {
  0% { transform: scale(1); letter-spacing: 0.1em; }
  100% { transform: scale(1.03); letter-spacing: 0.13em; }
}

/* Pulsing Sequential Dots */
.dots-wrap {
  display: inline-flex;
  margin-left: 0.15em;
  -webkit-text-fill-color: initial;
}

.dot {
  display: inline-block;
  color: var(--accent-gold);
  font-weight: 900;
  animation: dotPulse 1.8s infinite ease-in-out both;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }

@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.2;
    transform: translateY(0px) scale(0.9);
  }
  40% {
    opacity: 1;
    color: var(--accent-frost);
    transform: translateY(-4px) scale(1.2);
    text-shadow: 0 0 10px var(--accent-frost);
  }
}

/* Sleek Minimal Glow Underline Bar */
.coming-soon-bar {
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-frost), transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-gold);
  animation: barExpand 4s ease-in-out infinite alternate;
}

@keyframes barExpand {
  0% { width: 90px; opacity: 0.5; }
  100% { width: 180px; opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .minimal-wrapper {
    gap: 1.8rem;
    padding: 1rem;
  }

  .badge-stage {
    max-width: 310px;
  }

  .orbit-ice-1 {
    width: 42px;
    height: 42px;
  }

  .orbit-ice-2 {
    width: 46px;
    height: 46px;
  }

  .orbit-bean-1 {
    width: 32px;
    height: 32px;
  }

  .coming-soon-text {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .minimal-wrapper {
    gap: 1.4rem;
  }

  .badge-stage {
    max-width: 240px;
  }

  .orbit-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
  }

  .coming-soon-text {
    font-size: 1.75rem;
    letter-spacing: 0.08em;
  }

  .coming-soon-bar {
    width: 100px;
  }
}
