﻿nav#mainNavbar .nav-link, nav#mainNavbar .nav-link:hover, nav#mainNavbar .nav-link:focus {
    text-decoration: none !important;
}

.scroll-to-top {
    display: none !important;
}

.navbar-custom {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.25s ease, backdrop-filter 0.25s ease, transform 0.15s ease;
    padding: 1.1rem 2.2rem;
    backdrop-filter: blur(8px);
    border-radius: 18px;
    pointer-events: auto;
    font-size: 1.25rem;
    height: 48px;
    min-height: 48px;
}
.navbar-custom.navbar-scrolled {
    transform: translateX(-50%) translateY(-6px);
    background: rgba(10,6,6,0.55);
}
nav#mainNavbar .navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 1rem;
    position: relative;
}
nav#mainNavbar .brand-area { display: none !important; }
.brand-logo { height: 36px; vertical-align: middle; }
.brand-text { color: #FFD700; font-weight: 700; margin-left: .5rem; font-size: 1rem; }
nav#mainNavbar .nav-links { display: flex !important; gap: 1rem; align-items: center; justify-content: center !important; margin: 0; }
.nav-link { color: #ffdede; text-decoration: none; padding: .45rem .9rem; border-radius: 8px; font-weight: 600; font-size: 1.45rem; position: relative; overflow: hidden; }
nav#mainNavbar .nav-link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 0%;
    background: linear-gradient(90deg, rgba(255,60,60,0.15), rgba(255,20,40,0.18));
    transition: width 220ms cubic-bezier(.2,.9,.2,1);
    z-index: 0;
}
nav#mainNavbar .nav-link:hover::before { width: 110%; }
nav#mainNavbar .nav-link > * { position: relative; z-index: 2; }
nav#mainNavbar .nav-link:hover { color: #fff; }
nav#mainNavbar .navbar-toggle { display: none; background: transparent; border: none; color: #fff; position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); padding: .35rem; }
nav#mainNavbar .navbar-toggle .bar { display: block; width: 20px; height: 2px; background: #ff6b6b; margin: 4px 0; border-radius: 2px; transition: transform 180ms ease, opacity 160ms ease; }
nav#mainNavbar .navbar-toggle.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
nav#mainNavbar .navbar-toggle.open .bar:nth-child(2) { opacity: 0; }
nav#mainNavbar .navbar-toggle.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
    nav#mainNavbar .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 6px; right: 6px; background: linear-gradient(180deg, rgba(30,6,6,0.98), rgba(18,6,6,0.96)); flex-direction: column; padding: 0.7rem; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.55); }
    nav#mainNavbar .nav-links.show { display: flex; }
    nav#mainNavbar .navbar-toggle { display: inline-block; }
    nav#mainNavbar { left: 16px; right: 16px; transform: none; width: calc(100% - 32px); }
    nav#mainNavbar.navbar-scrolled { transform: none; }
    nav#mainNavbar .nav-link { padding: 1.1rem 1.6rem; font-size: 1.15rem; }
}


html, body {
    min-height: 100vh;
    height: 100%;
    background: url('../img/Fundo.jpg') no-repeat center center fixed;
    background-size: cover;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto !important;
}



#ranking {
    margin-top: 110px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}


.alert {
    margin-bottom: 0;
    background: transparent;
    border: transparent;
    border-radius: 15px;
    color: #fff;
    padding: 20px;
}


#footer {
    margin-top: 30px;
    padding: 20px 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

#footer p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

#footer a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px #00d4ff;
}






.table {
    background: transparent;
    margin: 0;
}

.table thead th {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.02);
}

.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-weight: 500;
}

.table tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.05);
}

.table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}


.table tbody td:first-child strong {
    background: #B0B0B0;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(176, 176, 176, 0.3);
}




.top1-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    animation: pulse 2s infinite;
}
.top2-badge {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9) !important;
}
.top3-badge {
    background: linear-gradient(135deg, #CD7F32, #8B4513) !important;
}


.row {
    background: transparent !important;
}

.col-md-12 {
    background: transparent !important;
	
}


h1 {
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 3.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
}

hr {
    border-top: 3px solid #FF2C2C;
    width: 90px;
    margin: 0 auto 40px auto;
    border-radius: 2px;
}


.btn-group .btn {
    border: none;
    padding: 12px 25px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #FF2C2C 0%, #262626 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.4);
}

.btn-default {
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-default:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #fff;
}


.panel {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.panel-heading {
    background: linear-gradient(135deg, #FF2C2C 0%, #262626 100%) !important;
    border: none;
    padding: 20px;
    border-radius: 0;
}

.panel-title {
    color: white !important;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panel-body {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0;
    border-radius: 0;
}


.panel {
    margin-bottom: 20px !important;
}


.dataTables_filter {
    margin-bottom: 20px;
}

.dataTables_filter label {
    color: #000 !important;
    font-weight: 500;
}

.dataTables_filter input {
    background: rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.3) !important;
    border-radius: 25px !important;
    padding: 8px 15px !important;
    color: #000 !important;
    margin-left: 10px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dataTables_filter input:focus {
    background: rgba(0,0,0,0.2) !important;
    border-color: #FF2C2C !important;
    box-shadow: 0 0 10px rgba(255, 44, 44, 0.3) !important;
    outline: none !important;
}

.dataTables_filter input::placeholder {
    color: rgba(0,0,0,0.5) !important;
}


.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
}


.dataTables_wrapper .dataTables_paginate *,
#rankingTable_paginate *,
.dataTables_paginate * {
    outline: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: none !important;
    border: none !important;
    color: inherit !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
}

.dataTables_paginate .paginate_button:before,
.dataTables_paginate .paginate_button:after {
    display: none !important;
}


#rankingTable_paginate,
.dataTables_wrapper .dataTables_paginate {
    position: relative;
    z-index: 10;
    margin: 25px 0 !important;
    padding: 25px 20px !important;
    text-align: center !important;
}


#rankingTable_paginate .paginate_button a,
.dataTables_wrapper .dataTables_paginate .paginate_button a,
div.dataTables_paginate a.paginate_button {
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    border: 2px solid rgba(255, 44, 44, 0.4) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    margin: 0 4px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 0.95rem !important;
    min-width: 42px !important;
    text-align: center !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    outline: none !important;
}


#rankingTable_paginate .paginate_button a:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button a:focus,
div.dataTables_paginate a.paginate_button:focus {
    outline: none !important;
    border: 2px solid #FF2C2C !important;
    box-shadow: 0 0 0 3px rgba(255, 44, 44, 0.3) !important;
}


#rankingTable_paginate .paginate_button a:active,
.dataTables_wrapper .dataTables_paginate .paginate_button a:active,
div.dataTables_paginate a.paginate_button:active {
    outline: none !important;
    transform: translateY(-1px) scale(0.98) !important;
}


#rankingTable_paginate .paginate_button a:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button a:hover,
div.dataTables_paginate a.paginate_button:hover {
    background: linear-gradient(135deg, #FF2C2C 0%, #8B0000 100%) !important;
    border-color: #FF2C2C !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.5) !important;
    color: #ffffff !important;
    outline: none !important;
}


#rankingTable_paginate .paginate_button.current a,
.dataTables_wrapper .dataTables_paginate .paginate_button.current a,
div.dataTables_paginate a.paginate_button.current {
    background: linear-gradient(135deg, #FF2C2C 0%, #262626 100%) !important;
    border: 2px solid #FF2C2C !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 44, 44, 0.6), 0 0 0 3px rgba(255, 44, 44, 0.2) !important;
    font-weight: 700 !important;
    outline: none !important;
}


#rankingTable_paginate .paginate_button.current a:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button.current a:focus,
div.dataTables_paginate a.paginate_button.current:focus {
    outline: none !important;
    box-shadow: 0 8px 20px rgba(255, 44, 44, 0.6), 0 0 0 4px rgba(255, 44, 44, 0.4) !important;
}


#rankingTable_paginate .paginate_button.disabled a,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled a,
div.dataTables_paginate a.paginate_button.disabled {
    background: rgba(38, 38, 38, 0.3) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

#rankingTable_paginate .paginate_button.disabled a:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled a:hover,
div.dataTables_paginate a.paginate_button.disabled:hover {
    background: rgba(38, 38, 38, 0.3) !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}


.site-footer {
    background-image: url('../img/rodape.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 160px;
    background-color: #070505;
    color: #e9e2d8;
    padding: 1.2rem 0;
    margin-top: 0rem;
}
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    font-size: 1.35rem;
}
.site-footer a { color: #ffd86b; text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-left, .site-footer .footer-right, .site-footer .footer-center { opacity: 0.95; }
.footer-grid { align-items: start; }
.footer-col { display:flex; flex-direction: column; gap: .5rem; }
.footer-sub { font-size: .9rem; color: rgba(255,255,255,0.75); }
.footer-nav { display:flex; gap: .8rem; flex-wrap:wrap; justify-content:center; }
.footer-nav a { color: rgba(255, 216, 107, 0.9); padding: .2rem .4rem; border-radius:6px; }
.footer-nav a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.footer-social { display: flex; gap: 0.6rem; align-items: center; justify-content: center; }
.footer-social a { color: rgba(255,255,255,0.95); padding: .2rem .45rem; border-radius:6px; background: transparent; }
.footer-discord { background: linear-gradient(90deg,#5865F2,#4656d6); padding: .25rem .5rem; border-radius:6px; color:#fff; }
.footer-discord:hover { filter: brightness(1.05); }
.footer-right { text-align: right; }
.footer-top a { color: #ffd86b; text-decoration: none; font-weight:700; }
.footer-top a:hover { text-decoration: underline; }
@media (max-width: 880px) {
    .site-footer-inner { grid-template-columns: 1fr; text-align: center; padding: 1rem; }
    .footer-right { text-align: center; }
}
@media (max-width: 600px) {
    .site-footer-inner { flex-direction: column; gap: .5rem; text-align: center; }
}

.discord-bubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    background: transparent;
    border-radius: 50%;
    box-shadow: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s cubic-bezier(.4,1.3,.6,1), box-shadow 0.18s;
    cursor: pointer;
}
.discord-bubble:hover { transform: translateY(-4px); }
.discord-bubble img { display:block; width: 120px; height: 120px; object-fit: contain; }
@media (max-width: 600px) {
    .discord-bubble { min-width: 56px; min-height: 56px; padding: 6px; right: 12px; bottom: 12px; }
    .discord-bubble img { width: 40px; height: 40px; }
}


