:root {
  --color-principal: #50c878;
  --fondo-oscuro: #1a1a1a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--fondo-oscuro);
  color: #fff;
  padding: 20px;
}

/* Portada y perfil */
.cover-container {
  max-width: 800px;
  margin: 0 auto 25px;
}

.cover {
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cover-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-container {
  display: flex;
  align-items: flex-start;
  margin-top: -60px;
  margin-left: 20px;
  gap: 20px;
  position: relative;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  position: relative;
  top: -10px;
}

.profile-info {
  flex: 1;
  margin-top: 70px;
}

.profile-info h1 {
  font-size: 22px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 5px;
}

.bio-text {
  color: #eee;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Biocard para botones */
.links-container {
  background-color: #252525;
  border-radius: 12px;
  padding: 25px 20px;
  max-width: 800px;
  margin: 0 auto 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Botones */
.social-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 auto 20px;
  padding: 0;
}

.vip-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 15px auto 0;
  padding: 0;
}

.btn-ropa, .btn-ropa-vip {
  background: linear-gradient(145deg, #4be188, #3cb56e);
  padding: 14px 24px;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #2a7f5a, 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.btn-ropa:hover, .btn-ropa-vip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #256b4e, 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-ropa:active, .btn-ropa-vip:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #1e5c42;
}

.btn-ropa img, .btn-ropa-vip img {
  width: 20px;
  height: 20px;
}

/* Modal VIP */
.vip-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.vip-modal.hidden {
  display: none;
}

.vip-box {
  background: #292929;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 90%;
  width: 400px;
}

.vip-icon {
  width: 60px;
  margin-bottom: 15px;
}

.vip-box p {
  margin-bottom: 20px;
}

.vip-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
  font-size: 16px;
}

.vip-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.vip-actions button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.vip-actions button:first-child {
  background-color: var(--color-principal);
  color: white;
}

.vip-actions button:last-child {
  background-color: #555;
  color: white;
}

/* Responsive */
@media (max-width: 600px) {
  .cover {
    height: 160px;
  }
  
  .profile-container {
    margin-top: -45px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .profile-avatar {
    width: 100px;
    height: 100px;
    top: -10px;
    margin-bottom: 5px;
  }
  
  .profile-info {
    margin-top: -30px;
    margin-left: 0;
  }
  
  .profile-info h1 {
    font-size: 20px;
  }
  
  .btn-ropa, .btn-ropa-vip {
    padding: 12px 18px;
    font-size: 15px;
  }
  
  .vip-box {
    padding: 20px;
  }
  
  .links-container {
    padding: 20px 15px;
  }
  
  .social-buttons {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 15px;
  }
  
  .vip-section {
    margin-top: 10px;
  }
}