html {
    scroll-behavior: smooth;
}

/* Custom styles for Food Pic Give */
.hero-bg {
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 102, 0, 0.05), transparent 30%),
        radial-gradient(circle at 80% 90%, rgba(255, 102, 0, 0.05), transparent 30%),
        linear-gradient(135deg, #fff7f0 0%, #ffffff 100%);
    background-size: cover;
    background-position: center;
}

.progress-bar {
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.upload-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ffcc00 100%);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.upload-btn:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ffb300 100%);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.food-example-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.08);
    background: #fff;
    border: 2px solid #fff;
    display: block;
}

.modal-overlay.active{opacity:1;pointer-events:auto}

/* Яркая кнопка оранжевая */
.bg-orange {
  background: linear-gradient(135deg, #ff6600 0%, #ffcc00 100%);
}
.bg-orange-hover:hover {
  background: linear-gradient(135deg, #e55a00 0%, #ffb300 100%);
}

/* Призы */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* two cards per row */
  gap: 40px;
  justify-items: center;                   /* centers cards in their cells */
}
@media (max-width: 768px) {
  .prize-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
  }
}
.prize-card {
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  background: #FFF9EF;
}
.prize-card img {
  width: 80%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}
.prize-card h3 { font-size: 1.4rem; margin: 0 0 4px; }
.prize-card p  { font-size: .9rem; letter-spacing: .04em; }
@media (max-width: 480px) {
  .prize-grid { grid-template-columns: 1fr; gap: 20px; }
  .prize-card { padding: 24px 16px; }
} 