/* REDISEÑO VISUAL COMPLETO: Moderno, tecnológico, seguro y seductor */

/* 1. Glassmorphism refinado */
.glass-panel {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.2);
}

/* 2. Gradientes suaves */
.bg-gradient-radial {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}
.text-gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #FFF2CD 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* 3. Tipografía jerarquizada (uso directo en HTML con utilidades o etiquetas) */
.title-huge {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}
.fw-300 { font-weight: 300; }
.fw-700 { font-weight: 700; }

/* 4. Micro-animaciones */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hover-scale:hover {
    transform: scale(1.03);
}
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.8);
}

/* 6. CTAs irresistibles */
.btn-gold-glow {
    background: linear-gradient(135deg, #C5A059 0%, #D4AF37 100%);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    display: inline-block;
}
.btn-gold-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    color: #000;
}

/* ========================================= */
/* ESPECÍFICOS DE VISTAS                     */
/* ========================================= */

/* HOME - Hero Section */
.hero-redesigned {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    padding-bottom: 8vw;
    background: #000;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}
.hero-overlay-lateral {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0) 100%);
}

/* HOME - Inspiración Semanal (Catalog Preview) */
.profile-card-hero {
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative;
    display: block;
    transition: transform 0.3s ease;
}
.profile-card-hero:hover {
    transform: scale(1.03);
}
.profile-hero-hover-text {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 10;
}
.profile-card-hero:hover .profile-hero-hover-text {
    opacity: 1;
}
.profile-card-hero .profile-hero-overlay {
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px !important;
    z-index: 20;
}

/* HOME - Cómo Funciona */
.step-number-bg {
    position: absolute;
    font-size: 6rem;
    font-weight: 700;
    color: #D4AF37;
    opacity: 0.05;
    top: -20px;
    left: 20px;
    z-index: 0;
}
.step {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 16px;
    background: rgba(20,20,20,0.4);
}
/* Línea conectora en desktop */
@media (min-width: 768px) {
    .steps-container {
        position: relative;
    }
    .steps-container::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 5%;
        right: 5%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
        opacity: 0.3;
        background-size: 10px 2px;
        z-index: 0;
    }
}

/* FOOTER */
.footer-redesigned {
    border-top: 2px solid transparent !important;
    border-image: linear-gradient(to right, transparent, #D4AF37, transparent) 1 !important;
}
.footer-redesigned .social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}
.footer-redesigned .social-icon:hover {
    transform: scale(1.2);
    color: #D4AF37 !important;
}

/* LOGIN */
.login-split {
    display: flex;
    min-height: 100vh;
    background: #000;
}
.login-left {
    flex: 1;
    background: url("../images/hero_couple.4192a039ec32.jpg") center/cover;
    position: relative;
    display: none;
}
.login-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
}
.login-left-content {
    position: relative;
    z-index: 10;
    padding: 4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at center, #111, #000);
}
@media (min-width: 900px) {
    .login-left { display: block; }
}
.login-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}
.login-input:focus {
    border-color: #D4AF37 !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

/* CATALOGO VERTICAL */
.pill-filter {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pill-filter.active {
    background: #D4AF37;
    color: #000;
    font-weight: 600;
}
.card-photo-large {
    min-height: 480px;
    object-fit: cover;
}
.card-header-floating {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 30px 20px 20px 20px;
    z-index: 2;
}
.btn-like-floating {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 5 !important;
    background: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.btn-like-floating:active {
    transform: scale(0.9);
}
.btn-like-floating:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}
.btn-conoceme-full {
    width: 100%;
    background: #D4AF37;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: none;
    transition: background 0.3s;
}
.btn-conoceme-full:hover {
    background: #E5C158;
}
.widget-gold-border {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 15px !important;
    background: rgba(30,30,30,0.6) !important;
}
.match-avatar-gold {
    border: 2px solid #D4AF37 !important;
}

/* DASHBOARDS */
.metric-card-gradient {
    position: relative;
    overflow: hidden;
}
.metric-card-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--metric-color, rgba(255,255,255,0.1)) 0%, transparent 70%);
    opacity: 0.1;
}
.action-card {
    min-width: 250px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.action-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.action-card:hover .action-arrow {
    transform: translateX(5px);
    color: #D4AF37;
}

/* ONBOARDING STEPPER */
.stepper-container {
    display: flex;
    justify-content: space-around;
    padding: 2rem 0;
}
.step-item {
    text-align: center;
    position: relative;
    flex: 1;
}
.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid #D4AF37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #D4AF37;
    box-shadow: 0 0 15px rgba(212,175,55,0.2);
}
.step-item::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: dashed 2px rgba(212,175,55,0.3);
}
.step-item:last-child::after { display: none; }

/* ANIMACIONES */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up-anim {
    animation: fadeInUp 0.5s ease forwards;
}

/* HEARTS FIX ACTION */
.btn-heart-action-circle {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    z-index: 50 !important;
    background: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid rgba(255,255,255,0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    overflow: hidden !important;
}

.btn-heart-action-circle.liked {
    border-color: #ff4757 !important;
    background: rgba(0,0,0,0.7) !important;
}

.btn-heart-action-circle span {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
