* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 50%, #ee5a24 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 480px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.3s ease;
}

.title {
  font-size: 28px;
  font-weight: 900;
  color: #2d3436;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Food Display */
.food-display {
  background: linear-gradient(135deg, #fff5f0 0%, #fff0e6 100%);
  border-radius: 20px;
  padding: 36px 24px;
  margin-bottom: 28px;
  border: 2px dashed #ffc8a8;
  transition: all 0.3s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.food-display.rolling {
  border-color: #ff6b6b;
  background: linear-gradient(135deg, #fff0e6 0%, #ffe0cc 100%);
  animation: pulse-border 0.3s ease infinite alternate;
}

.food-display.result {
  border-color: #ff6b6b;
  border-style: solid;
  background: linear-gradient(135deg, #fff0e6 0%, #ffe8d6 100%);
  animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.food-emoji {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.food-name {
  font-size: 28px;
  font-weight: 700;
  color: #2d3436;
}

.food-display.result .food-name {
  color: #ee5a24;
}

/* Button */
.pick-btn {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
  width: 100%;
  letter-spacing: 2px;
}

.pick-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(238, 90, 36, 0.4);
}

.pick-btn:active:not(:disabled) {
  transform: translateY(0);
}

.pick-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* Filing */
.filing {
  text-align: center;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filing-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.filing-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes pulse-border {
  from {
    border-color: #ff6b6b;
  }
  to {
    border-color: #ffc8a8;
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .title {
    font-size: 22px;
  }

  .food-emoji {
    font-size: 44px;
  }

  .food-name {
    font-size: 22px;
  }

  .food-display {
    padding: 28px 16px;
    min-height: 130px;
  }

  .pick-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  .filing {
    padding: 12px 16px 16px;
  }

  .filing-item {
    font-size: 11px;
  }
}