@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

/* Global reset incl. pseudos */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { overflow-x: hidden; }

body {
  background: linear-gradient(180deg, #0a0e1a 0%, #1a1e2e 50%, #0f1419 100%);
  font-family: 'Pixelify Sans';
  font-weight: 400;
  color: #e8f5e9;
  position: relative;
}

/* Scanline effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      0deg,
      rgba(0, 255, 128, 0.03) 0px,
      transparent 1px,
      transparent 2px,
      rgba(0, 255, 128, 0.03) 3px
  );
  pointer-events: none;
  z-index: 0;
  animation: scanlines 8s linear infinite;
}

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

/* Floating sparkles */
.sparkle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: #a6baff;
box-shadow: 0 0 6px #a6baff;
  pointer-events: none;
  animation: float 6s infinite ease-in-out;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--tx), var(--ty)) scale(1.5); opacity: 0.8; }
  90% { opacity: 1; }
}

/* Liquid effects */
.liquid-ripple {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(180deg, 
      transparent 0%, 
      transparent 60%,
      rgba(105, 240, 174, 0.03) 80%,
      rgba(130, 177, 255, 0.05) 100%);
  animation: wave-flow 15s ease-in-out infinite;
}

.wave:nth-child(2) {
  background: linear-gradient(180deg, 
      transparent 0%, 
      transparent 60%,
      rgba(255, 128, 171, 0.02) 80%,
      rgba(130, 177, 255, 0.03) 100%);
  animation: wave-flow 20s ease-in-out infinite reverse;
  opacity: 0.5;
}

@keyframes wave-flow {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Liquid shimmer overlay */
.liquid-shimmer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
      radial-gradient(circle at 20% 80%, rgba(130, 177, 255, 0.03) 0%, transparent 25%),
      radial-gradient(circle at 80% 60%, rgba(105, 240, 174, 0.02) 0%, transparent 25%),
      radial-gradient(circle at 50% 40%, rgba(255, 128, 171, 0.02) 0%, transparent 25%);
  animation: shimmer-move 20s ease-in-out infinite;
}

@keyframes shimmer-move {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Warm glow overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 128, 171, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: warm-pulse 8s ease-in-out infinite;
}

@keyframes warm-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px 20px;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, #69f0ae 0%, #ff80ab 50%, #82b1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(105, 240, 174, 0.5);
  animation: glow 3s ease-in-out infinite;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

.logo::after {
  content: '✧';
  position: absolute;
  right: -40px;
  top: -20px;
  font-size: 2rem;
  animation: twinkle 2s infinite;
}

@media (max-width: 600px) {
  .logo::after { display: none; }
}

@keyframes glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 20px rgba(105, 240, 174, 0.6)); }
  50% { filter: brightness(1.3) drop-shadow(0 0 40px rgba(255, 128, 171, 0.8)); }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.tagline {
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-size: clamp(1.0rem, 1.5vw, 0.85rem);
  color: #69f0ae;
  margin-top: 10px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  animation: flicker 4s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 1; }
  50% { opacity: 0.8; }
  55% { opacity: 1; }
  60% { opacity: 0.9; }
  65% { opacity: 1; }
}

/* Main bottle section */
.bottle-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 80px;
  position: relative;
  min-height: 600px;
}

.bottle-container {
  position: relative;
  width: 200px;
  height: 400px;
  animation: bobble 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(130, 177, 255, 0.4));
  z-index: 10;
}

/* Decorative shot glass near bottle */
.deco-shot-glass {
  position: absolute;
  width: 100px;
  height: 100px;
  animation: float-gentle 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 25px rgba(105, 240, 174, 0.4));
  opacity: 0.9;
}

.deco-shot-1 {
  left: 20%;
  bottom: 15%;
  animation-delay: 1s;
}

.shot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.shot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(105, 240, 174, 0.3) 0%, transparent 65%);
  filter: blur(15px);
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: -1;
}

/* Decorative chicken near bottle */
.deco-chicken {
  position: absolute;
  width: 140px;
  height: 140px;
  animation: float-gentle-alt 9s ease-in-out infinite;
  filter: drop-shadow(0 8px 25px rgba(255, 128, 171, 0.35));
  opacity: 0.9;
}

.deco-chicken-1 {
  right: 18%;
  bottom: 18%;
  animation-delay: 2s;
}

.chicken-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.chicken-steam {
  position: absolute;
  top: -5px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(5px);
  animation: steam-rise 4s ease-in-out infinite;
}

.chicken-steam:nth-child(1) {
  left: 35%;
  animation-delay: 0s;
}

.chicken-steam:nth-child(2) {
  left: 60%;
  animation-delay: 2s;
}

@keyframes steam-rise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-45px) scale(1.3);
    opacity: 0;
  }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-gentle-alt {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
}

/* Small decorative elements in cards */
.card-deco-shot,
.card-deco-chicken,
.card-deco-chicken-2,
.card-deco-chicken-3,
.card-deco-beer,
.card-deco-bottle-mini,
.card-deco-tteokbokki,
.card-deco-noodle {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  opacity: 0.15;
  pointer-events: none;
  animation: card-deco-float 6s ease-in-out infinite;
}

.card-deco-shot img,
.card-deco-chicken img,
.card-deco-chicken-2 img,
.card-deco-chicken-3 img,
.card-deco-beer img,
.card-deco-bottle-mini img,
.card-deco-tteokbokki img,
.card-deco-noodle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: brightness(1.5);
}

@keyframes card-deco-float {
  0%, 100% { transform: translateY(0); opacity: 0.15; }
  50% { transform: translateY(-5px); opacity: 0.25; }
}

/* Floating food constellation */
#floating-food-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-food {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.12;
  animation: float-drift-slow 40s ease-in-out infinite;
  image-rendering: pixelated;
}

.floating-food img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.3);
}

@keyframes float-drift-slow {
  0%, 100% { 
    transform: translate(var(--start-x), var(--start-y)) rotate(0deg);
  }
  25% {
    transform: translate(calc(var(--start-x) + var(--drift-x)), calc(var(--start-y) + var(--drift-y))) rotate(5deg);
  }
  50% {
    transform: translate(calc(var(--start-x) + var(--drift-x) * 1.5), calc(var(--start-y) - var(--drift-y))) rotate(-5deg);
  }
  75% {
    transform: translate(calc(var(--start-x) - var(--drift-x)), calc(var(--start-y) + var(--drift-y) * 0.5)) rotate(3deg);
  }
}

/* Responsive for bottle hero */
@media (max-width: 768px) {
  .bottle-hero {
    min-height: 500px;
    padding: 40px 20px 60px;
  }
  
  .deco-shot-glass {
    width: 70px;
    height: 70px;
    left: 10%;
  }
  
  .deco-chicken {
    width: 100px;
    height: 100px;
    right: 10%;
  }
}

@keyframes bobble {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.bottle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.bottle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(130, 177, 255, 0.3) 0%, rgba(130, 177, 255, 0.15) 40%, transparent 70%);
  animation: pulse-glow 2s ease-in-out infinite;
  pointer-events: none;
  filter: blur(20px);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Info sections */
.info-grid {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.info-card {
  background: linear-gradient(135deg, rgba(105, 240, 174, 0.05), rgba(130, 177, 255, 0.05));
  border: 2px solid rgba(105, 240, 174, 0.2);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(105, 240, 174, 0.3);
  border-color: rgba(105, 240, 174, 0.5);
}

.info-card::before {
  content: '✧';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  opacity: 0.2;
  color: #69f0ae;
}

.info-card h3 {
  font-family: 'Pixelify Sans';
  font-weight: 500;
  font-size: 1.1rem;
  color: #69f0ae;
  margin-bottom: 20px;
  text-transform: lowercase;
}

.info-card p {
  font-family: 'Pixelify Sans';
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #c8e6c9;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Seamless Marquee */
.marquee-container {
  background: linear-gradient(90deg, #69f0ae 0%, #ff80ab 50%, #82b1ff 100%);
  padding: 10px 0;
  overflow: hidden;
  margin: 40px 0;
  position: relative;
}

/* Perfect Pairings Section */
.pairings-section {
  max-width: 1000px;
  margin: 80px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.pairings-title {
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #69f0ae 0%, #ff80ab 50%, #82b1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  animation: glow 3s ease-in-out infinite;
}

.pairings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.pairing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.pairing-item:hover {
  transform: translateY(-8px);
}

.pairing-icon {
  width: 100px;
  height: 100px;
  position: relative;
  animation: pairing-float 4s ease-in-out infinite;
}

.pairing-item:nth-child(1) .pairing-icon { animation-delay: 0s; }
.pairing-item:nth-child(2) .pairing-icon { animation-delay: 0.5s; }
.pairing-item:nth-child(3) .pairing-icon { animation-delay: 1s; }
.pairing-item:nth-child(4) .pairing-icon { animation-delay: 1.5s; }
.pairing-item:nth-child(5) .pairing-icon { animation-delay: 2s; }
.pairing-item:nth-child(6) .pairing-icon { animation-delay: 2.5s; }

.pairing-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(105, 240, 174, 0.2) 0%, transparent 70%);
  filter: blur(15px);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

.pairing-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 5px 15px rgba(105, 240, 174, 0.3));
}

.pairing-label {
  font-family: 'Pixelify Sans';
  font-weight: 500;
  font-size: 0.85rem;
  color: #69f0ae;
  text-align: center;
  line-height: 1.3;
}

@keyframes pairing-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 600px) {
  .pairings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .pairing-icon {
    width: 80px;
    height: 80px;
  }
}

.marquee {
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
}

.marquee__track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee-shift 40s linear infinite;
}

@keyframes marquee-shift {
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

.marquee span {
  font-family: 'Pixelify Sans';
  font-weight: 500;
  font-size: 1.00rem;
  color: #0a0e1a;
  padding: 0 0;
  display: inline-block;
}

/* Footer */
footer {
  text-align: center;
  margin-top: -20px;
  padding: 40px 20px 60px;
  font-family: 'Pixelify Sans';
  font-weight: 400;
  font-size: 0.8rem;
  color: #69f0ae;
  line-height: 2;
  position: relative;
}

.footer-deco-items {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  opacity: 0.3;
}

footer .footer-deco-items,
footer .footer-float { pointer-events: none; }

.footer-float {
  width: 50px;
  height: 50px;
  image-rendering: pixelated;
  animation: footer-item-float 5s ease-in-out infinite;
}

.footer-float:nth-child(1) { animation-delay: 0s; }
.footer-float:nth-child(2) { animation-delay: 1s; }
.footer-float:nth-child(3) { animation-delay: 2s; }

@keyframes footer-item-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

footer a {
  color: #ff80ab;
  text-decoration: none;
  border-bottom: 1px dotted #ff80ab;
}

.retro-badge {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  border: 2px dotted #69f0ae;
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-size: 0.8rem;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.5; }
}

/* Spark icon sizing */
img.spark {
  width: 3.2em;
  height: 1.0em;
  vertical-align: middle;
  display: inline-block;
  image-rendering: pixelated;
  pointer-events: none;
}


/* ===== Recipe Terminal Section ===== */
.recipe-terminal{
  max-width: 1000px;
  margin: 180px auto 180px;
  padding: 0 20px;
}
.terminal-header{
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem; /* per user spec */
  color: #69f0ae;
  text-align: center;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(105,240,174,.55);
  letter-spacing: .02em;
}
.terminal-window{
  background:#000;
  border: 2px solid #69f0ae;
  box-shadow: 0 0 20px rgba(105,240,174,.35);
  padding: 20px;
}
.terminal-title-bar{
  background: linear-gradient(90deg, #2d9f52, #76fbc2);
  margin:-20px -20px 20px -20px;
  padding:5px 10px;
  display:flex;
  gap:7px;
  align-items:center;
}
.terminal-button{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ff5f56;
}
.terminal-button:nth-child(2){background:#ffbd2e}
.terminal-button:nth-child(3){background:#27c93f}

/* Grid of 4 cards */
.recipes-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.recipe-card{
  background:#0b1020;
  border:1px dashed #69f0ae;
  cursor:pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  position:relative;
  outline:none;
}
.recipe-card:hover{ 
  transform: scale(1.05); 
  background: rgba(105, 240, 174, 0.1);
  border-style: solid; }

.recipe-icon {
  width: 50px;
  height: 50px;
  margin: 15px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(105,240,174,.25));
  animation: icon-blink 1.2s steps(2) infinite paused;
}

.recipe-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 6px rgba(105,240,174,.35));
  animation: icon-blink 1.2s steps(2) infinite;
}

.recipe-icon{ animation-play-state: running; }
@keyframes icon-blink{ 50%{opacity:.8; transform: translateY(-1px);} }

.recipe-name{
  font-family: 'Pixelify Sans', monospace;
  font-weight: 400;
  font-size: 0.9rem;
  color:#69f0ae;
  text-align: center;
}
.recipe-name::after{
  content:"";
  display:block;
  width: 70%;
  margin-bottom: 10px;
}

/* Content area (accordion) */
.recipe-content{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: max-height .45s ease, opacity .35s ease, transform .35s ease;
  color:#82b1ff;
  text-align: left;
  margin: 0 auto;
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  line-height: 1.5;
  width: 85%;
  padding-top: 10px;
  border-top: 1px dotted #69f0ae;
}
.recipe-card.open .recipe-content{
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 10px;
  padding-bottom: 10px;
}

.mono{ color:#69f0ae; }

.recipe-list{
  list-style: none;
  padding-left: 0;
  margin: 6px 0 16px;
}
.recipe-list li::before{
  content: "– ";
  color:#82b1ff;
}

/* Responsive */
@media (max-width: 1200px){ .recipes-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .recipes-grid{ grid-template-columns: 1fr;} .recipe-card{ min-height: 0; } }
@media (max-width: 1240px) { .anju-section { max-width: calc(100% - 40px); }
}

/* ========== Anju Section: Wood + Cinematic Lighting ========== */
.anju-section {
  /* layout */
  margin: 20px auto 180px;
  width: min(1100px, calc(100% - 40px));
  padding: 60px;
  box-sizing: border-box;
  text-align: center;
  z-index: 149;

  position: relative;
  isolation: isolate; /* keeps overlay from affecting outside */

  /* wood background (subtly dimmed & warmed) */
  background-image: url('../assets/wood-texture.png');
  background-repeat: repeat;
  background-size: 512px 512px;
  background-position: 0 0;
  background-color: rgba(45, 15, 15, 0.65); /* warm dim overlay */
  background-blend-mode: multiply;

  /* frame + soft neon rim glow */
  border: 2px solid #ff80ab;
  box-shadow:
    0 0 12px rgba(255, 128, 171, 0.4),
    0 0 25px rgba(255, 128, 171, 0.2),
    0 15px 40px rgba(0,0,0,0.5),
    0 5px 15px rgba(62,39,35,0.3);
}

/* keep content above the overlay */
.anju-section > * { position: relative; z-index: 1; }

/* ---------- Lighting Overlay (glow + sweep + occasional flicker) ---------- */
@keyframes light-sweep {
  0%   { background-position: -150% 0; opacity: 0.9;  filter: brightness(1);    }
  50%  { background-position:  150% 0; opacity: 1;    filter: brightness(1.08); }
  100% { background-position: -150% 0; opacity: 0.9;  filter: brightness(1);    }
}

@keyframes neon-flicker {
  0%, 98%, 100% { opacity: 1;   filter: brightness(1);   }
  99%           { opacity: 0.9; filter: brightness(0.95); } /* tiny dip */
}

.anju-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;

  /* Layer 1: soft overhead glow (static) */
  /* Layer 2: subtle moving shimmer (animated) */
  background:
    radial-gradient(
      150% 120% at 50% -40%,
      rgba(255, 235, 210, 0.25) 0%,
      rgba(45, 15, 15, 0.7) 60%,
      rgba(20, 10, 10, 0.9) 100%
    ),
    linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 240, 200, 0.05) 50%,
      rgba(255, 255, 255, 0) 80%
    );
  background-size: 200% 100%;

  /* run both animations together */
  animation:
    light-sweep 12s ease-in-out infinite,
    neon-flicker 30s step-end infinite;
  will-change: background-position, opacity, filter; /* perf hint */
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anju-section::before {
    animation: none;
    opacity: 0.98; /* keep a tiny static glow */
    filter: none;
  }
}

.anju-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0) 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* ensure grid sits above the overlay */
.anju-section > * { position: relative; z-index: 1; }

/* Header block sits above the wood box and shares the same max width */
.anju-header-block {
  margin: 70px auto 20px;                 /* top/bottom spacing */
  width: min(1200px, calc(100% - 40px));  /* match container width rule */
  text-align: center;
}

        .anju-header {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  color: #ff80ab;
  margin: 0 0 10px;
  text-shadow: 0 0 15px rgba(255, 128, 171, 0.5);
  animation: glow-pink 3s ease-in-out infinite;
}

        @keyframes glow-pink {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.3); }
        }

        .anju-subtitle {
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.9rem;
  color: #ffd180;
  margin: 0;                 /* tighter since it’s outside now */
  text-shadow: 0 2px 2px rgba(10,14,26,0.85);
  animation: glow-amber 3s ease-in-out infinite;
}

@keyframes glow-amber {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.3); }
        }

        .anju-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 60px; /* increased for balanced vertical space */
  align-items: start; /* ensures tooltips don't stretch the layout */
  justify-items: stretch;
}

/* step down columns at sensible breakpoints */
@media (max-width: 1100px) {
  .anju-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .anju-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .anju-grid { grid-template-columns: 1fr; }
}

        .anju-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
  transition: transform 0.3s ease;

  /* Background and border visibility fix */
  background: rgba(255, 128, 171, 0.08);  /* slightly higher opacity for clarity */
  border: 1.5px solid rgba(255, 128, 171, 0.5); /* stronger border visibility */
  border-radius: 10px;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  padding: 20px;
  min-height: 240px;
  box-sizing: border-box;
}

        .anju-item:hover { transform: translateY(-5px) scale(1.01); }
        box-shadow:
    0 0 12px rgba(255, 183, 77, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.25);
    
    .anju-item:hover .anju-label {
  color: #ffb74d;
  text-shadow: 0 0 8px rgba(255, 183, 77, 0.6);
}

        .anju-sprite {
            margin: 20px auto;
            display: block;
            filter: drop-shadow(0 5px 12px rgba(255, 128, 171, 0.6));
        }
        
        .anju-sprite img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 6px rgba(105,240,174,.35));
  animation: icon-blink 1.2s steps(2) infinite;
}


        .anju-label {
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.95rem;
  color: #ff80ab;
  display: absolute;
  padding: 4px 8px;
  margin-top: 0px;
  text-shadow: 0 1px 0 rgba(10,14,26,0.9);
}

        .anju-tooltip {
  position: absolute;
  bottom: calc(100% + 8px); /* small increase to lift tooltip higher */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(30, 15, 20, 0.85), rgba(10, 5, 10, 0.9));
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 183, 77, 0.4);
  padding: 10px;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.55rem;
  color: #ffd180;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
  border-radius: 4px;
}

.anju-item:hover .anju-tooltip {
  opacity: 1;
}

        /* "Save recipe" pill */
.heat-alert-icon {
  display: inline-flex;
  align-items: flex-end;   /* 👈 aligns the text to the bottom of the image */
  gap: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.65rem;
  color: #ffb74d; /* or #ff80ab */
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  animation: blink 2s infinite;
}

.heat-alert-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

        @keyframes blink {
            0%, 50%, 100% { opacity: 1; }
            25%, 75% { opacity: 0.3; }
        }