
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    position:relative;
}
.container::before{
    content:""; position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events:none; opacity:0.5;
}

.title-section {
    text-align: center;
    margin-bottom: 50px;
}

.title-section h2 {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-weight: 900;
    position:relative;
    display:inline-block;
}
.title-section h2::after{
    content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:-8px; width:48px; height:3px; background:#e74c3c; border-radius:2px;
}

.title-section .eyebrow{
    display:block; font-family:'Caveat',cursive; font-size:1.35rem; font-weight:700; color:#ff8a8a; transform:rotate(-0.8deg); margin-bottom:6px;
}
.title-section p {
    color: #9aa0a6;
    font-size: 1rem;
    line-height:1.6;
    max-width:600px; margin:14px auto 0;
}


.at-content {
    display: block;
    width: 100%;
}


.group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 46, 46, 0.13);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    display: block;
    clear: both;
    position:relative;
    overflow:hidden;
}
.group::after{
    content:""; position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events:none; opacity:0.45;
}
.group:nth-child(odd){ border-radius:14px 16px 12px 15px}
.group:nth-child(even){ border-radius:16px 12px 15px 14px}


.rank-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 25px;
    border-left: 5px solid #ff2e2e;
    padding-left: 15px;
    letter-spacing: -0.3px;
    font-weight:800;
    position:relative;
}


.users {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.users::after {
    content: "";
    display: table;
    clear: both;
}


.user {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-sizing: border-box;
    display: block;
    float: left;
    width: 22%;
    margin-right: 4%;
    margin-bottom: 25px;
    position:relative;
    overflow:hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.user:nth-child(odd){ transform:rotate(-0.15deg)}
.user:nth-child(even){ transform:rotate(0.15deg)}
.user::after{
    content:""; position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events:none; opacity:0.4;
}


.user:nth-child(4n) {
    margin-right: 0;
}

.user:hover {
    transform: translateY(-5px) rotate(0deg);
    border-color: rgba(255, 46, 46, 0.28);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
}

/* 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);
}

/* Streamer socials */
.streamer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.streamer-socials.empty {
    font-size: 0.78rem;
    color: #7a7a7a;
    font-style: italic;
}
.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
}
.social-btn.tiktok:hover { color: #fff; background: #000; border-color: #000; }
.social-btn.twitch:hover { color: #fff; background: #9146FF; border-color: #9146FF; }
.social-btn.youtube:hover { color: #fff; background: #FF0000; border-color: #FF0000; }
.social-btn.instagram:hover { color: #fff; background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5); border-color: transparent; }
.social-btn.kick:hover { color: #fff; background: #53FC18; color:#000; border-color: #53FC18; }
/* Creator LIVE badges */
.live-badge { display:inline-flex; align-items:center; gap:5px; font-size:0.72rem; font-weight:800; letter-spacing:0.4px; padding:5px 10px; border-radius:999px; margin-top:8px; border:1px solid; text-transform:uppercase; }
.live-badge.live-altaria { background:rgba(255,46,46,0.16); border-color:rgba(255,46,46,0.35); color:#ff6b6b; box-shadow:0 0 10px rgba(255,46,46,0.25); animation: pulseLive 1.6s infinite; }
.live-badge.online { background:rgba(46,213,115,0.12); border-color:rgba(46,213,115,0.25); color:#a8f5c2; }
.live-badge.offline { background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.08); color:#9aa0a6; }
.live-badge.live-offline { background:rgba(255,165,0,0.10); border-color:rgba(255,165,0,0.22); color:#ffcc7a; }
.live-link { display:inline-flex; align-items:center; gap:6px; margin-top:8px; background:#ff0000; color:#fff; text-decoration:none; font-weight:800; font-size:0.78rem; padding:6px 12px; border-radius:999px; border:1px solid rgba(255,255,255,0.15); transition:0.2s; }
.live-link:hover { background:#cc0000; transform:translateY(-1px); box-shadow:0 4px 12px rgba(255,0,0,0.3); }
@keyframes pulseLive{0%,100%{opacity:1}50%{opacity:0.85}}

/* ---------- Creator Hub ---------- */
.group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    margin-left: 8px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #d8d8d8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    vertical-align: middle;
}

.group-empty {
    color: #9aa0a6;
    padding: 10px 0;
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.6;
}

.social-btn.x:hover { background: #000000; border-color: #ffffff; }
.social-btn.discord:hover { background: #5865F2; border-color: #5865F2; }


@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 centralizzato in global.css */