
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.title-section {
    text-align: center;
    margin-bottom: 50px;
}

.title-section h2 {
    font-size: 2.5rem;
    color: #ff2e2e;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-family: sans-serif;
}

.title-section p {
    color: #b0b0b0;
    font-size: 1.1rem;
    font-family: sans-serif;
}


.at-content {
    display: block;
    width: 100%;
}


.group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 46, 46, 0.15);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    display: block;
    clear: both;
}


.rank-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 25px;
    border-left: 5px solid #ff2e2e;
    padding-left: 15px;
    letter-spacing: 1px;
    font-family: sans-serif;
}


.users {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.users::after {
    content: "";
    display: table;
    clear: both;
}


.user {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-sizing: border-box;
    

    display: block;
    float: left;
    width: 22%;
    margin-right: 4%;
    margin-bottom: 25px;
    
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}


.user:nth-child(4n) {
    margin-right: 0;
}

.user:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 46, 46, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

/* Immagine della skin di Minecraft */
.user img {
    width: 100px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

/* Nome del giocatore */
.user .name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
    display: block;
    font-family: sans-serif;
}

/* Badge del rank */
.user .rank {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    color: #ffffff;
    margin: 0 auto;
    display: inline-block;
    letter-spacing: 0.5px;
    font-family: sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


@media (max-width: 992px) {
    .user {
        width: 48%;
        margin-right: 4%;
    }
    .user:nth-child(4n) {
        margin-right: 4%;
    }
    .user:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .user {
        width: 100%;
        margin-right: 0;
        float: none;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(180deg, #1a0505 0%, #0d0202 100%);
    color: #ffffff;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background-color: #800c0c;
    border-bottom: 4px solid #ff2e2e;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.logo-he {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-he:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-left: 0px;
    color: #ffffff;
    margin-top: -50px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #ffcccc;
    border-bottom: 2px solid #ffcccc;
}

footer {
    width: 100%;
    background: linear-gradient(180deg, #0d0202, #1a0505);
    border-top: 3px solid #800c0c;
    padding: 50px 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ff2e2e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: #b0b0c0;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 12, 12, 0.3);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom strong {
    color: #800c0c;
}