/* styles-vip.css - Unified and enhanced VIP styles */

/* ========== ROOT VARIABLES ========== */
:root {
  --vip-gold: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
  --vip-gold-light: linear-gradient(135deg, #FFE55C, #FFB347, #FF9A3D);
  --vip-diamond: linear-gradient(135deg, #B9F2FF, #7BD4FF, #4DC3FF);
  --vip-premium: linear-gradient(135deg, #8B5CF6, #7C3AED, #6D28D9);
  --vip-success: linear-gradient(135deg, #10B981, #059669, #047857);
  --text-color: #ffffff;
  --text-light: #cccccc;
  --primary-color: #667eea;
  --success-color: #10B981;
  --vip-red: #ef4444;
  --radius: 12px;
  --transition: all 0.3s ease;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========== VIP USER-SPECIFIC STYLES ========== */

/* Hide elements for VIP users */
body.vip-user .vip-banner,
body.vip-user .comparison-section,
body.vip-user .feature-vip {
  display: none !important;
}

/* Enhanced VIP user panel */
body.vip-user .cinelink-user-panel {
  margin-bottom: 1rem;
}

body.vip-user .cinelink-user-info {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(139, 92, 246, 0.1));
  border: 2px solid rgba(255, 215, 0, 0.4);
  padding: 0.8rem 1.2rem;
  backdrop-filter: blur(15px);
  animation: vipGlow 3s ease-in-out infinite;
}

@keyframes vipGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

/* VIP title badge */
.vip-title-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--vip-gold);
  color: #1a1a2e;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
  animation: badgeFloat 3s ease-in-out infinite;
  display: none;
}
.pro-badge {
            top: -8px;
            right: -10px;
            background: var(--vip-gold);
            color: #1a1a2e;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
            animation: badgeFloat 3s ease-in-out infinite;
            display: inline-block;
        }
        @media (max-width: 600px) {
            .password-container input {
                padding-right: 35px;
            }
            .password-container .toggle-password {
                font-size: 1em;
                right: 8px;
            }
        }

body.vip-user .vip-title-badge {
  display: block;
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

/* VIP welcome section */
.vip-welcome-section {
  display: none;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

body.vip-user .vip-welcome-section {
  display: block;
  animation: slideInDown 0.6s ease-out;
}

.vip-welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.vip-welcome-content {
  position: relative;
  z-index: 1;
}

.vip-welcome-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-5px) scale(1.1);
  }
  60% {
    transform: translateY(-2px) scale(1.05);
  }
}

.vip-welcome-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.vip-welcome-subtitle {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.vip-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.vip-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.vip-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.vip-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* VIP active benefits */
.vip-active-benefits {
  display: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  backdrop-filter: blur(10px);
}

body.vip-user .vip-active-benefits {
  display: block;
}

.vip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.vip-benefit-active {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border-left: 4px solid var(--success-color);
}

.vip-benefit-active.unlocked {
  border-left-color: #FFD700;
}

.vip-benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--vip-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.vip-benefit-active.unlocked .vip-benefit-icon {
  background: var(--vip-gold);
}

.vip-benefit-text h4 {
  margin: 0 0 0.2rem 0;
  font-size: 0.9rem;
  color: var(--text-color);
}

.vip-benefit-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* VIP banner (non-VIP users) */
.vip-banner {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  backdrop-filter: blur(10px);
}

.vip-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vip-icon {
  width: 50px;
  height: 50px;
  background: var(--vip-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #1a1a2e;
}

.vip-text h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
  font-size: 1.2rem;
}

.vip-highlight {
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.vip-text p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Comparison section (non-VIP users) */
.comparison-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 1.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.comparison-card {
  background: rgba(15, 23, 42, 0.8);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vip-tier {
  border-color: rgba(255, 215, 0, 0.5);
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
}

.vip-tier::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vip-gold);
  color: #1a1a2e;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-header h4 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.vip-tier .tier-header h4 {
  color: #FFD700;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.vip-price {
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.tier-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.tier-features .fa-check {
  color: var(--success-color);
}

.tier-features .fa-times {
  color: var(--vip-red);
}

.feature-disabled {
  opacity: 0.6;
  text-decoration: line-through;
}

.vip-tier .tier-features li {
  color: var(--text-color);
}

/* VIP upgrade button */
.btn-vip-upgrade {
  width: 100%;
  background: var(--vip-gold);
  color: #1a1a2e;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-vip-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* VIP form enhancements */
body.vip-user .form-group label {
  color: #FFD700;
}

body.vip-user .input-container textarea {
  border-color: rgba(255, 215, 0, 0.3);
}

body.vip-user .input-container textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

body.vip-user .btn-full {
  background: var(--vip-gold);
  color: #1a1a2e;
  font-weight: 800;
}

body.vip-user .btn-full:hover {
  background: var(--vip-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Enhanced VIP features */
body.vip-user .feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

body.vip-user .feature:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
}

.feature-vip .feature-icon {
  background: var(--vip-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* VIP footer */
body.vip-user .footer-brand {
  position: relative;
}

.vip-footer-glory {
  display: none;
  position: absolute;
  top: -10px;
  right: 0;
  background: var(--vip-gold);
  color: #1a1a2e;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
}

body.vip-user .vip-footer-glory {
  display: block;
}

.vip-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* VIP links and modal */
.vip-link {
  color: #FFD700 !important;
  font-weight: 600;
}

.vip-contact-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.vip-contact-link:hover {
  text-decoration: underline;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-light);
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}

.modal-footer-text {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ========== ANIMATIONS AND EFFECTS ========== */

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vipPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  }
}

@keyframes premiumGlow {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.2);
  }
}

/* Particle effects */
.vip-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vip-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  animation: floatParticle 6s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ========== LINK STYLES (Standard vs Premium) ========== */

/* Estilos para enlaces estándar */
.result-content .link-standard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left: 4px solid #5a6fd8;
}

.result-content .link-standard:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Estilos para enlaces premium */
.result-content .link-premium {
    background: var(--vip-gold);
    border-left: 4px solid #FF8C00;
}

.result-content .link-premium:hover {
    background: var(--vip-gold-light);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Badge para enlaces premium */
.premium-badge {
    display: inline-block;
    background: var(--vip-gold);
    color: #1a1a2e;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Ajustes para el contenedor de resultados */
.result-content .link-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para los títulos de enlaces */
.result-content .link-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilos para los botones de copiar */
.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Estilos para el texto del enlace */
.link-url {
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 0.5rem;
}

/* ========== RESPONSIVE STYLES ========== */

@media (max-width: 768px) {
  .vip-title-badge {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 0.5rem;
    display: inline-block;
  }

  .vip-welcome-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .vip-welcome-icon {
    font-size: 2.5rem;
  }

  .vip-welcome-title {
    font-size: 1.3rem;
  }

  .vip-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .vip-stat {
    padding: 0.8rem;
  }

  .vip-stat-number {
    font-size: 1.3rem;
  }

  .vip-benefits-grid {
    grid-template-columns: 1fr;
  }

  .vip-benefit-active {
    padding: 0.6rem;
  }

  .vip-footer-glory {
    position: relative;
    top: 0;
    margin-top: 0.5rem;
    display: block !important;
  }

  .vip-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-section {
    padding: 1.5rem;
  }

  .result-content .link-item {
    padding: 0.8rem;
  }

  .result-content .link-title {
    font-size: 0.9rem;
  }

  .copy-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .vip-stats {
    grid-template-columns: 1fr;
  }

  .vip-welcome-section {
    padding: 0.8rem;
  }

  .vip-active-benefits {
    padding: 1rem;
  }

  body.vip-user .cinelink-user-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .result-content .link-item {
    padding: 0.6rem;
  }

  .result-content .link-title {
    font-size: 0.85rem;
  }

  .link-url {
    font-size: 0.8rem;
  }
}

/* Premium glow effect */
.premium-glow {
  animation: premiumGlow 2s ease-in-out infinite alternate;
}
/* ===== ESTILOS MEJORADOS PARA ENLACES PREMIUM ===== */
.premium-links-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.premium-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    z-index: 1;
}

.premium-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #FFD700;
}

.premium-icon {
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.premium-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #FFD700;
}

.premium-description {
    color: #e0e0e0;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.premium-link-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(5px);
}

.premium-link-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FFD700;
    font-size: 0.95rem;
    gap: 8px;
}

.premium-link-label i {
    font-size: 1rem;
}

.premium-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.premium-link-url {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #ffffff;
    word-break: break-all;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.premium-link-url:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}

.premium-copy-btn {
    background: rgba(255, 215, 0, 0.2);
    border: none;
    border-radius: 4px;
    color: #FFD700;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: 10px;
    white-space: nowrap;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.premium-copy-btn:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.premium-copy-btn i {
    margin-right: 5px;
}