@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));
}

.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 */
.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); 
}

.chat-container-wrapper {
    max-width: 900px;
    min-width: 455px;
    margin: 40px auto;
    padding: 0 20px;
}

.chat-card {
    display: flex;
    flex-direction: column;
    height: 65vh; 
    overflow: hidden;
}

.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;
}

.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: 20px;
    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; }

.chat-input-area {
    display: flex;
    padding: 12px;
    background: #111;
    border-top: 1px solid #222;
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
}

.chat-input-area p {
    flex: 1;
    background: transparent;
    border: none;
    color: rgb(68, 66, 66);
    font-style: italic;
    font-family: 'Monocraft', monospace;
    font-size: 14px;
    margin: 0;
}

.nav-chat {
    padding: 20px;
    text-align: center;
}

.nav-chat a {
    font-family: 'Monocraft', monospace;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
}

.redtext {
    color: #ff5f56;
}

.greentext {
    color: #3ee059;
}