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

body {
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  line-height: 1.6;
}

.container {
  text-align: center;
  max-width: 450px;
  width: 100%;
  background: rgba(20, 20, 25, 0.95);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
              0 1px 3px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f0db4f, #d4af37);
  z-index: 2;
}

.avatar-container {
  margin-bottom: 1.5rem;
}

.avatar {
  width: 130px;
  height: 130px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 4px solid #f0db4f;
  box-shadow: 0 0 20px rgba(240, 219, 79, 0.2);
  transition: all 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(240, 219, 79, 0.3);
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(30, 30, 35, 0.8);
  color: #f5f5f5;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.links a:hover {
  transform: translateY(-2px);
  background: rgba(40, 40, 45, 0.9);
  border-color: rgba(240, 219, 79, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.links a i {
  font-size: 1.1rem;
  color: #f0db4f;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: #888;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #f0db4f;
  transform: translateY(-2px);
}

footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #666;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }
  
  .container {
    padding: 1.5rem;
  }
  
  .avatar {
    width: 110px;
    height: 110px;
  }
  
  h1 {
    font-size: 1.7rem;
  }
}

/* Estilos para el botón y los videos */
.courses-button {
  display: block;
  width: 100%;
  background: rgba(30, 30, 35, 0.8);
  color: #f0db4f;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 219, 79, 0.3);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1.5rem 0;
  text-align: center;
}

.courses-button:hover {
  background: rgba(40, 40, 45, 0.9);
  transform: translateY(-2px);
}

.courses-button i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.video-container {
  display: none;
  width: 100%;
  margin-bottom: 1.5rem;
}

.video-container.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

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