* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Tahoma", sans-serif;
  background: linear-gradient(135deg, #234235 30%, #276e51 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-family: "Brandon", sans-serif;
  text-align: center;
  color: white;
  margin-bottom: 30px;
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

o2 {
  font-family: "Brandon", sans-serif;
  text-align: center;
  color: black;
  margin-bottom: 15px;
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card.selected {
  background: linear-gradient(135deg, #c80b0b 0%, #d83306 100%);
  color: white;
  transform: scale(1.05);
}

.card.disabled {
  background: #e9ecef;
  color: #6c757d;
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card.disabled::before {
  display: none;
}

.card.disabled:hover {
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  opacity: 0.8;
}

.content-area {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-height: 400px;
  display: none;
}

.content-area.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.output-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.output-item:hover {
  transform: scale(1.05);
}

.output-item img {
  width: 90%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.output-item h4 {
  color: #333;
  margin-bottom: 10px;
}

.output-item p {
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 300px;
  }

  h1 {
    font-size: 3rem;
  }
}
