@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: monocraft;
    src: url(fonts/Monocraft.ttc);
    src: url(fonts/Monocraft-01.ttf) format("truetype");
}

:root {
    --bg: #050505;
    --fg: #eaeaea;
    --muted: #a0a0a0;
    --accent: #c0392b;
    --acent-hover: #e74c3c;
    --overlay: rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--fg);
    text-decoration: none;
}

a:hover { color: var(--accent); }

#selected{
    color: var(--acent-hover);
    padding: 10px 0;
    border-bottom: 2px solid var(--acent-hover);
}

#selected:hover{
    color: var(--accent);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; 
    box-sizing: border-box; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left, .header-left a {
    display: flex;
    align-items: center;
    height: 100%;
}

header img{
    height: 45px;
    width: auto;
}

header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 3px;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
    height: 100%;
}

nav a {
    font-family: monocraft, monospace;
    letter-spacing: 2px;
    font-size: 13px;
    color: var(--muted);
}

nav a:hover { color: var(--fg); }

@media (max-width: 850px) {
header {
        height: auto;
        min-height: 60px;
        padding: 15px 0; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-right, nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0; 
    }

    nav {
        gap: 10px; 
        flex-wrap: wrap; 
    }

    .header-left {
        margin-bottom: 10px;
    }

    #selected{
        padding: 5px 0;
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: slide 30s infinite;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: -1;
}

@keyframes slide {
    0%   { background-image: url('resources/backgrounds/bg1.jpg'); }
    25%  { background-image: url('resources/backgrounds/bg2.jpg'); }
    50%  { background-image: url('resources/backgrounds/bg3.jpg'); }
    75% { background-image: url('resources/backgrounds/bg4.jpg'); }
    100% { background-image: url('resources/backgrounds/bg1.jpg'); }
}

.hero h2, .data-block h1 {
    font-family: monocraft, monospace;
    font-size: 48px;
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    letter-spacing: 3px;
    margin-top: 0;
    margin-bottom: 0;
}

.hero h3 {
    font-family: monocraft, monospace;
    font-size: 19px;
    letter-spacing: 2.5px;
    margin: 0;
    margin-bottom: 15px;
    color: #dfdada;
    text-shadow: 
        2px 2px 0px #524848,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.hero p {
    font-family: monocraft, monospace;
    max-width: 650px; 
    margin: 20px auto 30px;
    color: #b0b0b0; 
    font-size: 14px; 
    line-height: 1.8; 
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.players-wrapper {
    position: relative;
    display: inline-block;
    z-index: 998;
}

#jugadores {
    cursor: help;
    border-bottom: 1px dashed var(--muted);
}

.players-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 220px;
    max-width: 350px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--accent);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.players-wrapper:hover .players-popup {
    visibility: visible;
    opacity: 1;
    bottom: 110%;
}

.popup-header {
    font-family: monocraft, monospace;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
    text-transform: uppercase;
}

#players-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.player-entry {
    display: flex;
    align-items: center; 
    gap: 10px;
    font-family: monocraft, monospace;
    font-size: 13px;
    color: #fff;
}

.player-entry img {
    width: 20;
    height: 20px;
    image-rendering: pixelated; 
    border-radius: 2px;
    display: block;
}

.player-entry span {
    line-height: 1; 
    display: inline-block;
}

#players-container::-webkit-scrollbar {
    width: 4px;
}
#players-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.copy-container {
    margin-top: 30px;
}

.copy-container p{
    font-size: 10px;
    font-family: monocraft, monospace;
    letter-spacing: 1px;
    margin-top: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.copy-ip-btn {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    background: rgba(22, 21, 21, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    cursor: pointer;
    font-family: monocraft, monospace;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin: 0 auto; 
}

.copy-ip-btn .material-icons-outlined {
    vertical-align: middle;
}

.copy-ip-btn span {
    font-size: 22px;
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.copy-ip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent); 
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.3);
}

.copy-ip-btn:active {
    transform: translateY(0);
}

.ip, .discord, .performance {
    font-family: monocraft, monospace;
    font-size: 16px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 0 10px rgba(0, 0, 0, 0.7);
}

#stats-title{
    font-size: 40px;
}

.server-data {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-top: 50px;
    width: 100%;
    flex-wrap: wrap;
}

.data-block {
    text-align: center;
    flex: 1;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.data-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.data-block .material-icons-outlined {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.4));
}

.fa-discord {
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.4));
}

.data-block h1 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-block p {
    font-family: monocraft, monospace;
    font-size: 26px !important; 
    color: #fff;
    margin: 15px 0 !important;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 
        0 0 7px rgba(255, 255, 255, 0.3),
        0 0 10px rgba(255, 255, 255, 0.2),
        0 0 21px var(--accent); 
}

.data-block small {
    font-family: monocraft, monospace;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    opacity: 0.6;
}

.update-info .material-icons-outlined {
    font-size: 16px;
}

.update-info p {
    font-family: monocraft, monospace;
    font-size: 11px;
    margin: 0;
    letter-spacing: 1px;
}

.update-animation {
    animation: update 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    display: inline-block;
    will-change: transform, filter; 
}

@keyframes update {
    0% { 
        transform: rotate(0deg);
        color: #f74a37;
        filter: drop-shadow(0 0 2px rgba(247, 74, 55, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(247, 74, 55, 0.9));
        color: #ff5f4d;
    }
    100% { 
        transform: rotate(360deg);
        color: var(--accent);
        filter: drop-shadow(0 0 2px rgba(197, 64, 64, 0.2));
    }
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 0 30px 30px;
}

section h3, .renders h3, #stats-title, #mini-title {
    font-size: 26px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
    font-family: monocraft, monospace;
    font-size: 36px;
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    letter-spacing: 3px;
}

@media (max-width: 600px) {
    #stats-title{
        font-size: 30px;
    }
}

section p {
    color: var(--muted);
    font-size: 16px;
}

#section-text{
    font-family: monocraft, monospace;
    color: #b0b0b0; 
    font-size: 14px; 
    line-height: 1.8; 
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

#greentext-text{
    color: #6cd657; 
}

#redtext-text{
    color: #d65757; 
}


.info {
    font-family: 'monocraft', monospace;
    text-align: center;
    margin: 25px 0;
}

.floating-ip {
    display: flex;
    justify-content: center;
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.floating-ip span {
    display: inline-block;
    
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    
    animation: floatLetter 3s infinite ease-in-out;
}

.floating-ip-small {
    display: flex;
    justify-content: center;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.floating-ip-small span {
    display: inline-block;
    
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    
    animation: floatLetter 3s infinite ease-in-out;
}


@keyframes floatLetter {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    }
    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
    }
}

.floating-ip span:nth-child(1) { animation-delay: 0.0s; }
.floating-ip span:nth-child(2) { animation-delay: 0.1s; }
.floating-ip span:nth-child(3) { animation-delay: 0.2s; }
.floating-ip span:nth-child(4) { animation-delay: 0.3s; }
.floating-ip span:nth-child(5) { animation-delay: 0.4s; }
.floating-ip span:nth-child(6) { animation-delay: 0.5s; }
.floating-ip span:nth-child(7) { animation-delay: 0.6s; }
.floating-ip span:nth-child(8) { animation-delay: 0.7s; }

.version-text {
    display: inline-block;
    font-size: 16px;
    color: #888;
    letter-spacing: 3px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.version-text:hover{
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(184, 182, 182, 0.4));
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 30px 20px; 
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid #111;
    background: linear-gradient(to bottom, rgb(15, 14, 14), #050505); 
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.copyright {
    font-family: monocraft, monospace;
    letter-spacing: 2px;
    opacity: 0.8;
}

#toms3-text{
    color: #eb6b6b;
}

.credits {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.credits:hover {
    opacity: 0.9;
}

.credits strong {
    color: #fff;
    font-weight: 500;
}

.separator {
    margin: 0 8px;
    color: #333;
}

.section-start {
    padding: 80px 30px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 70%);
}

.gallery{
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gallery-img{
    display: block;
}

.gallery-img img{
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
}

#subtitle{
    text-align: center;
    font-family: monocraft, monospace;
    font-size: 16px;
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    letter-spacing: 1px;
}

/* Responsive */

@media (max-width: 600px) {
    .header-right a{
        font-size: 11px;
    }

    #selected{
        padding: 3px 0;
    }

    .hero h2 {
        font-size: 40px;
    }

    .hero h3{
        font-size: 13px;
    }

    .hero p{
        font-size: 11px;
    }

    .ip{
        font-size: 11px;
    }

    .discord{
        font-size: 11px;
    }
    
    .performance{
        font-size: 11px;
    }

    .copy-ip-btn {
        padding: 6px 15px;
    }

    #copy-text {
        font-size: 16px;
    }

    .gallery-img img{
        max-width: 400px;
    }

    .owners{
        gap: 1.5em !important;
    }

    .owners-block img{
        max-width: 280px;
    }

    .owners-block h2{
        font-size: 24px !important;
    }

    .owners-block p strong{
        font-size: 20px !important;
    }
}

/* owners section */

#owners{
    max-width: 100%;
    background: #0a0a0a;
    padding: 50px 0;
}

.owners{
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch;
    justify-content: center;
    gap: 4em;
    margin-bottom: 20px;
}

.owners-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    transition: transform 0.3s ease;
    border-radius: 16px;
    max-width: 300px;
}

.owners-block:hover {
    transform: translateY(-10px);
}

.owners-block img{
    width: 300px;
    border-radius: 6px;
}

.owners-block h2, .owners-block p{
    font-family: monocraft, monospace;
    letter-spacing: 2px;
}

.owners-block h2, .owners-block h3{
    font-family: monocraft, monospace;
    font-size: 28px;
    margin: 0;
    text-align: center;
    
    background: linear-gradient(to bottom, #ffffff 50%, #888888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.owners-block h3 {
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #888888; 
    filter: none;
    -webkit-text-fill-color: initial; 
    background: none;
    margin-bottom: 4px;
    opacity: 0.8;
}

.owners-block p{
    margin-top: auto;
    text-align: center;
    padding-top: 15px;
}

.owners-block p strong{
    font-size: 22px;
    font-style: bold;
    color: rgb(216, 211, 211);
    background: linear-gradient(to bottom, #ffffff 50%, #888888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

/* vote.html */

.vote-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, #111 0%, var(--bg) 100%);
}

.vote-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.vote-card p{
    font-size: 14px; 
    margin-bottom: 10px;
}

.vote-card-header{
    position: static; 
    background: none; 
    padding: 10px 0; 
    margin-bottom: 20px; 
    justify-content: center;
    gap: 1em;
    border-radius: 6px;
}

.vote-card-header p{
    font-family: monocraft, monospace;
    font-size: 24px;
    background: linear-gradient(to bottom, #fff 40%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 0;
}

.vote-card-header img{
    height: 80px;
}

.vote-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.vote-button {
    display: block;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    color: var(--fg);
    font-family: monocraft, monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.vote-button:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.4);
}

.back-link {
    margin-top: 30px;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.back-link:hover {
    color: var(--fg);
}

/* leaderboards.php */
.leaderboards-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1; 
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.leaderboards-hero {
    text-align: center;
    margin-bottom: 50px;
}

.leaderboards-hero p {
    font-family: monocraft, monospace;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.leaderboards-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; 
}

.leaderboard-card {
    position: relative;
    flex: 1; 
    min-width: 300px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    z-index: 1;
}

.leaderboard-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    z-index: 100;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.3);
    padding-bottom: 15px;
}

.card-header span, .material-icons-outlined {
    color: var(--accent);
    font-size: 28px;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.4));
}

.card-header h3 {
    font-family: monocraft, monospace;
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    z-index: 1;
    gap: 12px;
}

.entry {
    display: flex;
    align-items: center;
    font-family: monocraft, monospace;
    font-size: 13px;
    padding: 8px;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.entry:hover {
    background: rgba(255,255,255,0.05);
    border-left-color: var(--accent);
}

.rank {
    width: 35px;
    color: var(--accent);
    font-weight: bold;
}

.entry img {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
    margin-right: 12px;
}

.name {
    flex: 1;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.value {
    color: var(--muted);
    font-weight: bold;
}

.leaderboard-list .players-wrapper {
    width: 100%;
    display: block;
}

.leaderboard-list .players-wrapper:hover .players-popup {
    visibility: visible;
    opacity: 1;
    bottom: 105%; 
}

.players-container .player-entry {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 4px;
}

.entry {
    position: relative;
    z-index: 1;
}

.popup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
    font-size: 13px; 
}

.popup-row span {
    flex-shrink: 0; 
}

.popup-row .label {
    color: var(--fg);
    font-family: monocraft, monospace;
}

.popup-row .val {
    color: var(--muted);
    font-family: monocraft, monospace;
    margin-left: 10px;
}

.profile-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
    margin-bottom: 10px;
    justify-content: flex-start;
    gap: 10px;
}

.player-name-title {
    color: var(--accent) !important;
    font-family: monocraft, monospace;
    font-size: 15px !important;
}
.join-row {
    margin-top: 8px;
    padding-top: 4px;
    border-top: 1px dashed rgba(255,255,255,0.05);
}

.date-val {
    font-size: 11px; 
    white-space: nowrap;
}

.leaderboard-list .players-popup {
    min-width: 240px; 
}

.info-thanks {
    text-align: center;
    font-family: monocraft, monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 40px;
}

.info-thanks p{
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

@media (max-width: 900px) {
    .leaderboards-grid {
        flex-direction: column;
        align-items: center;
    }
    .leaderboard-card {
        width: 100%;
        max-width: 450px;
    }
}

/* contact & info */

.card-description {
    font-family: monocraft, monospace;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.contact-icon {
    font-size: 18px;
    margin-right: 10px;
}

.about-box {
    margin-top: 25px;
    display: flex;             
    align-items: center;       
    justify-content: center;   
    padding: 20px;            
    border-radius: 8px;
    box-sizing: border-box;
    min-height: 80px;         
    width: 100%;
    text-decoration: none;
}

.donation-box {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.box-text {
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 !important; 
    color: #eee;
    font-family: monocraft, monospace;
    display: flex;
    align-items: center;
    gap: 10px; 
}

.info-icon {
    font-size: 14px;
    vertical-align: middle;
}

.card-text-main {
    font-family: monocraft, monospace;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.card-text-secondary {
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
}

.github-link-box {
    font-family: monocraft, monospace;
    letter-spacing: 2px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--fg); 
}

.github-link-box:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-color: var(--accent);
}

/* chat.php */

.nav-chat {
    margin: 0;
    padding: 0;
}

.nav-chat * {
    margin: 0;
    padding: 12px 12px;
}

.nav-chat a {
    font-family: monocraft, monospace;
    text-transform: none !important;
}

.nav-chat a:hover { 
    color: var(--accent); 
}

.toms3-chat-view-container {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.toms3-chat-main-card {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 65vh; 
    overflow: hidden;
    box-sizing: border-box;
}

.toms3-chat-main-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.1);
}

.chat-header {
    background: #1a1a1a;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: -25px -25px 20px -25px; /* Compensa el padding interno de la tarjeta */
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.chat-title {
    margin-left: 10px;
    font-family: 'Monocraft', monospace;
    font-size: 12px;
    color: var(--muted);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 5px 0px;
    font-family: 'Monocraft', 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    background: transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.message { margin-bottom: 8px; }
.timestamp { color: var(--muted); margin-right: 8px; }
.username { color: var(--acent-hover); font-weight: bold; margin-right: 5px; }
.text { color: #eee; word-wrap: break-word; }
.system { font-style: italic; opacity: 0.8; }

.redtext {
    color: #ff5f56;
}

.greentext {
    color: #3ee059;
}

@media (max-width: 600px) {
    .toms3-chat-view-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .toms3-chat-main-card {
        height: 75vh; /* Le damos un poco más de aire vertical en smartphones */
        padding: 15px;
    }
    
    .chat-header {
        margin: -15px -15px 15px -15px;
        padding: 10px 12px;
    }
    
    .chat-messages {
        font-size: 12px; /* Ajusta ligeramente la fuente para pantallas compactas */
    }
}

/* leaderboards.php supporter section */

.supporters-hero {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 50px;
    padding: 0 30px;
}

.supporters-hero p {
    font-family: monocraft, monospace;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.9;
    text-shadow:
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.5);
}

.supporters-layout {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.supporters-list-card {
    flex: 1.4;
    min-width: 320px;
}

.supporters-top-card {
    flex: 1;
    min-width: 280px;
}

.donor-entry {
    cursor: default;
}

.donor-num {
    width: 35px;
    color: var(--muted);
    font-weight: bold;
}

.donor-tag {
    display: flex;
    align-items: center;
}

.donor-heart {
    font-size: 16px !important;
    color: var(--accent) !important;
    filter: drop-shadow(0 0 4px rgba(192, 57, 43, 0.5)) !important;
}

.donor-top-entry {
    cursor: default;
}

.donor-amount {
    color: var(--accent);
    font-weight: bold;
    white-space: nowrap;
}

.rank-gold  { color: #f5c542 !important; text-shadow: 0 0 8px rgba(245, 197, 66, 0.5); }
.rank-silver{ color: #b0b8c1 !important; text-shadow: 0 0 8px rgba(176, 184, 193, 0.4); }
.rank-bronze{ color: #c97a3a !important; text-shadow: 0 0 8px rgba(201, 122, 58, 0.4); }

.supporters-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.supporters-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.35);
    border-radius: 8px;
    color: var(--fg);
    font-family: monocraft, monospace;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.supporters-cta-btn .material-icons-outlined {
    font-size: 20px !important;
    color: var(--accent) !important;
    filter: drop-shadow(0 0 6px rgba(192, 57, 43, 0.5)) !important;
    transition: transform 0.3s ease;
}

.supporters-cta-btn:hover {
    background: rgba(192, 57, 43, 0.15);
    border-color: var(--accent);
    color: var(--fg);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.2);
}

.supporters-cta-btn:hover .material-icons-outlined {
    transform: scale(1.15);
}

.supporters-cta-sub {
    font-family: monocraft, monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    opacity: 0.55;
    margin-top: 12px;
    text-shadow:
        2px 2px 0px #3b3535,
        0 0 10px rgba(223, 218, 218, 0.3);
}

.supporters-empty {
    font-family: monocraft, monospace;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    padding: 20px 0;
    opacity: 0.7;
}

.supporters-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--fg);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.page-btn .material-icons-outlined {
    font-size: 18px !important;
    color: inherit !important;
    filter: none !important;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    font-family: monocraft, monospace;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.page-num:hover {
    color: var(--fg);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.page-num-active {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    background: rgba(192, 57, 43, 0.1) !important;
    cursor: default;
    pointer-events: none;
}

.page-ellipsis {
    font-family: monocraft, monospace;
    font-size: 12px;
    color: var(--muted);
    opacity: 0.5;
    padding: 0 2px;
}

.page-info {
    font-family: monocraft, monospace;
    font-size: 11px;
    color: var(--muted);
    opacity: 0.5;
    margin-left: 6px;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .supporters-layout {
        flex-direction: column;
        align-items: center;
    }
    .supporters-list-card,
    .supporters-top-card {
        width: 100%;
        max-width: 450px;
        flex: unset;
    }
}

/* donor gradient name styles */

@keyframes gid-shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes glow-white       { 0%,100%{ filter: drop-shadow(0 0 4px rgba(255,255,255,0.2)); } 50%{ filter: drop-shadow(0 0 10px rgba(255,255,255,0.7)) drop-shadow(0 0 20px rgba(255,255,255,0.3)); } }
@keyframes glow-dark_green  { 0%,100%{ filter: drop-shadow(0 0 3px rgba(0,170,0,0.3));     } 50%{ filter: drop-shadow(0 0 10px rgba(0,255,0,0.8))   drop-shadow(0 0 20px rgba(0,170,0,0.3));   } }
@keyframes glow-dark_red    { 0%,100%{ filter: drop-shadow(0 0 3px rgba(170,0,0,0.3));     } 50%{ filter: drop-shadow(0 0 10px rgba(255,0,0,0.7))   drop-shadow(0 0 20px rgba(170,0,0,0.3));   } }
@keyframes glow-gold        { 0%,100%{ filter: drop-shadow(0 0 3px rgba(255,170,0,0.3));   } 50%{ filter: drop-shadow(0 0 10px rgba(255,200,0,0.8)) drop-shadow(0 0 20px rgba(255,170,0,0.3)); } }
@keyframes glow-dark_gray   { 0%,100%{ filter: drop-shadow(0 0 2px rgba(80,80,80,0.2));    } 50%{ filter: drop-shadow(0 0 8px  rgba(120,120,120,0.6));                                         } }
@keyframes glow-green       { 0%,100%{ filter: drop-shadow(0 0 3px rgba(85,255,85,0.3));   } 50%{ filter: drop-shadow(0 0 10px rgba(85,255,85,0.9)) drop-shadow(0 0 22px rgba(0,200,0,0.3));   } }
@keyframes glow-red         { 0%,100%{ filter: drop-shadow(0 0 3px rgba(255,85,85,0.3));   } 50%{ filter: drop-shadow(0 0 10px rgba(255,85,85,0.9)) drop-shadow(0 0 20px rgba(200,0,0,0.3));   } }
@keyframes glow-yellow      { 0%,100%{ filter: drop-shadow(0 0 3px rgba(255,255,85,0.3));  } 50%{ filter: drop-shadow(0 0 10px rgba(255,255,85,0.9)) drop-shadow(0 0 20px rgba(200,200,0,0.2));} }
@keyframes glow-dark_blue   { 0%,100%{ filter: drop-shadow(0 0 3px rgba(0,0,170,0.4));     } 50%{ filter: drop-shadow(0 0 10px rgba(60,60,255,0.8)) drop-shadow(0 0 20px rgba(0,0,170,0.3));   } }
@keyframes glow-dark_aqua   { 0%,100%{ filter: drop-shadow(0 0 3px rgba(0,170,170,0.3));   } 50%{ filter: drop-shadow(0 0 10px rgba(0,220,220,0.8)) drop-shadow(0 0 20px rgba(0,170,170,0.3)); } }
@keyframes glow-dark_purple { 0%,100%{ filter: drop-shadow(0 0 3px rgba(170,0,170,0.35));  } 50%{ filter: drop-shadow(0 0 10px rgba(220,0,220,0.8)) drop-shadow(0 0 20px rgba(170,0,170,0.3));} }
@keyframes glow-gray        { 0%,100%{ filter: drop-shadow(0 0 2px rgba(150,150,150,0.2)); } 50%{ filter: drop-shadow(0 0 8px  rgba(200,200,200,0.5));                                         } }
@keyframes glow-blue        { 0%,100%{ filter: drop-shadow(0 0 3px rgba(85,85,255,0.3));   } 50%{ filter: drop-shadow(0 0 10px rgba(85,85,255,0.9)) drop-shadow(0 0 20px rgba(50,50,200,0.3)); } }
@keyframes glow-aqua        { 0%,100%{ filter: drop-shadow(0 0 3px rgba(85,255,255,0.3));  } 50%{ filter: drop-shadow(0 0 10px rgba(85,255,255,0.9)) drop-shadow(0 0 22px rgba(0,200,200,0.3));} }
@keyframes glow-light_purple{ 0%,100%{ filter: drop-shadow(0 0 3px rgba(255,85,255,0.35)); } 50%{ filter: drop-shadow(0 0 10px rgba(255,85,255,0.9)) drop-shadow(0 0 22px rgba(200,0,200,0.3));} }
@keyframes glow-black       { 0%,100%{ filter: drop-shadow(0 0 2px rgba(60,60,60,0.2));    } 50%{ filter: drop-shadow(0 0 7px  rgba(100,100,100,0.5));                                         } }

.gid {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: gid-shimmer 3.5s linear infinite;
}

/* 1 - default: white gradient */
.gid-default {
    background-image: linear-gradient(90deg,
        #aaaaaa 0%,
        #ffffff 30%,
        #ffffff 45%,
        rgba(255,255,255,1) 50%,
        #ffffff 55%,
        #ffffff 70%,
        #aaaaaa 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-white 2.4s ease-in-out infinite;
}

/* 2 - dark_green */
.gid-dark_green {
    background-image: linear-gradient(90deg,
        #006600 0%,
        #00aa00 35%,
        #66ff66 50%,
        #00aa00 65%,
        #006600 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_green 2.4s ease-in-out infinite;
}

/* 3 - dark_red */
.gid-dark_red {
    background-image: linear-gradient(90deg,
        #660000 0%,
        #aa0000 35%,
        #ff6666 50%,
        #aa0000 65%,
        #660000 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_red 2.4s ease-in-out infinite;
}

/* 4 - gold */
.gid-gold {
    background-image: linear-gradient(90deg,
        #cc8800 0%,
        #ffaa00 35%,
        #ffe680 50%,
        #ffaa00 65%,
        #cc8800 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-gold 2.4s ease-in-out infinite;
}

/* 5 - dark_gray */
.gid-dark_gray {
    background-image: linear-gradient(90deg,
        #333333 0%,
        #555555 35%,
        #888888 50%,
        #555555 65%,
        #333333 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_gray 2.4s ease-in-out infinite;
}

/* 6 - green */
.gid-green {
    background-image: linear-gradient(90deg,
        #22cc22 0%,
        #55ff55 35%,
        #ccffcc 50%,
        #55ff55 65%,
        #22cc22 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-green 2.4s ease-in-out infinite;
}

/* 7 - red */
.gid-red {
    background-image: linear-gradient(90deg,
        #cc2222 0%,
        #ff5555 35%,
        #ffbbbb 50%,
        #ff5555 65%,
        #cc2222 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-red 2.4s ease-in-out infinite;
}

/* 8 - yellow */
.gid-yellow {
    background-image: linear-gradient(90deg,
        #cccc22 0%,
        #ffff55 35%,
        #ffffcc 50%,
        #ffff55 65%,
        #cccc22 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-yellow 2.4s ease-in-out infinite;
}

/* 9 - dark_blue */
.gid-dark_blue {
    background-image: linear-gradient(90deg,
        #000066 0%,
        #0000aa 35%,
        #5555dd 50%,
        #0000aa 65%,
        #000066 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_blue 2.4s ease-in-out infinite;
}

/* 10 - dark_aqua */
.gid-dark_aqua {
    background-image: linear-gradient(90deg,
        #006666 0%,
        #00aaaa 35%,
        #66ffff 50%,
        #00aaaa 65%,
        #006666 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_aqua 2.4s ease-in-out infinite;
}

/* 11 - dark_purple */
.gid-dark_purple {
    background-image: linear-gradient(90deg,
        #660066 0%,
        #aa00aa 35%,
        #ee66ee 50%,
        #aa00aa 65%,
        #660066 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-dark_purple 2.4s ease-in-out infinite;
}

/* 12 - gray */
.gid-gray {
    background-image: linear-gradient(90deg,
        #777777 0%,
        #aaaaaa 35%,
        #dddddd 50%,
        #aaaaaa 65%,
        #777777 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-gray 2.4s ease-in-out infinite;
}

/* 13 - blue */
.gid-blue {
    background-image: linear-gradient(90deg,
        #2222cc 0%,
        #5555ff 35%,
        #aaaaff 50%,
        #5555ff 65%,
        #2222cc 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-blue 2.4s ease-in-out infinite;
}

/* 14 - aqua */
.gid-aqua {
    background-image: linear-gradient(90deg,
        #22cccc 0%,
        #55ffff 35%,
        #ccffff 50%,
        #55ffff 65%,
        #22cccc 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-aqua 2.4s ease-in-out infinite;
}

/* 15 - light_purple */
.gid-light_purple {
    background-image: linear-gradient(90deg,
        #cc22cc 0%,
        #ff55ff 35%,
        #ffccff 50%,
        #ff55ff 65%,
        #cc22cc 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-light_purple 2.4s ease-in-out infinite;
}

/* 16 - black: dark gray so it stays readable, subtle shimmer */
.gid-black {
    background-image: linear-gradient(90deg,
        #111111 0%,
        #333333 35%,
        #666666 50%,
        #333333 65%,
        #111111 100%
    );
    animation: gid-shimmer 3.5s linear infinite, glow-black 2.4s ease-in-out infinite;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.perk-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.perk-card:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.14);
}

.perk-card--gradient {
    grid-column: 1 / -1;
}

.perk-icon {
    font-size: 22px !important;
    color: var(--accent) !important;
    filter: drop-shadow(0 0 6px rgba(192, 57, 43, 0.45));
    flex-shrink: 0;
    margin-top: 2px;
}

.perk-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.perk-cmd {
    font-family: monocraft, monospace;
    font-size: 13px;
    color: var(--fg);
    letter-spacing: 1px;
}

.perk-alias {
    font-size: 11px;
    color: var(--muted);
    opacity: 0.7;
}

.perk-desc {
    font-family: monocraft, monospace;
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
    opacity: 0.8;
}

.perk-gradient-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    align-items: center;
}

.perk-gradient-preview .gid {
    font-family: monocraft, monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

@media (max-width: 860px) {
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .perk-card--gradient {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .perks-grid {
        grid-template-columns: 1fr;
    }
    .perk-card--gradient {
        grid-column: 1;
    }
}

.perks-hero {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0 30px;
}

.perks-hero h2 {
    font-size: 30px !important; 
}