/* ==========================================================================
   AURORA MU ONLINE - DONATION MODULE STYLESHEET
   Paleta: Dark Obsidian Glassmorphism + Cyan Boreal + Violeta Astral Cósmico
   Compatible con: donation.php, manual.php, mercadopago.php, paypal.php
   ========================================================================== */

/* 1. Header y Navegación del Módulo */
.donation-module-container {
    margin-top: 15px;
    margin-bottom: 40px;
}

.donation-header-banner {
    background: linear-gradient(135deg, rgba(2, 8, 24, 0.95) 0%, rgba(6, 18, 48, 0.90) 50%, rgba(18, 4, 38, 0.92) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.donation-header-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00f0ff 0%, #0066ff 45%, #b829ff 100%);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
}

.donation-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donation-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    flex-shrink: 0;
}

.donation-header-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.donation-header-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.donation-header-text p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.btn-back-gateway {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-back-gateway:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: #00f0ff;
    color: #ffffff;
    transform: translateX(-4px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    text-decoration: none;
}

/* 2. Selector de Pasarelas (donation.php) */
.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.gateway-card {
    background: rgba(4, 10, 26, 0.88) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: 18px !important;
    padding: 35px 24px !important;
    text-align: center !important;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    min-height: 270px;
}

.gateway-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #00f0ff 0%, #0066ff 50%, #b829ff 100%) !important;
    opacity: 0.85 !important;
    transition: all 0.3s ease !important;
}

.gateway-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
}

.gateway-card:hover {
    border-color: #00f0ff !important;
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.35) !important;
    text-decoration: none !important;
}

.gateway-logo-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.gateway-card img {
    max-width: 170px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    transition: transform 0.35s ease !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.gateway-card:hover img {
    transform: scale(1.08) !important;
}

.gateway-icon-wrapper {
    font-size: 50px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.35s ease !important;
}

.gateway-card:hover .gateway-icon-wrapper {
    transform: scale(1.15) !important;
}

.gateway-title {
    margin-top: 15px !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

.gateway-subtitle {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    margin-top: 6px !important;
    font-weight: 600 !important;
}

.gateway-action {
    margin-top: 20px;
    width: 100%;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    color: #00f0ff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.gateway-card:hover .gateway-action {
    background: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
    color: #ffffff;
    border-color: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Personalización por pasarela */
.gateway-card.binance-card::before {
    background: linear-gradient(90deg, #F3BA2F 0%, #F0B90B 100%) !important;
}
.gateway-card.binance-card:hover {
    border-color: #F3BA2F !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(243, 186, 47, 0.35) !important;
}
.gateway-card.binance-card:hover .gateway-action {
    background: linear-gradient(135deg, #F3BA2F 0%, #F0B90B 100%);
    color: #000000;
    border-color: #F3BA2F;
    box-shadow: 0 0 15px rgba(243, 186, 47, 0.6);
}

.gateway-card.yape-card::before {
    background: linear-gradient(90deg, #00D2C4 0%, #79008C 100%) !important;
}
.gateway-card.yape-card:hover {
    border-color: #00D2C4 !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 196, 0.35) !important;
}
.gateway-card.yape-card:hover .gateway-action {
    background: linear-gradient(135deg, #00D2C4 0%, #79008C 100%);
    color: #ffffff;
    border-color: #00D2C4;
    box-shadow: 0 0 15px rgba(0, 210, 196, 0.6);
}

.gateway-card.mp-card::before {
    background: linear-gradient(90deg, #009EE3 0%, #00c0ff 100%) !important;
}
.gateway-card.mp-card:hover {
    border-color: #009EE3 !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 158, 227, 0.35) !important;
}

.gateway-card.paypal-card::before {
    background: linear-gradient(90deg, #003087 0%, #0079C1 100%) !important;
}
.gateway-card.paypal-card:hover {
    border-color: #0079C1 !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 121, 193, 0.35) !important;
}

/* 3. Cuadrícula de Paquetes (mercadopago.php & paypal.php) */
.donation-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 25px !important;
}

.donation-card {
    background: rgba(4, 10, 26, 0.90) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    border-radius: 18px !important;
    padding: 30px 22px !important;
    text-align: center !important;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.donation-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #00f0ff 0%, #0066ff 50%, #b829ff 100%) !important;
    opacity: 0.85 !important;
    transition: all 0.3s ease !important;
}

.donation-card:hover {
    border-color: #00f0ff !important;
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.4) !important;
}

.donation-card .card-icon {
    margin-bottom: 20px !important;
    transition: transform 0.35s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
}

.donation-card:hover .card-icon {
    transform: scale(1.1) !important;
}

.donation-card .card-icon img {
    max-height: 55px !important;
    max-width: 150px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.donation-card .amount-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
    font-family: 'Outfit', sans-serif !important;
}

.donation-card .credits-desc {
    font-size: 1.15rem !important;
    color: #00f0ff !important;
    margin-bottom: 25px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donation-card .credits-desc::before {
    content: "\f51e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #b829ff;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(184, 41, 255, 0.7));
}

.btn-donate {
    background: linear-gradient(135deg, #00f0ff 0%, #0066ff 45%, #b829ff 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    width: 100% !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    font-size: 0.88rem !important;
    letter-spacing: 1px !important;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(0, 240, 255, 0.4) !important;
    font-family: 'Outfit', sans-serif !important;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0055dd 45%, #d946ef 100%) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 240, 255, 0.75) !important;
    transform: translateY(-2px) scale(1.03) !important;
    text-decoration: none !important;
}

/* 4. Módulo de Donación Manual (manual.php) */
.manual-container {
    margin-top: 20px;
    color: #f1f5f9;
}

.manual-intro {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.6;
    background: rgba(4, 10, 26, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
}

.manual-intro i {
    color: #00f0ff;
    margin-right: 8px;
}

/* Tabla de equivalencias */
.manual-table-container {
    background: rgba(4, 10, 26, 0.90) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65) !important;
    overflow-x: auto !important;
}

.manual-table-container h3 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.manual-table-container h3 i {
    color: #00f0ff !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.7));
}

.manual-donation-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
}

.manual-donation-table th {
    padding: 14px 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    color: #00f0ff !important;
    border-bottom: 2px solid rgba(0, 240, 255, 0.35) !important;
    background: rgba(2, 8, 22, 0.8) !important;
}

.manual-donation-table td {
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    color: #cbd5e1 !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.manual-donation-table tr:last-child td {
    border-bottom: none !important;
}

.manual-donation-table tr:hover td {
    background: rgba(0, 240, 255, 0.06) !important;
    color: #ffffff !important;
}

.price-badge {
    font-weight: 800 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
}

.wcoins-badge {
    font-weight: 800 !important;
    color: #00f0ff !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
    font-size: 1rem !important;
}

/* Grid de métodos de pago manual */
.manual-methods-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 35px !important;
}

.payment-method-card {
    background: rgba(4, 10, 26, 0.90) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.35s ease !important;
}

.payment-method-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    opacity: 0.9 !important;
}

.payment-method-card.binance::before {
    background: linear-gradient(90deg, #F3BA2F 0%, #F0B90B 100%) !important;
}

.payment-method-card.yape::before {
    background: linear-gradient(90deg, #00D2C4 0%, #79008C 100%) !important;
}

.payment-method-card:hover {
    transform: translateY(-5px) !important;
}

.payment-method-card.binance:hover {
    border-color: rgba(243, 186, 47, 0.5) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(243, 186, 47, 0.25) !important;
}

.payment-method-card.yape:hover {
    border-color: rgba(0, 210, 196, 0.5) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 196, 0.25) !important;
}

.method-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15) !important;
    padding-bottom: 15px !important;
}

.method-logo {
    height: 45px !important;
    width: auto !important;
    object-fit: contain !important;
}

.method-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.binance .method-title {
    color: #F3BA2F !important;
}

.yape .method-title {
    color: #00D2C4 !important;
}

.method-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.data-row {
    position: relative !important;
}

.data-label {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
}

.data-value-wrapper {
    display: flex !important;
    align-items: center !important;
    background: rgba(2, 6, 18, 0.75) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: all 0.25s ease !important;
}

.data-value-wrapper:hover {
    border-color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25) !important;
}

.data-value {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    word-break: break-all !important;
    flex-grow: 1 !important;
    font-family: 'Consolas', 'Courier New', monospace !important;
}

.btn-copy {
    background: transparent !important;
    border: none !important;
    color: #00f0ff !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
}

.btn-copy:hover {
    color: #ffffff !important;
    background: rgba(0, 240, 255, 0.2) !important;
    transform: scale(1.15) !important;
}

/* Instrucciones y Ayuda */
.manual-instructions {
    background: rgba(2, 8, 24, 0.90) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-left: 4px solid #00f0ff !important;
    border-radius: 14px !important;
    padding: 24px !important;
    margin-top: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.manual-instructions h4 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #00f0ff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.manual-instructions p {
    margin: 0 !important;
    font-size: 0.92rem !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
}

.manual-instructions strong {
    color: #ffffff !important;
}

.manual-support-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-support-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-support-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
    text-decoration: none;
}

.btn-support-ds {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4752C4 0%, #5865F2 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
}

.btn-support-ds:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
    color: #ffffff;
    text-decoration: none;
}

/* Toast de notificación de copiado */
.toast-copy {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100px) !important;
    background: rgba(3, 8, 22, 0.96) !important;
    border: 1px solid #00f0ff !important;
    border-radius: 30px !important;
    padding: 10px 26px !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.4) !important;
    opacity: 0 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.toast-copy.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
}

/* 5. Responsive */
@media (max-width: 768px) {
    .donation-header-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .gateway-grid {
        grid-template-columns: 1fr;
    }
    
    .manual-methods-grid {
        grid-template-columns: 1fr;
    }
}
