/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #FF5F6D, #FFC371);
  color: #ffffff;
  overflow-x: hidden;
}

header {
  background: linear-gradient(to right, #FF416C, #FF4B2B);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 2rem;
}

#exitBtn {
  background: linear-gradient(to right, #00c6ff, #007cf0);
  border: none;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

#exitBtn:hover {
  opacity: 0.8;
}

.intro {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 20px;
  border-radius: 10px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card {
  background: linear-gradient(to top left, #2C3E50, #34495E);
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  transition: transform 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.card:hover {
  transform: scale(1.05);
}

.card button {
  margin-top: 10px;
  padding: 8px;
  width: 100%;
  background: #00c6ff;
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.8);
}

.modal-content {
  background: linear-gradient(to bottom, #232526, #414345);
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  position: relative;
  color: #ffffff;
}

.modal-content h3 {
  margin-bottom: 10px;
}

.modal iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 10px;
  margin-top: 15px;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #00c6ff;
}

/* Pie de página */
footer {
  background: #1C1C1C;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 5px 0;
  font-size: 1rem;
}
