/* CordobaMU Inline Styles - cleaned for WE 1.2.4 compatibility */

/* === DataTables positioning === */
/* Note: Rankings-specific DataTables styles are in bs3-compat.css */
.dataTables_length {
    display: none !important;
}

/* === Table improvements === */
.table {
    --bs-table-striped-bg: rgb(249 249 249 / 11%);
    --bs-table-border-color: rgba(201, 162, 39, 0.15) !important;
}
.table-responsive {
    overflow-x: auto !important;
}

/* === Container layout === */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* === Page link (pagination) dark theme === */
.page-link {
    background-color: #1a1a1a;
    border-color: rgba(201, 162, 39, 0.2);
    color: #d4c8b8;
}
.page-link:hover {
    background-color: rgba(201, 162, 39, 0.15);
    border-color: #c9a227;
    color: #ffcc00;
}

/* === Alerts (WE module messages) === */
.bg-success {
    background-color: rgba(120, 239, 245, 0.25) !important;
    color: lightgreen !important;
}
.bg-error {
    background-color: rgba(245, 120, 120, 0.25) !important;
    color: #f29494 !important;
}

/* === Card area (disable gameplex transforms) === */
.card-area {
    transform: none !important;
    background: transparent;
}

/* === Fire particles canvas === */
#fireParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* === Preloader === */
.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
}

.preloader img {
    width: 350px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* === Modal backdrop fix === */
.modal-backdrop {
    z-index: 1040;
}

/* === Responsive visibility helpers === */
@media (max-width: 768px) {
    #esconderdiv {
        display: none !important;
    }
}
@media (min-width: 769px) {
    #esconderenpc {
        display: none !important;
    }
}

/* === Style block 6: Social links positioning === */
@media (min-width: 340px) {
    .social {
        display: none;
        position: fixed;
        top: 38%;
        left: 20px;
    }
}

@media (min-width: 768px) {
    .social {
        display: inline-grid;
        position: fixed;
        top: 38%;
        left: 20px;
        z-index: 100;
    }
}

/* Only floating sidebar social links (left side of screen) */
.social > .social-link {
    margin-top: 10px;
    opacity: 0.7;
    transition: .5s;
}

.social > .social-link:hover {
    opacity: 1;
}

/* === Style block 7: Footer CordobaMU === */
.cordobamu-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(20, 15, 10, 0.95) 30%, rgba(15, 10, 5, 0.98) 100%);
    border-top: 2px solid rgba(201, 162, 39, 0.4);
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 25px rgba(201, 162, 39, 0.5));
    transform: scale(1.02);
}

.footer-info {
    text-align: center;
}

.footer-server-name {
    color: #c9a227;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.footer-disclaimer {
    color: #a89880;
    font-size: 12px;
    margin: 0 0 5px 0;
    max-width: 400px;
}

.footer-copyright {
    color: #6b5d4d;
    font-size: 11px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social i {
    font-size: 20px;
    color: #fff;
}

.footer-social.discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.15));
    border-color: rgba(88, 101, 242, 0.5);
}

.footer-social.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(37, 211, 102, 0.15));
    border-color: rgba(37, 211, 102, 0.5);
}

.footer-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.footer-social.discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.5), rgba(88, 101, 242, 0.3));
    border-color: #5865f2;
}

.footer-social.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.5), rgba(37, 211, 102, 0.3));
    border-color: #25d366;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.footer-version {
    color: #c9a227;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
    .cordobamu-footer {
        padding: 30px 15px 15px;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-server-name {
        font-size: 16px;
    }

    .footer-disclaimer {
        font-size: 11px;
    }
}

/* === Style block 8b: VIP floating button === */
.vip-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    height: 52px;
    padding: 0 20px 0 16px;
    background: linear-gradient(135deg, #d4af37, #a07c1c, #d4af37);
    background-size: 200% 200%;
    color: #fff;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: vipShine 3s ease infinite, vipGlow 2s ease-in-out infinite alternate;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.vip-float i {
    font-size: 22px !important;
    filter: drop-shadow(0 0 4px rgba(255,215,0,0.6));
}

.vip-float-label {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.vip-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
}

@keyframes vipShine {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes vipGlow {
    0%   { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.2); }
    100% { box-shadow: 0 4px 25px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
}

@media (max-width: 600px) {
    .vip-float {
        bottom: 95px;
        right: 15px;
        height: 46px;
        padding: 0 16px 0 12px;
        font-size: 12px;
    }
    .vip-float i {
        font-size: 18px !important;
    }
}

/* === Style block 8: WhatsApp floating button === */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: waPulse 2.5s infinite;
}

.whatsapp-label {
    position: absolute;
    right: 70px;
    background: #25d366;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float i {
    font-size: 32px !important;
}
