/* === Generator Page Specific === */
.generator-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.generator-section h2 {
  font-size: 1.15rem;
  color: #1a73e8;
  margin-bottom: 8px;
  text-align: center;
}

.generator-section p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  text-align: center;
}

/* === Checkbox Grid === */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
  user-select: none;
}

.checkbox-grid label:hover {
  border-color: #1a73e8;
  background-color: #e8f0fe;
}

.checkbox-grid input[type="checkbox"] {
  display: none;
}

.checkbox-grid input[type="checkbox"]:checked + span {
  /* handled by label style below */
}

.checkbox-grid label.checked {
  background-color: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

/* === Generate Button === */
.generate-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 3px 8px rgba(26,115,232,0.3);
}

.generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(26,115,232,0.4);
}

.generate-btn:active {
  transform: translateY(0);
}

/* === Result Area === */
.result-area {
  text-align: center;
  min-height: 60px;
  padding: 16px 0;
  font-size: 1rem;
}

.result-area .lucky-number {
  margin: 4px;
}

.loading-text {
  color: #1a73e8;
  font-weight: 600;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero h1 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 4px;
}

.hero .subtitle {
  font-size: 0.95rem;
  color: #666;
}

/* === Responsive === */
@media (max-width: 480px) {
  .checkbox-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .checkbox-grid label {
    padding: 8px 2px;
    font-size: 0.85rem;
  }

  .generator-section {
    padding: 16px 12px;
  }

  .generate-btn {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .hero h1 {
    font-size: 1.3rem;
  }
}
