/* ==========================================================================
   BLOOMiES Animated Background & Clean Minimal Layout
   ========================================================================== */

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #7ab1fb;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated Background System */
.bg-wrapper {
  position: fixed;
  inset: -40px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.2s ease-out;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-image: url('backgroundnt.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: cinematicKenBurns 32s ease-in-out infinite alternate;
}

@keyframes cinematicKenBurns {
  0% {
    transform: scale(1.02) translate(0px, 0px);
  }
  33% {
    transform: scale(1.07) translate(-12px, -8px);
  }
  66% {
    transform: scale(1.05) translate(10px, -14px);
  }
  100% {
    transform: scale(1.09) translate(-8px, 6px);
  }
}

/* Animated Sunbeam Light Rays Layer */
.sunbeam-layer {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 220deg at 15% 15%,
    rgba(255, 255, 255, 0.22) 0deg,
    transparent 15deg,
    rgba(255, 240, 200, 0.18) 25deg,
    transparent 45deg,
    rgba(255, 255, 255, 0.15) 60deg,
    transparent 90deg
  );
  mix-blend-mode: overlay;
  opacity: 0.7;
  animation: sunbeamSweep 16s ease-in-out infinite alternate;
}

@keyframes sunbeamSweep {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: rotate(3deg) scale(1.05);
    opacity: 0.85;
  }
  100% {
    transform: rotate(-2deg) scale(1.02);
    opacity: 0.6;
  }
}

/* Ambient Pulsing Warm Glow */
.ambient-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.35) 0%, rgba(255, 182, 218, 0.15) 50%, transparent 80%);
  filter: blur(60px);
  animation: glowPulse 10s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.75; transform: scale(1.15); }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 45%, rgba(25, 18, 42, 0.12) 100%);
  pointer-events: none;
}

/* Main Hero Layout */
.content-container {
  position: relative;
  z-index: 20;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  margin-top: -35px;
}

.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  animation: gentleHeroFloat 7s ease-in-out infinite alternate;
}

@keyframes gentleHeroFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* BLOOMiES Plush Logo */
.bloomies-logo {
  max-width: 780px;
  width: 92vw;
  height: auto;
  margin-bottom: 24px;
  user-select: none;
  filter: drop-shadow(0 20px 40px rgba(135, 60, 180, 0.3)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

/* Coming Soon Plush Graphic */
.coming-soon-img {
  max-width: 420px;
  width: 75vw;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 14px 28px rgba(255, 100, 175, 0.28)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

/* Twitter Button */
.twitter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: rgba(18, 14, 28, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.twitter-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 182, 218, 0.6), rgba(160, 196, 255, 0.4), rgba(255, 255, 255, 0.8));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.twitter-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(18, 14, 28, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 182, 218, 0.25);
}

.twitter-btn:hover::before {
  opacity: 1;
}

.twitter-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.x-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.twitter-btn:hover .x-icon {
  transform: rotate(-8deg) scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .content-container {
    margin-top: -20px;
  }

  .bloomies-logo {
    max-width: 440px;
    margin-bottom: 16px;
  }

  .coming-soon-img {
    max-width: 280px;
  }

  .brand-hero {
    margin-bottom: 24px;
  }

  .twitter-btn {
    padding: 13px 25px;
    font-size: 14px;
  }
}
