/* =========================================================
   yongzoon.xyz — Blobitecture Design System
   Colors: #1a1018, #ff00aa, #ff6600, #ccff00, #f0ece8, #e8e0d8, #2a1028
   Fonts: Poiret One (display), Poppins (body), Bungee Inline (accent)
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #1a1018;
  color: #f0ece8;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Poiret One', sans-serif;
  font-weight: 400;
}

.bungee-label {
  font-family: 'Bungee Inline', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* --- Blob Utility Classes --- */
.blob {
  animation: breathe-1 8s ease-in-out infinite;
}

.blob-1 {
  animation: breathe-1 8s ease-in-out infinite;
}

.blob-2 {
  animation: breathe-2 10s ease-in-out infinite;
}

.blob-3 {
  animation: breathe-3 7s ease-in-out infinite;
}

.blob-4 {
  animation: breathe-4 9s ease-in-out infinite;
}

.blob-5 {
  animation: breathe-5 6s ease-in-out infinite;
}

@keyframes breathe-1 {
  0%, 100% { border-radius: 40% 60% 55% 45% / 60% 40% 45% 55%; }
  50%       { border-radius: 55% 45% 40% 60% / 45% 55% 60% 40%; }
}

@keyframes breathe-2 {
  0%, 100% { border-radius: 60% 40% 45% 55% / 45% 60% 55% 40%; }
  50%       { border-radius: 40% 55% 60% 45% / 60% 40% 45% 55%; }
}

@keyframes breathe-3 {
  0%, 100% { border-radius: 50% 50% 40% 60% / 55% 45% 60% 40%; }
  50%       { border-radius: 40% 60% 55% 45% / 40% 55% 45% 60%; }
}

@keyframes breathe-4 {
  0%, 100% { border-radius: 35% 65% 60% 40% / 50% 40% 60% 50%; }
  50%       { border-radius: 60% 40% 35% 65% / 40% 60% 50% 50%; }
}

@keyframes breathe-5 {
  0%, 100% { border-radius: 55% 45% 50% 50% / 40% 55% 45% 60%; }
  50%       { border-radius: 45% 55% 45% 55% / 60% 40% 60% 40%; }
}

/* --- Marble Texture --- */
.marble {
  background:
    linear-gradient(135deg, #f0ece8 25%, #e8e0d8 50%, #f0ece8 75%),
    radial-gradient(circle at 30% 70%, rgba(200,190,180,0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(210,200,195,0.2) 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, rgba(195,185,175,0.15) 0%, transparent 40%);
  background-blend-mode: normal, soft-light, soft-light, soft-light;
  color: #1a1018;
}

/* =========================================================
   HERO — The Inflation
   ========================================================= */

#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #1a1018;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background ambient blobs */
.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-blob {
  position: absolute;
  opacity: 0.18;
  filter: blur(60px);
}

.bg-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, #ff00aa 0%, transparent 70%);
  top: -120px;
  left: -100px;
  animation: float-1 12s ease-in-out infinite;
}

.bg-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, #ff6600 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: float-2 15s ease-in-out infinite;
}

.bg-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, #ccff00 0%, transparent 70%);
  top: 40%;
  left: 10%;
  animation: float-3 10s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, -40px) scale(1.08); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -20px) scale(1.05); }
}

/* Hero center blob */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob-shape {
  width: clamp(320px, 55vw, 680px);
  height: clamp(280px, 48vw, 580px);
  background: linear-gradient(135deg, #ff00aa 0%, #ff6600 60%, #ccff00 100%);
  box-shadow:
    0 0 60px rgba(255, 0, 170, 0.4),
    0 0 120px rgba(255, 102, 0, 0.2),
    inset 0 0 40px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-inner {
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-family: 'Poiret One', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: #1a1018;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.hero-dot {
  color: #2a1028;
}

.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  color: #2a1028;
  margin-top: 0.75rem;
  opacity: 0.85;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #ff00aa;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #ff00aa, transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

/* =========================================================
   GRID SECTION — Blob Card Grid
   ========================================================= */

#grid-section {
  padding: 6rem 2rem;
  background-color: #1a1018;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: 'Poiret One', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #f0ece8;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, #ff00aa, #ff6600, #ccff00);
  border-radius: 2px;
}

.blob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blob-card {
  padding: 2rem 1.75rem;
  position: relative;
  border: 2px solid #ff00aa;
  box-shadow:
    0 0 10px rgba(255, 0, 170, 0.3),
    0 0 20px rgba(255, 0, 170, 0.1);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
  overflow: hidden;
}

.blob-card:hover {
  box-shadow:
    0 0 15px rgba(255, 0, 170, 0.5),
    0 0 30px rgba(255, 0, 170, 0.2),
    0 0 50px rgba(255, 102, 0, 0.1);
  transform: translateY(-6px) scale(1.02);
}

.card-neon-label {
  color: #ff00aa;
  margin-bottom: 0.75rem;
  display: block;
}

.card-title {
  font-family: 'Poiret One', sans-serif;
  font-size: 1.6rem;
  color: #1a1018;
  margin-bottom: 0.75rem;
}

.card-body {
  font-size: 0.95rem;
  color: #2a1028;
  line-height: 1.7;
}

.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,170,50,0.15) 0%, transparent 70%);
  bottom: -30px;
  right: -30px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.blob-card:hover .card-glow {
  opacity: 1.5;
}

/* =========================================================
   CANDLE GALLERY
   ========================================================= */

#candle-gallery {
  padding: 6rem 2rem;
  background-color: #2a1028;
  position: relative;
  overflow: hidden;
}

#candle-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,170,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.candle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.candle-cell {
  position: relative;
}

.candle-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 50%, rgba(255,170,50,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.candle-card {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem;
  border: 2px solid #ff6600;
  box-shadow:
    0 0 10px rgba(255, 102, 0, 0.3),
    0 0 25px rgba(255, 102, 0, 0.12);
}

.candle-card .bungee-label {
  color: #ff6600;
  display: block;
  margin-bottom: 0.75rem;
}

.candle-card .card-body {
  color: #2a1028;
  font-size: 0.95rem;
}

/* =========================================================
   DEFLATION FOOTER
   ========================================================= */

#footer {
  background-color: #1a1018;
  padding: 4rem 2rem 3rem;
  overflow: hidden;
}

.deflation-blobs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.deflate-blob {
  background: linear-gradient(135deg, #ff00aa, #ff6600);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full breathing blob */
.deflate-1 {
  width: 340px;
  height: 100px;
  border-radius: 40% 60% 55% 45% / 60% 40% 45% 55%;
  animation: breathe-1 8s ease-in-out infinite;
  opacity: 0.85;
}

/* Half radius variation */
.deflate-2 {
  width: 280px;
  height: 60px;
  border-radius: 20% 30% 25% 22% / 30% 20% 22% 25%;
  animation: deflate-breathe-2 10s ease-in-out infinite;
  opacity: 0.65;
}

/* Nearly rectangular */
.deflate-3 {
  width: 220px;
  height: 40px;
  border-radius: 8% 12% 8% 12% / 12% 8% 12% 8%;
  animation: deflate-breathe-3 12s ease-in-out infinite;
  opacity: 0.45;
}

@keyframes deflate-breathe-2 {
  0%, 100% { border-radius: 20% 30% 25% 22% / 30% 20% 22% 25%; }
  50%       { border-radius: 25% 22% 30% 20% / 22% 28% 20% 30%; }
}

@keyframes deflate-breathe-3 {
  0%, 100% { border-radius: 8% 12% 8% 12% / 12% 8% 12% 8%; }
  50%       { border-radius: 10% 8% 12% 8% / 8% 12% 8% 12%; }
}

.deflate-label {
  color: #f0ece8;
  font-size: 0.75rem;
}

.footer-content {
  text-align: center;
}

.footer-domain {
  font-family: 'Poiret One', sans-serif;
  font-size: 1.8rem;
  color: #f0ece8;
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #e8e0d8;
  opacity: 0.5;
  margin-top: 0.4rem;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px) {
  .blob-grid,
  .candle-grid {
    grid-template-columns: 1fr;
  }

  .hero-blob-shape {
    width: 90vw;
    height: 70vw;
  }

  .deflate-1 {
    width: 90vw;
  }

  .deflate-2 {
    width: 70vw;
  }

  .deflate-3 {
    width: 55vw;
  }
}
