/* ===== BADGE "EN COURS DE DIFFUSION" ===== */
.now-playing-badge {
position: fixed;
top: 100px;
right: 20px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
backdrop-filter: blur(20px);
border: 2px solid rgba(212, 175, 55, 0.5);
border-radius: 20px;
padding: 20px;
z-index: 998;
min-width: 280px;
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.8),
0 0 30px rgba(212, 175, 55, 0.3);
opacity: 0;
transform: translateX(350px);
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.now-playing-badge.active {
opacity: 1;
transform: translateX(0);
}
.now-playing-content {
display: flex;
gap: 15px;
align-items: flex-start;
}
.now-playing-icon {
font-size: 36px;
animation: nowPlayingPulse 2s ease-in-out infinite;
}
@keyframes nowPlayingPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
.now-playing-info {
flex: 1;
}
.now-playing-label {
font-size: 11px;
font-weight: 700;
color: rgba(255, 255, 255, 0.6);
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 5px;
}
.now-playing-title {
font-size: 18px;
font-weight: 900;
color: var(--gold);
margin-bottom: 8px;
line-height: 1.2;
}
.now-playing-meta {
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
display: flex;
gap: 8px;
align-items: center;
}
/* ===== SYSTÈME DE NIVEAU (DROPDOWN) ===== */
.user-level-display {
padding: 15px 20px;
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
border-radius: 15px;
margin: 10px 0;
border: 1px solid rgba(212, 175, 55, 0.2);
}
.level-badge {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
}
.level-emoji {
font-size: 28px;
filter: drop-shadow(0 0 10px currentColor);
}
.level-name {
font-size: 16px;
font-weight: 800;
color: var(--gold);
letter-spacing: 0.5px;
}
.level-progress-container {
margin-top: 10px;
}
.level-progress-bar {
height: 8px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
overflow: hidden;
margin-bottom: 8px;
}
.level-progress-fill {
height: 100%;
border-radius: 10px;
transition: width 1s ease;
box-shadow: 0 0 10px currentColor;
}
.level-progress-text {
font-size: 11px;
color: rgba(255, 255, 255, 0.6);
text-align: center;
}
.level-max {
text-align: center;
font-size: 14px;
font-weight: 700;
color: var(--gold);
padding: 10px;
}
/* ===== ANIMATIONS UNLOCK BADGE ===== */
.badge-unlock-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
z-index: 10005;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.badge-unlock-overlay.active {
opacity: 1;
}
.badge-unlock-card {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
border: 3px solid var(--gold);
border-radius: 30px;
padding: 60px 80px;
text-align: center;
animation: badgeUnlockPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 80px rgba(212, 175, 55, 0.5);
}
@keyframes badgeUnlockPop {
0% {
transform: scale(0) rotate(-180deg);
opacity: 0;
}
100% {
transform: scale(1) rotate(0deg);
opacity: 1;
}
}
.badge-unlock-icon {
font-size: 120px;
margin-bottom: 30px;
animation: badgeIconBounce 1s ease-in-out infinite;
filter: drop-shadow(0 0 40px currentColor);
}
@keyframes badgeIconBounce {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-20px) scale(1.1); }
}
.badge-unlock-title {
font-size: 32px;
font-weight: 900;
color: var(--gold);
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 15px;
}
.badge-unlock-name {
font-size: 42px;
font-weight: 900;
background: linear-gradient(135deg, #fff, var(--gold));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 15px;
}
.badge-unlock-description {
font-size: 18px;
color: rgba(255, 255, 255, 0.7);
}
/* ===== ANIMATIONS LEVEL UP ===== */
.level-up-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
z-index: 10005;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.level-up-overlay.active {
opacity: 1;
}
.level-up-card {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
border: 4px solid var(--gold);
border-radius: 30px;
padding: 80px 100px;
text-align: center;
animation: levelUpExplosion 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 100px var(--gold);
position: relative;
overflow: hidden;
}
@keyframes levelUpExplosion {
0% {
transform: scale(0.5) rotate(-45deg);
opacity: 0;
}
70% {
transform: scale(1.1) rotate(5deg);
}
100% {
transform: scale(1) rotate(0deg);
opacity: 1;
}
}
.level-up-card::before {
content: '';
position: absolute;
inset: -50%;
background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.3), transparent);
animation: levelUpShine 2s linear infinite;
}
@keyframes levelUpShine {
0% { transform: translateX(-100%) rotate(45deg); }
100% { transform: translateX(100%) rotate(45deg); }
}
.level-up-icon {
font-size: 150px;
margin-bottom: 30px;
animation: levelUpIconSpin 1.5s ease-in-out infinite;
filter: drop-shadow(0 0 60px currentColor);
}
@keyframes levelUpIconSpin {
0%, 100% { transform: rotate(0deg) scale(1); }
50% { transform: rotate(15deg) scale(1.2); }
}
.level-up-title {
font-size: 40px;
font-weight: 900;
color: var(--gold);
text-transform: uppercase;
letter-spacing: 5px;
margin-bottom: 20px;
text-shadow: 0 0 30px var(--gold);
}
.level-up-name {
font-size: 52px;
font-weight: 900;
background: linear-gradient(135deg, #fff, var(--gold), #fff);
background-size: 200% auto;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: levelUpTextShimmer 2s linear infinite;
margin-bottom: 20px;
}
@keyframes levelUpTextShimmer {
0% { background-position: 0% center; }
100% { background-position: 200% center; }
}
.level-up-sparkles {
font-size: 32px;
animation: levelUpSparkle 1s ease-in-out infinite;
}
@keyframes levelUpSparkle {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
/* ===== MUR DE COMMENTAIRES ===== */
.comments-wall {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(10, 10, 10, 0.98));
backdrop-filter: blur(20px);
border-top: 2px solid rgba(212, 175, 55, 0.3);
z-index: 997;
max-height: 400px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.comments-wall.collapsed {
max-height: 60px;
}
.comments-wall-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 30px;
border-bottom: 1px solid rgba(212, 175, 55, 0.2);
cursor: pointer;
}
.comments-wall-header h3 {
margin: 0;
font-size: 18px;
font-weight: 800;
color: var(--gold);
}
.comments-wall-toggle {
width: 40px;
height: 40px;
background: rgba(212, 175, 55, 0.1);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 50%;
font-size: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.comments-wall-toggle:hover {
background: rgba(212, 175, 55, 0.2);
border-color: var(--gold);
transform: rotate(180deg);
}
.comments-wall-body {
max-height: 340px;
display: flex;
flex-direction: column;
}
.comments-list {
flex: 1;
overflow-y: auto;
padding: 20px 30px;
max-height: 250px;
}
.comments-list::-webkit-scrollbar {
width: 8px;
}
.comments-list::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
}
.comments-list::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--gold), var(--dark-gold));
border-radius: 10px;
}
.comment-item {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(212, 175, 55, 0.15);
border-radius: 15px;
padding: 15px;
margin-bottom: 12px;
transition: all 0.3s ease;
opacity: 0;
transform: translateY(20px);
}
.comment-item.active {
opacity: 1;
transform: translateY(0);
}
.comment-item:hover {
background: rgba(212, 175, 55, 0.08);
border-color: rgba(212, 175, 55, 0.3);
}
.comment-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.comment-user {
font-size: 14px;
font-weight: 700;
color: var(--gold);
}
.comment-time {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
.comment-text {
font-size: 14px;
color: rgba(255, 255, 255, 0.9);
line-height: 1.6;
margin-bottom: 10px;
}
.comment-actions {
display: flex;
gap: 10px;
}
.comment-like-btn {
display: flex;
align-items: center;
gap: 6px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 6px 12px;
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
.comment-like-btn:hover {
background: rgba(255, 107, 107, 0.2);
border-color: #ff6b6b;
}
.comment-like-icon {
font-size: 14px;
}
.comment-like-count {
font-weight: 700;
color: rgba(255, 255, 255, 0.8);
}
.comments-empty,
.comments-error {
text-align: center;
padding: 60px 20px;
}
.comments-empty-icon {
font-size: 60px;
margin-bottom: 20px;
opacity: 0.5;
}
.comments-empty-text {
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
}
.comments-input-container {
display: flex;
gap: 10px;
padding: 20px 30px;
background: rgba(0, 0, 0, 0.5);
border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.comments-input {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 25px;
padding: 12px 20px;
color: white;
font-size: 14px;
outline: none;
transition: all 0.3s ease;
}
.comments-input:focus {
background: rgba(255, 255, 255, 0.08);
border-color: var(--gold);
}
.comments-send-btn {
width: 45px;
height: 45px;
background: linear-gradient(135deg, var(--gold), var(--dark-gold));
border: none;
border-radius: 50%;
color: #000;
font-size: 18px;
cursor: pointer;
transition: all 0.3s ease;
}
.comments-send-btn:hover {
transform: scale(1.1);
box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}
/* ===== LEADERBOARD PANEL ===== */
.leaderboard-panel {
position: fixed;
top: 100px;
left: 20px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
backdrop-filter: blur(20px);
border: 2px solid rgba(212, 175, 55, 0.5);
border-radius: 20px;
padding: 25px;
z-index: 998;
min-width: 320px;
max-width: 400px;
max-height: 500px;
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.8),
0 0 30px rgba(212, 175, 55, 0.3);
}
.leaderboard-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
.leaderboard-header h3 {
margin: 0;
font-size: 20px;
font-weight: 900;
color: var(--gold);
}
.leaderboard-period select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 8px 12px;
    color: white; /* ← ICI */
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* ✅ AJOUTEZ CECI */
.leaderboard-period select option {
    background: #1a1a1a;
    color: white;
}
.leaderboard-period select:focus {
border-color: var(--gold);
}
.leaderboard-body {
overflow-y: auto;
max-height: 380px;
}
.leaderboard-body::-webkit-scrollbar {
width: 6px;
}
.leaderboard-body::-webkit-scrollbar-thumb {
background: var(--gold);
border-radius: 10px;
}
.leaderboard-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.leaderboard-item {
display: flex;
gap: 15px;
align-items: center;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(212, 175, 55, 0.15);
border-radius: 15px;
padding: 15px;
transition: all 0.3s ease;
}
.leaderboard-item:hover {
background: rgba(212, 175, 55, 0.1);
border-color: rgba(212, 175, 55, 0.3);
transform: translateX(5px);
}
.leaderboard-item.top-3 {
background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
border-color: rgba(212, 175, 55, 0.4);
}
.leaderboard-rank {
font-size: 24px;
font-weight: 900;
min-width: 40px;
text-align: center;
}
.leaderboard-user {
flex: 1;
}
.leaderboard-user-name {
font-size: 15px;
font-weight: 700;
color: white;
margin-bottom: 4px;
}
.leaderboard-user-time {
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
}
.leaderboard-empty,
.leaderboard-error {
text-align: center;
padding: 60px 20px;
}
.leaderboard-empty-icon {
font-size: 60px;
margin-bottom: 20px;
opacity: 0.5;
}
.leaderboard-empty-text {
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
}
/* ===== PANEL FAVORIS ===== */
.favorites-panel {
position: fixed;
top: 0;
right: -450px;
width: 450px;
height: 100vh;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
backdrop-filter: blur(20px);
border-left: 2px solid rgba(212, 175, 55, 0.3);
z-index: 10000;
transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
}
.favorites-panel.active {
right: 0;
}
.favorites-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
.favorites-header h3 {
margin: 0;
font-size: 24px;
font-weight: 900;
color: var(--gold);
}
.favorites-close {
width: 45px;
height: 45px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 50%;
color: var(--gold);
font-size: 26px;
cursor: pointer;
transition: all 0.3s ease;
}
.favorites-close:hover {
background: rgba(212, 175, 55, 0.2);
transform: rotate(90deg);
}
.favorites-body {
padding: 30px;
overflow-y: auto;
height: calc(100vh - 100px);
}
.favorites-list {
display: flex;
flex-direction: column;
gap: 15px;
}
.favorite-item {
display: flex;
gap: 15px;
align-items: center;
background: rgba(255, 255, 255, 0.03);
border: 2px solid rgba(212, 175, 55, 0.15);
border-radius: 18px;
padding: 20px;
transition: all 0.3s ease;
}
.favorite-item:hover {
background: rgba(212, 175, 55, 0.08);
border-color: rgba(212, 175, 55, 0.4);
transform: translateX(-5px);
}
.favorite-icon {
font-size: 40px;
flex-shrink: 0;
}
.favorite-info {
flex: 1;
}
.favorite-title {
font-size: 16px;
font-weight: 700;
color: white;
margin-bottom: 6px;
}
.favorite-meta {
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
display: flex;
gap: 8px;
}
.favorite-actions {
display: flex;
gap: 8px;
}
.favorite-alert-btn,
.favorite-remove-btn {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
font-size: 18px;
cursor: pointer;
transition: all 0.3s ease;
}
.favorite-alert-btn:hover {
background: rgba(255, 215, 0, 0.2);
border-color: #ffd700;
}
.favorite-alert-btn.active {
background: rgba(255, 215, 0, 0.3);
border-color: #ffd700;
}
.favorite-remove-btn:hover {
background: rgba(239, 68, 68, 0.2);
border-color: #ef4444;
}
.favorites-empty {
text-align: center;
padding: 80px 30px;
}
.favorites-empty-icon {
font-size: 80px;
margin-bottom: 25px;
opacity: 0.5;
}
.favorites-empty-title {
font-size: 22px;
font-weight: 800;
color: var(--gold);
margin-bottom: 12px;
}
.favorites-empty-text {
font-size: 15px;
color: rgba(255, 255, 255, 0.6);
line-height: 1.6;
}
/* ===== NOTIFICATIONS ALERTES ===== */
.alert-notification {
position: fixed;
top: 100px;
right: -450px;
width: 400px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
backdrop-filter: blur(20px);
border: 2px solid rgba(255, 215, 0, 0.5);
border-radius: 20px;
z-index: 10001;
transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.9),
0 0 40px rgba(255, 215, 0, 0.4);
}
.alert-notification.active {
right: 20px;
}
.alert-notification-content {
display: flex;
gap: 15px;
padding: 25px;
}
.alert-notification-icon {
font-size: 40px;
animation: alertBell 1s ease-in-out infinite;
}
@keyframes alertBell {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(-15deg); }
75% { transform: rotate(15deg); }
}
.alert-notification-body {
flex: 1;
}
.alert-notification-title {
font-size: 18px;
font-weight: 900;
color: #ffd700;
margin-bottom: 8px;
}
.alert-notification-message {
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
}
.alert-notification-close {
width: 35px;
height: 35px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
color: white;
font-size: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.alert-notification-close:hover {
background: rgba(255, 255, 255, 0.1);
transform: rotate(90deg);
}
.alert-notification-actions {
padding: 0 25px 25px;
}
.alert-notification-btn {
width: 100%;
padding: 15px;
background: linear-gradient(135deg, var(--gold), var(--dark-gold));
border: none;
border-radius: 15px;
color: #000;
font-size: 15px;
font-weight: 900;
cursor: pointer;
transition: all 0.3s ease;
}
.alert-notification-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}
/* ===== MODAL PROFIL PUBLIC ===== */
.profile-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(20px);
z-index: 10002;
display: none;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.profile-modal-overlay.active {
display: flex;
opacity: 1;
}
.profile-modal-backdrop {
position: absolute;
inset: 0;
cursor: pointer;
}
.profile-modal {
position: relative;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
border: 3px solid var(--gold);
border-radius: 30px;
width: 95%;
max-width: 600px;
animation: profileModalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(212, 175, 55, 0.4);
}
@keyframes profileModalSlideUp {
from {
transform: translateY(100px) scale(0.9);
opacity: 0;
}
to {
transform: translateY(0) scale(1);
opacity: 1;
}
}
.profile-modal-header {
padding: 25px;
text-align: right;
}
.profile-modal-close {
width: 45px;
height: 45px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 50%;
color: var(--gold);
font-size: 26px;
cursor: pointer;
transition: all 0.3s ease;
}
.profile-modal-close:hover {
background: rgba(212, 175, 55, 0.2);
transform: rotate(90deg);
}
.profile-modal-body {
padding: 0 40px 40px;
text-align: center;
}
.profile-avatar {
margin-bottom: 30px;
}
.profile-avatar-circle {
width: 120px;
height: 120px;
border-radius: 50%;
background: linear-gradient(135deg, var(--gold), var(--dark-gold));
display: flex;
align-items: center;
justify-content: center;
font-size: 52px;
font-weight: 900;
color: #000;
margin: 0 auto 15px;
box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}
.profile-level-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(212, 175, 55, 0.2);
border: 2px solid var(--gold);
border-radius: 20px;
padding: 8px 20px;
font-size: 15px;
font-weight: 800;
color: var(--gold);
}
.profile-name {
font-size: 32px;
font-weight: 900;
color: white;
margin-bottom: 10px;
}
.profile-bio {
font-size: 15px;
color: rgba(255, 255, 255, 0.6);
margin-bottom: 30px;
}
.profile-stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 35px;
}
.profile-stat {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(212, 175, 55, 0.2);
border-radius: 15px;
padding: 20px;
}
.profile-stat-value {
font-size: 28px;
font-weight: 900;
color: var(--gold);
margin-bottom: 8px;
}
.profile-stat-label {
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.profile-badges-section {
margin-bottom: 30px;
}
.profile-badges-section h4 {
font-size: 18px;
font-weight: 800;
color: var(--gold);
margin-bottom: 20px;
}
.profile-badges-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.profile-badge-item {
background: rgba(255, 255, 255, 0.03);
border: 2px solid rgba(212, 175, 55, 0.15);
border-radius: 15px;
padding: 15px;
transition: all 0.3s ease;
}
.profile-badge-item:hover {
background: rgba(212, 175, 55, 0.1);
border-color: rgba(212, 175, 55, 0.4);
transform: translateY(-5px);
}
.profile-badge-emoji {
font-size: 36px;
margin-bottom: 8px;
}
.profile-badge-name {
font-size: 12px;
color: rgba(255, 255, 255, 0.8);
font-weight: 600;
}
.profile-achievements {
text-align: left;
background: rgba(255, 255, 255, 0.03);
border-radius: 15px;
padding: 20px;
}
.profile-achievement {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 0;
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
}
.profile-achievement-icon {
font-size: 24px;
}
/* ===== MODAL CARTE DE PARTAGE ===== */
.share-card-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(20px);
z-index: 10003;
display: none;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.share-card-modal-overlay.active {
display: flex;
opacity: 1;
}
.share-card-modal-backdrop {
position: absolute;
inset: 0;
cursor: pointer;
}
.share-card-modal {
position: relative;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
border: 3px solid var(--gold);
border-radius: 30px;
width: 95%;
max-width: 700px;
animation: shareCardSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes shareCardSlideUp {
from {
transform: translateY(100px) scale(0.9);
opacity: 0;
}
to {
transform: translateY(0) scale(1);
opacity: 1;
}
}
.share-card-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
.share-card-modal-header h3 {
margin: 0;
font-size: 24px;
font-weight: 900;
color: var(--gold);
}
.share-card-modal-close {
width: 45px;
height: 45px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 50%;
color: var(--gold);
font-size: 26px;
cursor: pointer;
transition: all 0.3s ease;
}
.share-card-modal-close:hover {
background: rgba(212, 175, 55, 0.2);
transform: rotate(90deg);
}
.share-card-modal-body {
padding: 40px;
}
/* ===== CARTE DE PARTAGE ===== */
.share-card {
width: 600px;
height: 400px;
background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
border-radius: 25px;
overflow: hidden;
position: relative;
margin: 0 auto 30px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.share-card-bg {
position: absolute;
inset: 0;
}
.share-card-orb {
position: absolute;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
border-radius: 50%;
filter: blur(80px);
top: -100px;
right: -100px;
}
.share-card-orb-2 {
width: 250px;
height: 250px;
background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent);
bottom: -100px;
left: -100px;
top: auto;
right: auto;
}
.share-card-content {
position: relative;
z-index: 2;
padding: 40px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.share-card-logo {
text-align: center;
}
.share-card-logo-text {
font-size: 32px;
font-weight: 900;
background: linear-gradient(135deg, var(--gold), var(--light-gold));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: 6px;
}
.share-card-logo-subtitle {
font-size: 10px;
color: rgba(255, 255, 255, 0.6);
letter-spacing: 4px;
margin-top: 5px;
}
.share-card-user {
text-align: center;
}
.share-card-user-name {
font-size: 36px;
font-weight: 900;
color: white;
margin-bottom: 10px;
}
.share-card-user-level {
font-size: 18px;
color: var(--gold);
font-weight: 700;
}
.share-card-stats {
display: flex;
justify-content: space-around;
gap: 20px;
}
.share-card-stat {
text-align: center;
}
.share-card-stat-value {
font-size: 24px;
font-weight: 900;
color: var(--gold);
margin-bottom: 5px;
}
.share-card-stat-label {
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
text-transform: uppercase;
letter-spacing: 1px;
}
.share-card-cta {
text-align: center;
font-size: 20px;
font-weight: 700;
color: white;
}
/* ===== ACTIONS DE PARTAGE ===== */
.share-card-actions {
display: flex;
gap: 15px;
}
.share-card-action-btn {
flex: 1;
padding: 15px;
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(212, 175, 55, 0.3);
border-radius: 15px;
color: white;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
}
.share-card-action-btn:hover {
background: rgba(212, 175, 55, 0.1);
border-color: var(--gold);
transform: translateY(-3px);
}
.share-card-action-btn-primary {
background: linear-gradient(135deg, var(--gold), var(--dark-gold));
border-color: var(--gold);
color: #000;
}
.share-card-action-btn-primary:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
.now-playing-badge {
        display: none !important;
    }
    
    .leaderboard-panel {
        display: none !important;
    }

.favorites-panel {
    width: 100%;
    right: -100%;
}

.comments-wall {
    max-height: 350px;
}

.comments-wall.collapsed {
    max-height: 55px;
}

.alert-notification {
    width: calc(100% - 30px);
    right: -100%;
}

.alert-notification.active {
    right: 15px;
}

.profile-modal {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
}

.profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.profile-badges-grid {
    grid-template-columns: repeat(2, 1fr);
}

.share-card {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
}

.share-card-actions {
    flex-direction: column;
}
}
@media (max-width: 480px) {
.badge-unlock-card {
padding: 40px 30px;
}
.badge-unlock-icon {
    font-size: 80px;
}

.badge-unlock-title {
    font-size: 24px;
}

.badge-unlock-name {
    font-size: 32px;
}

.level-up-card {
    padding: 50px 30px;
}

.level-up-icon {
    font-size: 100px;
}

.level-up-title {
    font-size: 28px;
}

.level-up-name {
    font-size: 38px;
}
}

.leaderboard-header-content {
    flex: 1;
}

.leaderboard-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.leaderboard-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.now-playing-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.now-playing-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.now-playing-content {
    display: flex;
    gap: 15px;
    align-items: flex-start; /* ← Important pour aligner le bouton */
}

/* Modal Leaderboard (Mobile) */
.leaderboard-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leaderboard-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.leaderboard-modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.leaderboard-modal {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    border: 3px solid var(--gold);
    border-radius: 30px;
    width: 95%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
}

/* ===== RESPONSIVE MOBILE ===== */

@media (max-width: 768px) {
    /* Masquer les panels fixes sur mobile */
    .now-playing-badge,
    .leaderboard-panel {
        display: none !important;
    }
}

/* Amélioration dropdown mobile */
@media (max-width: 768px) {
    .user-dropdown {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 80px !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 70vh !important;
        border-radius: 20px 20px 0 0 !important;
        overflow-y: auto !important;
    }
    
    .user-dropdown-item {
        padding: 18px 25px !important;
        font-size: 16px !important;
    }
}

/* ===== CORRECTION MENU 3 POINTS ===== */

/* Sur mobile, afficher le bouton menu */
@media (max-width: 768px) {
    .user-account-btn,
    .dock-item-account,
    #navProfile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Bouton compte toujours visible */
.dock-item-account,
#dockAccountBtn {
    position: relative;
    z-index: 100;
    pointer-events: all;
}

/* S'assurer que le dropdown est au-dessus de tout */
.user-dropdown {
    z-index: 10001 !important;
}