
/* Referidos Page Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 181, 24, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.glass-card.popular {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.glass-card.popular:hover {
    transform: scale(1.07) translateY(-10px);
}

.tier-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.glass-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tier-desc {
    color: #aaa;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tier-discount {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.tier-discount .percent {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #7cb518;
    line-height: 1;
    text-shadow: 0 0 15px rgba(124, 181, 24, 0.3);
}

.tier-discount .label {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 5px;
    letter-spacing: 1px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7cb518, #a8ff78);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(124, 181, 24, 0.5);
    transition: width 1s ease;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(124, 181, 24, 0.6);
    transform: translateY(-3px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Animations */
.glass-card {
    animation: fadeInUp 0.8s ease backwards;
}

.glass-card:nth-child(1) { animation-delay: 0.2s; }
.glass-card:nth-child(2) { animation-delay: 0.4s; }
.glass-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
