/*
  ============================================================
  ESTILO "AuraFi" v4.0 (Edición de Enfoque)
  ============================================================
  - Nuevo diseño "Formulario Destacado" para páginas de acción.
  - Estilos de input elegantes y centrados.
  - Iconografía de fondo para un diseño único.
  - Coherencia de diseño aplicada a todas las páginas de formularios.
*/

/* --- SECCIÓN 1: CONFIGURACIÓN GLOBAL Y FUENTE --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta de Colores "AuraFi" */
    --background-dark: #0d1117;
    --glass-bg: rgba(30, 36, 49, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --glow-primary: #00e5ff; /* Cian brillante */
    --glow-secondary: #ff00e5; /* Magenta brillante */

    --text-primary: #e6f1ff; /* Texto principal (casi blanco) */
    --text-secondary: #8a96b1; /* Texto secundario (gris azulado) */
    
    --green-success: #00ff9d;
    --red-danger: #ff4d6d;
    
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Tamaños */
    --sidebar-width: 240px;
    --header-height: 70px;
    --footer-height-mobile: 65px;
    --border-radius: 16px;
}

/* --- SECCIÓN 2: RESET Y FONDOS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fondo Aurora (Por defecto) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: 
        radial-gradient(circle at 15% 25%, var(--glow-primary), transparent 25%),
        radial-gradient(circle at 85% 75%, var(--glow-secondary), transparent 25%);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -2;
    animation: animateAurora 20s ease-in-out infinite alternate;
}

body.bg-image::before,
body.bg-video::before {
    display: none;
}

@keyframes animateAurora {
    from { transform: rotate(0deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1.8); }
}

.background-video {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
    opacity: 0.15;
}

/* --- SECCIÓN 3: LAYOUT PRINCIPAL --- */
.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

.sidebar-nav {
    display: none;
    width: var(--sidebar-width);
    flex-shrink: 0;
    padding: 25px 15px;
    z-index: 10;
    position: fixed;
    height: 100vh;
}

.sidebar-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.sidebar-nav-item i {
    margin-right: 15px;
    font-size: 20px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(5px);
}
.sidebar-nav-item.active {
    background-color: var(--glow-primary);
    color: var(--background-dark);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}
.sidebar-nav-item.active i {
    transform: scale(1.1);
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-bottom: var(--footer-height-mobile);
}

.header {
    height: var(--header-height);
    margin: 20px 20px 0 20px;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    display: flex; /* Para centrar el form-card */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.layout-centered-content .main-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center;    /* Centra horizontalmente */
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* --- SECCIÓN 4: COMPONENTES --- */

.info-container {
    padding: 25px;
    margin-bottom: 30px;
    width: 100%;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.data-grid-item {
    background-color: rgba(0,0,0,0.15);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
}
.data-grid-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.data-grid-item .value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.link-as-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    min-height: 100px;
    text-decoration: none;
    border-radius: 12px;
    color: var(--text-secondary);
    background-color: rgba(0,0,0,0.15);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    text-align: center;
}
.link-as-button i {
    font-size: 24px;
    color: var(--glow-primary);
    transition: all 0.3s ease;
    margin: 0;
}
.link-as-button:hover {
    color: var(--text-primary);
    background-color: rgba(0,0,0,0.3);
    border-color: var(--glow-primary);
    transform: translateY(-5px);
}
.link-as-button:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--glow-primary);
}

.btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}
.btn-primary {
    background-image: linear-gradient(90deg, var(--glow-primary) 0%, var(--glow-secondary) 100%);
    color: var(--background-dark);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 0, 229, 0.5);
}

/* --- SECCIÓN 5: NUEVO FORMULARIO DESTACADO --- */
.form-card {
    width: 100%;
    max-width: 500px; /* Ancho máximo para el formulario */
    padding: 40px;
    text-align: center;
    position: relative; /* Para el icono de fondo */
    overflow: hidden; /* Para contener el icono de fondo */
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.form-card::after {
    content: '\f155'; /* Icono de dólar de Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: -50px;
    right: -30px;
    font-size: 200px;
    color: var(--glass-border);
    opacity: 0.3;
    transform: rotate(-20deg);
    z-index: -1;
}
.form-card-header {
    margin-bottom: 30px;
}
.form-card-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}
.form-card .form-group {
    margin-bottom: 25px;
    text-align: left;
}
.form-card .large-input-group {
    display: flex;
    align-items: baseline;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 10px;
    transition: border-color 0.3s ease;
}
.form-card .large-input-group:focus-within {
    border-color: var(--glow-primary);
}
.form-card .currency-symbol {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 10px;
}
.form-card .amount-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 700;
    padding: 0;
}
.form-card .amount-input:focus {
    outline: none;
}
/* Para ocultar las flechas del input number */
.form-card .amount-input::-webkit-outer-spin-button,
.form-card .amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.form-card .amount-input[type=number] {
    -moz-appearance: textfield;
}
.form-card .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background-color: rgba(0,0,0,0.2);
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}
.form-card .form-group input:focus {
    outline: none;
    border-color: var(--glow-primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.deposit-card-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}
.deposit-card-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.deposit-card-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.deposit-details-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna por defecto en móvil */
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) { /* Dos columnas en pantallas más grandes */
    .deposit-details-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.qr-section {
    text-align: center;
}
.qr-section .label {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.qr-frame {
    display: inline-block;
    padding: 15px;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.data-pods-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.data-pod {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}
.data-pod .pod-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.data-pod .pod-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.data-pod .pod-value {
    font-size: 1.5rem;
    font-weight: 600;
    word-break: break-all;
}
.data-pod .pod-value.gradient-text {
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem; /* Más grande para el monto */
}
.data-pod .pod-value.monospace {
    font-family: var(--text-monospace);
    font-size: 1.1rem; /* Más legible para la dirección */
}
.data-pod .pod-copy-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}
.data-pod .pod-copy-btn:hover {
    border-color: var(--glow-primary);
    color: var(--glow-primary);
}
.data-pod .pod-copy-btn.copied {
    border-color: var(--green-success);
    color: var(--green-success);
}


/* --- SECCIÓN 5: NUEVO PANEL DE NOTIFICACIONES --- */
.notification-container { position: relative; }
.notification-icon-wrapper {
    cursor: pointer;
    position: relative;
    padding: 10px;
}
.notification-icon {
    font-size: 22px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.notification-icon-wrapper:hover .notification-icon { color: var(--glow-primary); }

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--red-danger);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid var(--background-dark);
}

.notification-panel {
    display: none; /* Controlado por JS */
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification-panel.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.notification-header {
    padding: 15px 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}
.notification-list {
    list-style: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}
.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.2s ease;
}
.notification-item:last-child { border-bottom: none; }
.notification-item.unread {
    background-color: rgba(0, 229, 255, 0.05);
}
.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.notification-item-icon {
    font-size: 20px;
    color: var(--glow-primary);
    padding-top: 3px;
}
.notification-item-content .title {
    font-weight: 600;
    color: var(--text-primary);
}
.notification-item-content .message {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.notification-item-content .time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 5px;
}
.notification-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
}



/* --- SECCIÓN 6: NAVEGACIÓN MÓVIL (FOOTER) --- */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height-mobile);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}
.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    flex: 1;
    padding: 8px 0;
    transition: all 0.3s ease;
}
.footer-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}
.footer-nav-item.active {
    color: var(--glow-primary);
    transform: translateY(-5px);
}
.footer-nav-item.active i {
    text-shadow: 0 0 15px var(--glow-primary);
}





/* --- SECCIÓN 7: MEDIA QUERIES --- */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .sidebar-nav { display: block; }
    .content-wrapper { padding-left: var(--sidebar-width); padding-bottom: 0; }
    .footer-nav { display: none; }
    .header { margin: 20px 20px 0 0; }
    .data-grid { grid-template-columns: repeat(4, 1fr); }
}

.deposit-card-header {
    text-align: center;
    margin-bottom: 25px;
}
.deposit-card-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.deposit-card-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* QR Centrado */
.qr-section {
    text-align: center;
    margin-bottom: 25px;
}
.qr-section .label {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.qr-frame {
    display: inline-block;
    padding: 15px;
    background-color: #00000000;
    border-radius: var(--border-radius);
    /*box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);*/
}

/* Panel Destacado Superpuesto */
.highlight-panel {
    background: rgba(40, 50, 70, 0.7); /* Ligeramente diferente para contraste */
    backdrop-filter: blur(20px); /* Más borroso */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.data-pods-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.data-pod {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}
.data-pod .pod-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.data-pod .pod-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.data-pod .pod-value {
    font-size: 1.5rem;
    font-weight: 600;
    word-break: break-all;
}
.data-pod .pod-value.gradient-text {
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}
.data-pod .pod-value.monospace {
    font-family: var(--text-monospace);
    font-size: 1.1rem;
}
.data-pod .pod-copy-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}
.data-pod .pod-copy-btn:hover {
    border-color: var(--glow-primary);
    color: var(--glow-primary);
}
.data-pod .pod-copy-btn.copied {
    border-color: var(--green-success);
    color: var(--green-success);
}

/* --- NUEVA SECCIÓN: 8 ESTILOS PARA PÁGINA DE INVITACIÓN --- */

.invite-hub-card .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -20px;
    margin-bottom: 30px;
}


/* Tabla de Comisiones */
.commission-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    text-align: center;
}
.commission-table thead tr {
    border-bottom: 1px solid var(--glow-primary);
}
.commission-table th {
    padding: 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.commission-table td {
    padding: 12px;
    color: var(--text-secondary);
}
.commission-table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--glass-border);
}

/* Botones para Compartir en Redes Sociales */
.social-share-section {
    text-align: center;
    margin-top: 30px;
}
.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.social-btn:hover {
    transform: translateY(-3px);
}
.social-btn i {
    font-size: 20px;
}
.social-btn.whatsapp { background-color: #25D366; }
.social-btn.telegram { background-color: #0088cc; }
.social-btn.twitter { background-color: #1DA1F2; }

.history-deck-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.history-nav-item {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.history-nav-item.active {
    background-color: var(--glow-primary);
    color: var(--background-dark);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.history-deck-viewport {
    position: relative;
    width: 100%;
    height: 450px; /* Altura fija para el contenedor, ajústala si es necesario */
    overflow: hidden;
}

.history-column {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateX(100%); /* Empieza fuera a la derecha */
    overflow-y: auto; /* Scroll para listas largas */
}

/* Posiciones iniciales y finales de la animación */
.history-column.slide-from-left { transform: translateX(-100%); }
.history-column.slide-from-right { transform: translateX(100%); }
.history-column.slide-to-left { transform: translateX(-100%); }
.history-column.slide-to-right { transform: translateX(100%); }

.history-column.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 10;
}

.column-header {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}
.column-header i {
    font-size: 2rem;
    color: var(--glow-primary);
    margin-bottom: 10px;
}
.column-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.transaction-list { list-style: none; padding: 0; }
.transaction-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}
.empty-level-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
}

/* --- NUEVA SECCIÓN: 10 DISEÑO "TEAM COMMAND CENTER" --- */

.team-summary-panel {
    display: grid;
    grid-template-columns: 1fr; /* Una columna en móvil */
    gap: 20px;
    text-align: center;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.hero-stat {
    background-color: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: var(--border-radius);
}
.hero-stat i {
    font-size: 2rem;
    color: var(--glow-primary);
    margin-bottom: 10px;
}
.hero-stat .value {
    font-size: 2.2rem;
    font-weight: 700;
}
.hero-stat .label {
    color: var(--text-secondary);
}

.level-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    background-color: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: var(--border-radius);
}
.level-stat .value {
    font-size: 1.5rem;
    font-weight: 600;
}
.level-stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.team-columns-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack en móvil */
    gap: 25px;
}
.team-column .column-header {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}
.team-column .column-header i {
    font-size: 2rem;
    color: var(--glow-primary);
    margin-bottom: 10px;
}
.team-column .column-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.team-member-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.team-member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}
.team-member-card .member-info {
    flex-grow: 1;
}
.team-member-card .member-name {
    font-weight: 500;
    color: var(--text-primary);
}
.team-member-card .member-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.team-member-card .member-stats {
    text-align: right;
}
.team-member-card .member-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.team-member-card .member-stat-value {
    font-weight: 600;
}


/* En Desktop, mostramos el layout de resumen y columnas */
@media (min-width: 992px) {
    .team-summary-panel {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }
    .team-columns-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- NUEVA SECCIÓN:11 DISEÑO "SUPPORT HUB" --- */

.contact-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0;
}
@media(min-width: 768px) {
    .contact-channels-grid { grid-template-columns: 1fr 1fr; }
}

.contact-channel-card {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}
.contact-channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--glow-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}
.contact-channel-card .icon {
    font-size: 3rem;
    color: var(--glow-primary);
    margin-bottom: 15px;
}
.contact-channel-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.contact-channel-card p {
    color: var(--text-secondary);
    min-height: 50px;
}
.contact-channel-card .btn {
    margin-top: 20px;
}


/* Acordeón de FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}
.faq-item {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}
.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-question::after {
    content: '\f067'; /* plus icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 20px;
    color: var(--text-secondary);
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
}

/* --- NUEVA SECCIÓN:12 ESTILOS PARA PÁGINAS DE CONTENIDO --- */

.info-container h3.content-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-container p, .info-container li {
    color: var(--text-secondary);
    line-height: 1.8; /* Mayor espaciado entre líneas para leer mejor */
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}

.info-container ul {
    list-style: none;
    padding-left: 0;
}

.info-container ul li {
    padding-left: 25px;
    position: relative;
}

.info-container ul li::before {
    content: '\f058'; /* Icono de check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--glow-primary);
}

.info-container a {
    color: var(--glow-primary);
    text-decoration: none;
    font-weight: 600;
}
.info-container a:hover {
    text-decoration: underline;
}

/* --- NUEVA SECCIÓN: 13 ESTILOS PARA FORMULARIOS DE AUTENTICACIÓN --- */

.form-card .form-group.password-group {
    position: relative;
}

.form-card .password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
}
.form-card .password-toggle-btn:hover {
    color: var(--glow-primary);
}

.form-card .auth-links {
    text-align: center;
    margin-top: 25px;
}

.form-card .auth-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.form-card .auth-links a:hover {
    color: var(--glow-primary);
}

/* Estilos para página de verificación */
.status-card {
    text-align: center;
}
.status-card .status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
.status-card .status-icon.success {
    color: var(--green-success);
}
.status-card .status-icon.error {
    color: var(--red-danger);
}
.status-card .status-message {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 30px;
}

/* --- NUEVA SECCIÓN: 14 ESTILOS EXCLUSIVOS PARA LA LANDING PAGE --- */
body.landing-page {
    background-color: var(--background-dark);
    color: var(--text-primary);
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; /* Detrás de todo */
    overflow: hidden;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro sobre el video para legibilidad */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 17, 23, 0.6); /* Overlay más oscuro */
    z-index: -2;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}
.landing-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.landing-header .logo h1 {
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.landing-header .main-nav a {
    text-decoration: none;
    margin-left: 10px;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}
.hero-section h2 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.hero-section .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Secciones de Contenido de la Landing */
.content-section {
    padding: 100px 20px;
    position: relative;
    z-index: 5;
}
.section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 35px;
    text-align: center;
}
.feature-card i {
    font-size: 40px;
    color: var(--glow-primary);
    margin-bottom: 25px;
}

/* --- NUEVA SECCIÓN: DISEÑO "QUANTIFY HUB" --- */
.quantify-hub {
    text-align: center;
    padding: 30px;
}

.quantify-hub .plan-info {
    font-size: 1.2rem;
    color: var(--text-secondary);
}
.quantify-hub .plan-info strong {
    color: var(--text-primary);
    font-weight: 600;
}
.quantify-hub .profit-info {
    margin: 20px 0 40px 0;
}
.quantify-hub .profit-info .label {
    color: var(--text-secondary);
}
.quantify-hub .profit-info .amount {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--glow-primary), var(--glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cronómetro */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.time-unit {
    background-color: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    width: 100px;
}
.time-unit .value {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--text-monospace);
}
.time-unit .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Botón de cuantificar */
.quantify-action .btn-quantify {
    padding: 20px 40px;
    font-size: 1.5rem;
    border-radius: 50px; /* Completamente redondeado */
}
.quantify-action .btn-quantify.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); }
    50% { box-shadow: 0 0 45px rgba(0, 229, 255, 0.8); }
    100% { box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); }
}

/* Animación de cuantificación */
.quantification-animation {
    display: none; /* Oculto por defecto */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.energy-rings {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}
.energy-rings .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--glow-primary);
    opacity: 0;
    animation: sonar 2s ease-out infinite;
}
.energy-rings .ring:nth-child(2) { animation-delay: 0.5s; }
.energy-rings .ring:nth-child(3) { animation-delay: 1s; }

@keyframes sonar {
    0% { transform: scale(0.1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.animation-status-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.quantification-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.quantification-success .icon {
    font-size: 5rem;
    color: var(--green-success);
}
.quantification-success h4 {
    font-size: 1.5rem;
    margin: 20px 0 0 0;
}
/*
  ============================================================
  NUEVA SECCIÓN: Estilos para Mensajes de Feedback
  ============================================================
*/
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.message.error {
    background-color: rgba(255, 77, 109, 0.15); /* Fondo rojo translúcido */
    border-color: rgba(255, 77, 109, 0.5);
    color: #ffadb9; /* Texto rosa claro */
}
.message.error i {
    color: #ff4d6d; /* Icono rojo brillante */
}

.message.success {
    background-color: rgba(0, 255, 157, 0.15); /* Fondo verde translúcido */
    border-color: rgba(0, 255, 157, 0.5);
    color: #a1ffe4; /* Texto verde claro */
}
.message.success i {
    color: var(--green-success); /* Icono verde brillante */
}
/* Estilos para el resumen del retiro */
.withdrawal-summary {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.withdrawal-summary div {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}
.withdrawal-summary div:first-child {
    margin-bottom: 8px;
}
.withdrawal-summary strong {
    color: var(--text-primary);
    font-weight: 600;
}
/* Estilo para el contenido del texto dentro de los mensajes */
.message-content {
    flex-grow: 1; /* Permite que el texto ocupe el espacio restante */
}
/* --- NUEVA SECCIÓN: ESTILOS PARA EL MODAL DE BIENVENIDA --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(13, 17, 23, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

#welcome-modal {
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.modal-overlay.visible #welcome-modal {
    transform: scale(1);
}

.modal-content {
    overflow-y: auto; /* Permite scroll si el texto es muy largo */
    padding-right: 15px; /* Espacio para la barra de scroll */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}
.close-button:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}
/*
  ============================================================
  NUEVA SECCIÓN: Estilos para el Carrusel de Anuncios
  ============================================================
*/

.announcement-carousel {
    position: relative;
    width: 100%;
    /* El cambio está en la siguiente línea para reducir la altura a la mitad */
    aspect-ratio: 48 / 9; 
    border-radius: var(--border-radius);
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

.carousel-slide img,
.carousel-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen/video cubra todo el espacio */
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
    color: var(--text-primary);
}

.slide-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.carousel-arrow:hover {
    background-color: var(--glow-primary);
    color: var(--background-dark);
}
.carousel-arrow.prev { left: 15px; }
.carousel-arrow.next { right: 15px; }

.carousel-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}