/* =============================
   COUNTDOWN + RECIPE CONTAINER
   ============================= */
.countdown-recipe-container {
  display: flex;
  gap: 15px;
  align-items: stretch;
}

.countdown-recipe-container .countdown-widget {
  flex: 1;
}

/* 
=============================
  HALLOWEEN COUNTDOWN STYLES
  Adapted from original design
=============================
*/

/* Main Widget Container */
.countdown-widget {
  background: linear-gradient(135deg, #1a1a1a, #2d1b00);
  color: #ff6b00;
  border: 2px solid #ff6b00;
  padding: 12px;
}

/* Widget Title */
.countdown-widget .widget-title {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
    text-align: center;
    display: flex;
    gap: 6px;
    font-size: 1em;
    align-items: center;
    padding-bottom: 3px;
    margin: 0;
}

/* Glowing Pumpkin Animation */
.pumpkin-glow {
  display: inline-block;
  animation: pumpkinGlow 1.5s ease-in-out infinite;
}

@keyframes pumpkinGlow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 3px #ff6b00);
  }
  50% {
    filter: brightness(1.8) 
            drop-shadow(0 0 15px #ff8800) 
            drop-shadow(0 0 25px #ffaa00);
  }
}

/* 2x2 Grid Layout */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 10px;
}

/* Individual Countdown Boxes */
.countdown-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px 5px 2px 5px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
    gap: 3px;
}

.countdown-box:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.5);
  transform: translateY(-2px);
}

/* Countdown Numbers */
.countdown-number {
  font-size: 1rem;
  font-weight: 700;
  color: #ff9d00;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Countdown Labels */
.countdown-label {
  font-size: 0.8rem;
  color: #ff6b00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive - Mobile Styles */
@media (max-width: 480px) {
  .countdown-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
  
  .countdown-box {
    padding: 12px;
  }
  
  .countdown-label {
    font-size: 0.7rem;
  }
}

/* =============================
   RECIPE BUTTON
   ============================= */
.recipe-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  padding: 20px 15px;
}

.recipe-button {
  display: flex;
  flex-direction: row; /* Changed from column */
  align-items: center;
  justify-content: center;
  gap: 12px; /* Increased gap for horizontal spacing */
  min-width: 140px;
  padding: 0 15px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #fff;
  font-family: 'Comic Sans MS', ui-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.recipe-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.recipe-button:hover::before {
  transform: scale(1);
}

.recipe-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(157, 127, 213, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--light-grey);
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}


.recipe-icon {
  font-size: 2.5em;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.recipe-button:hover .recipe-icon {
  transform: rotate(15deg) scale(1.1);
}

.recipe-text {
  font-size: 0.95em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 768px) {
  .countdown-recipe-container {
    flex-direction: column;
  }
  
  .recipe-button {
    min-width: auto;
    flex-direction: row;
    padding: 15px 20px;
    gap: 12px;
  }
  
  .recipe-icon {
    font-size: 1.8em;
  }
  
  .recipe-text {
    font-size: 1em;
  }
}
