:root {
  --bg-color: #c9dec2; /* Light desaturated green */
  --blob-color-1: #d8f78f; /* Very bright lime green highlight */
  --blob-color-2: #8bc34a; /* Main apple green */
  --blob-color-3: #4e8b35; /* Dark olive shadow */
  --text-color: #2b332b;
  --font-serif: 'Noto Serif KR', serif;
}

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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: var(--font-serif);
  color: var(--text-color);
  position: relative;
}

/* Global Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.18; /* Increased opacity for heavier grain like poster */
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 3D Gooey Blobs */
.gooey-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Apply SVG goo and then a much stronger drop-shadow matching the poster */
  filter: url('#goo') drop-shadow(15px 20px 15px rgba(20, 50, 10, 0.45));
  z-index: 10;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  /* We use a solid color because the SVG filter now generates the 3D shading on the merged shape */
  background: #000;
}

/* Blob Initial Positions & Layout */
.tr-1 { width: 240px; height: 240px; top: 10%; right: 35%; animation: floatA 12s ease-in-out infinite alternate; }
.tr-2 { width: 300px; height: 300px; top: 8%; right: 20%; animation: floatB 15s ease-in-out infinite alternate-reverse; }
.tr-3 { width: 260px; height: 260px; top: -5%; right: -5%; animation: floatC 14s ease-in-out infinite alternate; }

.bl-1 { width: 180px; height: 180px; bottom: 40%; left: 25%; animation: floatD 10s ease-in-out infinite alternate; }
.bl-2 { width: 200px; height: 200px; bottom: 25%; left: 15%; animation: floatA 13s ease-in-out infinite alternate-reverse; }
.bl-3 { width: 220px; height: 220px; bottom: 10%; left: 5%; animation: floatC 11s ease-in-out infinite alternate; }
.bl-4 { width: 280px; height: 280px; bottom: -5%; left: 10%; animation: floatB 16s ease-in-out infinite alternate-reverse; }
.bl-5 { width: 200px; height: 200px; bottom: -10%; left: 25%; animation: floatD 14s ease-in-out infinite alternate; }
.bl-6 { width: 120px; height: 120px; bottom: 35%; left: 40%; animation: floatA 15s ease-in-out infinite alternate; }

/* Organic shape-shifting animations */
@keyframes floatA {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
  100% { transform: translate(-20px, -30px) scale(0.95); }
}
@keyframes floatB {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 10px) scale(0.95); }
  100% { transform: translate(20px, -40px) scale(1.05); }
}
@keyframes floatC {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -35px) scale(1.1); }
  100% { transform: translate(-30px, 15px) scale(0.9); }
}
@keyframes floatD {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -20px) scale(0.9); }
  100% { transform: translate(35px, 25px) scale(1.1); }
}


/* Center Image Placeholder */
.center-photo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 40%;
  max-width: 800px;
  z-index: 5;
}
.center-photo {
  width: 100%;
  height: 100%;
  background-color: #6a8c5f; /* Green tinted placeholder */
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px);
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.3);
}

/* UI Overlay */
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 3vw 4vw;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none; /* Let clicks pass through if we add interaction later */
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.title-area {
  display: flex;
  flex-direction: column;
}

.main-title {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.ko-title {
  font-size: 5rem;
}

.ko-subtitle {
  font-size: 6rem;
}

.date {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  margin-top: 10px;
  font-weight: 400;
}

.info-area {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.eng-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 40px;
}

.location-info {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}
.location-info p {
  margin-bottom: 10px;
}

/* Footer / Artists area */
.footer {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.decor-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.artists-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.group-name {
  background-color: #222;
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.artists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 400;
}
  
  /* --- Interactions CSS --- */
  
  /* Cursor Magnetism Blob */
  .cursor-blob {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    opacity: 0; /* Hidden initially, JS will fade it in */
    transition: opacity 0.3s;
  }
  
  /* Shedded Baby Blob */
  .baby-blob {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    pointer-events: none;
    z-index: 4;
    transform: translate(-50%, -50%);
    animation: fadeOut 3s forwards ease-in;
  }
  
  /* Spore Particle */
  .spore {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--blob-color-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 40;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--blob-color-1);
    animation: sporeDrift 1.5s forwards ease-out;
  }
  
  @keyframes sporeDrift {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(calc(-50% + var(--dx, 20px)), calc(-50% + var(--dy, -20px))) scale(0); opacity: 0; }
  }
  
  /* Ripple Effect */
  .ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    pointer-events: none;
    z-index: 60;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleExpand 1s forwards ease-out;
    mix-blend-mode: overlay;
  }
  
  @keyframes rippleExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; border-width: 4px; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; border-width: 0px; }
  }
  
  @keyframes fadeOut {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  }

@media (max-width: 768px) {
  .content-overlay {
    padding: 6vw 5vw;
    overflow-y: auto;
    pointer-events: auto; /* Enable scrolling if content overflows */
    justify-content: space-between;
  }
  
  .ko-title { font-size: 2.8rem; }
  .ko-subtitle { font-size: 3.2rem; }
  .date { font-size: 1.3rem; margin-top: 5px; }
  
  .header { flex-direction: column; }
  .info-area { text-align: left; align-items: flex-start; margin-top: 20px; }
  .eng-title { font-size: 1.4rem; margin-bottom: 20px; }
  
  /* Scale down the gooey blobs to fit the mobile screen without overflowing */
  .gooey-container {
    transform: scale(0.5);
    transform-origin: center center;
  }

  .center-photo-container { 
    width: 90%;
    height: 30%;
    top: 55%;
  }

  .footer {
    justify-content: flex-start; /* Align to left on mobile */
    margin-top: auto;
    padding-top: 40px;
  }
  
  .artists-area {
    align-items: flex-start; /* Align text to left */
  }
  
  .group-name {
    font-size: 1rem;
    padding: 6px 18px;
    margin-bottom: 15px;
  }
  
  .artists-grid {
    gap: 8px 20px;
    font-size: 1rem;
    text-align: left;
  }
}
