/* ============================================
   CUSTOM BADGE STYLES (Game + Admin)
   ============================================ */

.role-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    transition: all 0.3s ease;
    cursor: default;
}

.role-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* ADMIN badge - Red/Pink gradient */
.role-badge.admin {
    background: linear-gradient(135deg, #ff6b6b, #ff0000);
    color: white;
    border: 2px solid rgba(109, 19, 19, 0.5);
}

/* MOD badge - Blue gradient */
.role-badge.mod {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
    border: 2px solid rgba(76, 201, 240, 0.5);
}

/* OG badge - Gold gradient */
.role-badge.og {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    border: 2px solid rgba(255, 215, 0, 0.7);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

/* VIP badge - Purple gradient */
.role-badge.vip {
    background: linear-gradient(135deg, #d399ff, #ec17ff);
    color: white;
    border: 2px solid rgba(85, 8, 143, 0.5);
}

/* STAFF badge - Cyan/Green gradient */
.role-badge.staff {
    background: linear-gradient(135deg, #06ffa5, #00d9ff);
    color: #000;
    border: 2px solid rgba(6, 255, 165, 0.6);
    text-shadow: 0 0 5px rgba(6, 255, 165, 0.6);
}

/* SUPPORTER badge - Pink/Yellow gradient */
.role-badge.supporter {
    background: linear-gradient(135deg, #ff9ff3, #feca57);
    color: #ffffff;
    border: 2px solid rgba(255, 159, 243, 0.6);
}

/* DEVELOPER badge - Purple gradient */
.role-badge.developer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.5);
}

/* TESTER badge - Green gradient */
.role-badge.tester {
    background: linear-gradient(135deg, #18c752, #078c96);
    color: #ffffff;
    border: 2px solid rgb(139, 255, 178);
    text-shadow: 0 0 5px rgba(67, 233, 123, 0.5);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* PARTNER badge - Orange gradient */
.role-badge.partner {
    background: linear-gradient(135deg, #fa8231, #f5576c);
    color: white;
    border: 2px solid rgba(250, 130, 49, 0.5);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* CONTENT CREATOR badge - Rainbow gradient */
.role-badge.hunguessr {
    background: linear-gradient(135deg, #ff6b6b, #f5576c, #fa8231, #feca57, #43e97b, #4cc9f0, #667eea);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: rainbow-shift-fast 1s linear infinite;
}

@keyframes rainbow-shift-fast {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* VERIFIED badge - Blue checkmark style */
.role-badge.verified {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
    border: 2px solid rgba(29, 161, 242, 0.5);
}

/* PREMIUM badge - Gold/Black gradient */
.role-badge.premium {
    background: linear-gradient(135deg, #d4af37, #ffd700, #d4af37);
    color: #000;
    border: 2px solid rgba(255, 215, 0, 0.8);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* Badge in user cards (admin panel) */
.user-card .role-badge {
    margin-left: 5px;
    font-size: 0.6rem;
    padding: 2px 6px;
}

/* Badge selector in admin panel */
.badge-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.badge-option {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge-option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.badge-option.selected {
    border-color: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.badge-manager {
    background: rgba(76, 201, 240, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.2);
}

.badge-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge-option:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.current-badge {
    font-size: 1rem;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.rank-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.25);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.rank-iron { background: linear-gradient(135deg, #6d6d6d, #999); color: #ffffff; }
.rank-bronze { background: linear-gradient(135deg, #cd7f32, #b87333); color: #ffffff; }
.rank-silver { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #ffffff; }
.rank-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #ffffff; }
.rank-diamond { background: linear-gradient(135deg, #00d4ff, #00a8cc); color: #ffffff; }
.rank-elite {
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: white;
    animation: glow 2s infinite;
}
.rank-champion {
    background: linear-gradient(135deg, #fbff00, #f5e557, #facb31, #fe9457, #e97243, #f0574c, #ff0000);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: rainbow-shift-slow 10s linear infinite;
}

@keyframes rainbow-shift-slow {
    0% { filter: hue-rotate(360deg); }
    100% { filter: hue-rotate(0deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 110, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 110, 0.8); }
}

