﻿/* ========================================
   DEPOSITOS TD - VARIABLES
   ======================================== */
:root {
    --depositostd-primary: #4b1ca4;
    --depositostd-primary-dark: #3a1580;
    --depositostd-primary-light: #6b2dd4;
    --depositostd-secondary: #d60739;
    --depositostd-secondary-dark: #b00530;
    --depositostd-accent: #4facfe;
    --depositostd-accent-dark: #0093ff;
    --depositostd-bg-light: #f8f9fa;
    --depositostd-bg-white: #ffffff;
    --depositostd-text-dark: #212529;
    --depositostd-text-muted: #6c757d;
    --depositostd-border-radius: 16px;
    --depositostd-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --depositostd-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --depositostd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   CONTAINER PRINCIPAL
   ======================================== */
.depositostd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    min-height: calc(100vh - 120px);
}

/* ========================================
   CARD PRINCIPAL
   ======================================== */
.depositostd-main-card {
    background: var(--depositostd-bg-white);
    border-radius: var(--depositostd-border-radius);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--depositostd-shadow);
    text-align: center;
    animation: depositostd-fade-in-up 0.6s ease-out;
}

.depositostd-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--depositostd-primary);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--depositostd-primary), var(--depositostd-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.depositostd-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--depositostd-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ========================================
   BOTONES PRINCIPALES
   ======================================== */
.depositostd-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 450px;
    margin: 0 auto;
}

.depositostd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 1.5rem 2.5rem;
    border: none;
    border-radius: var(--depositostd-border-radius);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--depositostd-transition);
    box-shadow: var(--depositostd-shadow);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .depositostd-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .depositostd-btn:hover::before {
        width: 300px;
        height: 300px;
    }

.depositostd-btn-primary {
    background: linear-gradient(135deg, var(--depositostd-primary), var(--depositostd-primary-light));
    color: white;
}

    .depositostd-btn-primary:hover {
        background: linear-gradient(135deg, var(--depositostd-primary-dark), var(--depositostd-primary));
        transform: translateY(-4px);
        box-shadow: var(--depositostd-shadow-hover);
    }

.depositostd-btn-secondary {
    background: linear-gradient(135deg, var(--depositostd-text-muted), #868e96);
    color: white;
}

    .depositostd-btn-secondary:hover {
        background: linear-gradient(135deg, #495057, var(--depositostd-text-muted));
        transform: translateY(-4px);
        box-shadow: var(--depositostd-shadow-hover);
    }

/* ========================================
   CARD DE OPCIONES
   ======================================== */
.depositostd-opciones-card,
.depositostd-lista-card {
    background: var(--depositostd-bg-white);
    border-radius: var(--depositostd-border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--depositostd-shadow);
    animation: depositostd-fade-in-up 0.6s ease-out;
}

.depositostd-opciones-grid,
.depositostd-lista-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ========================================
   LINKS DE OPCIONES
   ======================================== */
.depositostd-opcion-link,
.depositostd-lista-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 3rem 2rem;
    border-radius: var(--depositostd-border-radius);
    text-decoration: none;
    transition: var(--depositostd-transition);
    box-shadow: var(--depositostd-shadow);
    position: relative;
    overflow: hidden;
}

    .depositostd-opcion-link::before,
    .depositostd-lista-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .depositostd-opcion-link:hover::before,
    .depositostd-lista-link:hover::before {
        opacity: 1;
    }

    .depositostd-opcion-link:hover,
    .depositostd-lista-link:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--depositostd-shadow-hover);
    }

.depositostd-opcion-cen,
.depositostd-lista-cen {
    background: linear-gradient(135deg, var(--depositostd-accent) 0%, var(--depositostd-accent-dark) 100%);
}

.depositostd-opcion-icon,
.depositostd-lista-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: var(--depositostd-transition);
}

.depositostd-opcion-link:hover .depositostd-opcion-icon,
.depositostd-lista-link:hover .depositostd-lista-icon {
    transform: rotate(360deg) scale(1.1);
}

.depositostd-opcion-text,
.depositostd-lista-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.depositostd-opcion-badge,
.depositostd-lista-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes depositostd-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .depositostd-container {
        padding: 2rem 1.25rem;
    }

    .depositostd-title {
        font-size: 2.25rem;
    }

    .depositostd-subtitle {
        font-size: 1.75rem;
    }

    .depositostd-opciones-grid,
    .depositostd-lista-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

/* ========================================
   RESPONSIVE - MÓVIL
   ======================================== */
@media (max-width: 768px) {
    .depositostd-container {
        padding: 1.5rem 1rem;
    }

    .depositostd-main-card {
        padding: 2.5rem 1.5rem;
    }

    .depositostd-title {
        font-size: 2rem;
    }

    .depositostd-subtitle {
        font-size: 1.5rem;
    }

    .depositostd-actions {
        max-width: 100%;
    }

    .depositostd-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }

    .depositostd-opciones-grid,
    .depositostd-lista-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .depositostd-opcion-link,
    .depositostd-lista-link {
        padding: 2.5rem 1.5rem;
    }

    .depositostd-opcion-icon,
    .depositostd-lista-icon {
        width: 70px;
        height: 70px;
    }

    .depositostd-opcion-text,
    .depositostd-lista-text {
        font-size: 1.25rem;
    }
}

/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO
   ======================================== */
@media (max-width: 480px) {
    .depositostd-container {
        padding: 1rem 0.75rem;
    }

    .depositostd-main-card {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .depositostd-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .depositostd-subtitle {
        font-size: 1.375rem;
        margin-bottom: 2rem;
    }

    .depositostd-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
        gap: 0.75rem;
    }

        .depositostd-btn svg {
            width: 18px;
            height: 18px;
        }

    .depositostd-opciones-card,
    .depositostd-lista-card {
        padding: 2rem 1.25rem;
    }

    .depositostd-opcion-link,
    .depositostd-lista-link {
        padding: 2rem 1.25rem;
    }

    .depositostd-opcion-icon,
    .depositostd-lista-icon {
        width: 60px;
        height: 60px;
    }

    .depositostd-opcion-text,
    .depositostd-lista-text {
        font-size: 1.125rem;
    }

    .depositostd-opcion-badge,
    .depositostd-lista-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */
.depositostd-btn:focus,
.depositostd-opcion-link:focus,
.depositostd-lista-link:focus {
    outline: 3px solid var(--depositostd-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   SCROLLBAR PERSONALIZADO (WEBKIT)
   ======================================== */
.depositostd-container::-webkit-scrollbar {
    width: 8px;
}

.depositostd-container::-webkit-scrollbar-track {
    background: var(--depositostd-bg-light);
}

.depositostd-container::-webkit-scrollbar-thumb {
    background: var(--depositostd-primary-light);
    border-radius: 10px;
}

    .depositostd-container::-webkit-scrollbar-thumb:hover {
        background: var(--depositostd-primary);
    }
