/* ============================================================================
 * Gamification System CSS — Phase 1: Follow Button
 * Site: Balada G4 (dark theme)
 * ============================================================================ */

/* ============================================================================
 * BADGE EMOJI — Emoji icon inside header badge circles (Fix 1)
 * ============================================================================ */

.gam-badge-emoji {
    font-size: 20px;
    line-height: 1;
    display: block;
    text-align: center;
    user-select: none;
}

/* Remove old img rules that no longer apply */
.gam-header-badge-icon img {
    display: none;
}

/* ============================================================================
 * FOLLOW BUTTON — AJAX toggle button for following DJs
 * ============================================================================ */

.g4-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 2px solid #FF4500;
    border-radius: 50px;
    background: transparent;
    color: #FF4500;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
}

.g4-follow-btn:hover {
    background: rgba(255, 69, 0, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.25);
}

.g4-follow-btn:active {
    transform: translateY(0);
}

/* Following state — filled button */
.g4-follow-btn.g4-following {
    background: #FF4500;
    color: #fff;
    border-color: #FF4500;
}

.g4-follow-btn.g4-following:hover {
    background: #cc3700;
    border-color: #cc3700;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

/* Hover state when already following — show "unfollow" hint */
.g4-follow-btn.g4-following:hover .g4-follow-text::after {
    content: ' ✕';
    font-size: 11px;
}

/* Loading state — during toggle action */
.g4-follow-btn.g4-loading {
    opacity: 0.7;
    pointer-events: none;
}

.g4-follow-btn.g4-loading .g4-follow-text::after {
    content: '...';
}

/* Initial loading state — while fetching follow status via AJAX on page load */
.g4-follow-btn.g4-follow-init-loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.g4-follow-btn.g4-follow-init-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 69, 0, 0.15),
        transparent
    );
    animation: g4-follow-shimmer 1.5s infinite;
}

@keyframes g4-follow-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Follower count badge inside button — REMOVED (count shown in stats row instead) */

/* Login prompt button — styled differently */
.g4-follow-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
}

.g4-follow-btn-login:hover {
    border-color: #FF4500;
    color: #FF4500;
    background: rgba(255, 69, 0, 0.1);
}


/* ============================================================================
 * STAT PILLS — Standalone pills visible to ALL visitors (stats row)
 * ============================================================================ */

.g4-follower-count-standalone,
.g4-plays-count-standalone,
.g4-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.g4-follower-count-standalone i,
.g4-plays-count-standalone i,
.g4-stat-pill i {
    font-size: 14px;
    opacity: 0.7;
}

.g4-follower-count-standalone .g4-follower-number {
    font-weight: 700;
    color: #FF4500;
}

.g4-plays-count-standalone .g4-plays-number {
    font-weight: 700;
    color: #FF4500;
}

.g4-stat-pill .g4-stat-number {
    font-weight: 700;
    color: #FF4500;
}

/* ============================================================================
 * FOLLOW BUTTON & STATS — Responsive
 * ============================================================================ */

/* Ensure stats row wraps nicely + breathing room from follow button */
.modern-artist-stats {
    flex-wrap: wrap;
    margin-top: 18px;
    gap: 0.8rem;
}

/* Small bottom margin on actions row for extra separation */
.modern-artist-actions {
    margin-bottom: 4px;
}

@media screen and (max-width: 768px) {
    .g4-follow-btn,
    .g4-follow-btn-login {
        padding: 8px 16px;
        font-size: 13px;
    }

    .g4-follower-count-standalone,
    .g4-plays-count-standalone,
    .g4-stat-pill {
        padding: 4px 10px;
        font-size: 12px;
    }

    .g4-stat-pill i,
    .g4-follower-count-standalone i,
    .g4-plays-count-standalone i {
        font-size: 12px;
    }
}

/* ============================================================================
 * TOAST NOTIFICATIONS — Generic toast for AJAX feedback
 * ============================================================================ */

.g4-toast {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #1a1a2e;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #FF4500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 320px;
}

.g4-toast.g4-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.g4-toast.g4-toast-success {
    border-left-color: #00c853;
}

.g4-toast.g4-toast-error {
    border-left-color: #ff1744;
}

/* ============================================================================
 * GAMIFICATION BADGE / ACHIEVEMENT CARD SYSTEM
 * Imported from _cdn/gamification.css — full badge grid styles
 * ============================================================================ */

/* CSS Variables - Color Scheme */
:root {
    --gam-primary: #4361ee;
    --gam-primary-dark: #3730a3;
    --gam-secondary: #f72585;
    --gam-success: #25d5e4;
    --gam-warning: #ffbb44;
    --gam-danger: #e7515a;
    --gam-info: #0096e6;

    --gam-bg-dark: #1a1a2e;
    --gam-bg-card: #16213e;
    --gam-bg-hover: #1f2b4d;
    --gam-bg-input: #0f0f23;

    --gam-text-primary: #ffffff;
    --gam-text-secondary: #a0aec0;
    --gam-text-muted: #718096;

    --gam-border: #2d3748;
    --gam-border-light: #4a5568;

    --gam-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --gam-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --gam-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);

    --gam-radius-sm: 4px;
    --gam-radius: 8px;
    --gam-radius-lg: 12px;
    --gam-radius-xl: 16px;

    --gam-transition: all 0.3s ease;
    --gam-transition-fast: all 0.15s ease;
}

/* Notification Bell */
.gam-notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    color: var(--gam-text-primary);
    cursor: pointer;
    transition: var(--gam-transition);
    text-decoration: none;
}

.gam-notification-bell:hover {
    background: var(--gam-bg-hover);
    border-color: var(--gam-primary);
    transform: scale(1.05);
}

.gam-notification-bell .gam-bell-icon {
    font-size: 18px;
    line-height: 1;
}

.gam-notification-bell .gam-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--gam-secondary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gam-bg-dark);
    animation: gam-pulse 2s infinite;
}

.gam-notification-bell .gam-badge-count:empty,
.gam-notification-bell .gam-badge-count[data-count="0"] {
    display: none;
}

@keyframes gam-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================================
   Fix: header overflow clipping + stacking context for dropdown
   The site header has overflow:hidden which clips the dropdown.
   Override it here so the notification panel can extend below.
   ============================================================ */
header {
    overflow: visible !important;
}

/* Ensure the notification wrapper establishes its own stacking
   context above the header's animation-created stacking context */
#gam-notification-wrapper {
    position: relative !important;
    z-index: 9999 !important;
}

/* Notification Dropdown Panel */
.gam-notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 500px;
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius-lg);
    box-shadow: var(--gam-shadow-xl);
    z-index: 9999 !important;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--gam-transition);
}

.gam-notification-dropdown.gam-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gam-notification-dropdown .gam-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--gam-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gam-bg-dark);
}

.gam-notification-dropdown .gam-dropdown-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gam-text-primary);
}

.gam-notification-dropdown .gam-mark-all-read {
    background: none;
    border: none;
    color: var(--gam-primary);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--gam-radius-sm);
    transition: var(--gam-transition-fast);
}

.gam-notification-dropdown .gam-mark-all-read:hover {
    background: rgba(67, 97, 238, 0.1);
}

.gam-notification-dropdown .gam-notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.gam-notification-dropdown .gam-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--gam-text-muted);
}

.gam-notification-dropdown .gam-empty-state .gam-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Notification Items */
.gam-notification-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gam-border);
    cursor: pointer;
    transition: var(--gam-transition-fast);
    position: relative;
}

.gam-notification-item:hover {
    background: var(--gam-bg-hover);
}

.gam-notification-item.gam-unread {
    background: rgba(67, 97, 238, 0.05);
}

.gam-notification-item.gam-unread::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gam-primary);
}

.gam-notification-item .gam-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 12px;
}

.gam-notification-item.gam-type-badge .gam-notif-icon {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #fff;
}

.gam-notification-item.gam-type-comment .gam-notif-icon {
    background: linear-gradient(135deg, var(--gam-primary), var(--gam-primary-dark));
    color: #fff;
}

.gam-notification-item.gam-type-reaction .gam-notif-icon {
    background: linear-gradient(135deg, var(--gam-secondary), #b5179e);
    color: #fff;
}

.gam-notification-item.gam-type-broadcast .gam-notif-icon {
    background: linear-gradient(135deg, var(--gam-info), #0096e6);
    color: #fff;
}

.gam-notification-item.gam-type-follow .gam-notif-icon {
    background: linear-gradient(135deg, var(--gam-success), #00b4d8);
    color: #fff;
}

.gam-notification-item .gam-notif-content {
    flex: 1;
    min-width: 0;
}

.gam-notification-item .gam-notif-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gam-text-primary);
    margin-bottom: 4px;
}

.gam-notification-item .gam-notif-message {
    font-size: 13px;
    color: var(--gam-text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
    word-wrap: break-word;
}

.gam-notification-item .gam-notif-time {
    font-size: 11px;
    color: var(--gam-text-muted);
}

.gam-notification-item .gam-notif-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    color: var(--gam-text-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transition: var(--gam-transition-fast);
    border-radius: 50%;
}

.gam-notification-item:hover .gam-notif-close {
    opacity: 1;
}

.gam-notification-item .gam-notif-close:hover {
    background: var(--gam-danger);
    color: white;
}

/* ============================================
   Load More Button (Notification Pagination)
   ============================================ */
.gam-load-more-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 8px 12px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    transition: background 0.2s;
}

.gam-load-more-btn:hover {
    background: rgba(255,255,255,0.2);
}

.gam-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Achievements / Badge Display - Modern Card Grid
   ============================================ */

/* Achievements Section Wrapper */
.gam-achievements-section {
    background: linear-gradient(135deg, #0f0f23 0%, #16213e 100%);
    border-radius: var(--gam-radius-xl);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gam-border);
}

/* Section Header */
.gam-achievements-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gam-border);
    background: rgba(255,255,255,0.02);
    flex-wrap: wrap;
    gap: 12px;
}

.gam-achievements-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gam-achievements-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: var(--gam-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

.gam-achievements-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gam-text-primary);
    margin: 0;
    line-height: 1.2;
}

.gam-achievements-subtitle {
    font-size: 13px;
    color: var(--gam-text-muted);
    margin: 2px 0 0;
}

.gam-achievements-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,140,0,0.1));
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffd700;
    white-space: nowrap;
}

.gam-achievements-count-badge .gam-count-icon {
    font-size: 14px;
}

/* Category Tabs */
.gam-achievements-tabs {
    display: flex;
    gap: 4px;
    padding: 16px 24px 0;
    border-bottom: 1px solid var(--gam-border);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gam-achievements-tabs::-webkit-scrollbar {
    display: none;
}

.gam-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    background: transparent;
    color: var(--gam-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: var(--gam-transition-fast);
    white-space: nowrap;
    border-radius: var(--gam-radius-sm) var(--gam-radius-sm) 0 0;
}

.gam-tab-btn:hover {
    color: var(--gam-text-primary);
    background: rgba(255,255,255,0.04);
}

.gam-tab-btn.gam-tab-active {
    color: var(--gam-primary);
    border-bottom-color: var(--gam-primary);
    background: rgba(67, 97, 238, 0.08);
}

.gam-tab-btn .gam-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--gam-bg-hover);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.gam-tab-btn.gam-tab-active .gam-tab-count {
    background: rgba(67, 97, 238, 0.2);
    color: var(--gam-primary);
}

/* Badge Grid Container */
.gam-badge-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding: 20px 24px 24px;
}

/* Individual Badge Card */
.gam-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 16px;
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius-lg);
    cursor: pointer;
    transition: var(--gam-transition);
    overflow: hidden;
    text-align: center;
}

.gam-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gam-border);
    transition: var(--gam-transition);
}

.gam-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: var(--gam-border-light);
}

/* Earned badge - Gold tier */
.gam-badge.gam-earned.gam-tier-gold {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(160deg, #16213e 0%, rgba(255,215,0,0.06) 100%);
}
.gam-badge.gam-earned.gam-tier-gold::before {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
}
.gam-badge.gam-earned.gam-tier-gold:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 12px 30px rgba(255,215,0,0.15);
}

/* Earned badge - Silver tier */
.gam-badge.gam-earned.gam-tier-silver {
    border-color: rgba(192, 192, 192, 0.4);
    background: linear-gradient(160deg, #16213e 0%, rgba(192,192,192,0.06) 100%);
}
.gam-badge.gam-earned.gam-tier-silver::before {
    background: linear-gradient(90deg, #c0c0c0, #a8a8a8);
}
.gam-badge.gam-earned.gam-tier-silver:hover {
    border-color: rgba(192, 192, 192, 0.7);
    box-shadow: 0 12px 30px rgba(192,192,192,0.12);
}

/* Earned badge - Bronze tier */
.gam-badge.gam-earned.gam-tier-bronze {
    border-color: rgba(205, 127, 50, 0.4);
    background: linear-gradient(160deg, #16213e 0%, rgba(205,127,50,0.06) 100%);
}
.gam-badge.gam-earned.gam-tier-bronze::before {
    background: linear-gradient(90deg, #cd7f32, #a0522d);
}
.gam-badge.gam-earned.gam-tier-bronze:hover {
    border-color: rgba(205, 127, 50, 0.7);
    box-shadow: 0 12px 30px rgba(205,127,50,0.12);
}

/* Earned badge - Platinum tier */
.gam-badge.gam-earned.gam-tier-platinum {
    border-color: rgba(37, 213, 228, 0.4);
    background: linear-gradient(160deg, #16213e 0%, rgba(37,213,228,0.06) 100%);
}
.gam-badge.gam-earned.gam-tier-platinum::before {
    background: linear-gradient(90deg, #25d5e4, #0096e6);
}
.gam-badge.gam-earned.gam-tier-platinum:hover {
    border-color: rgba(37, 213, 228, 0.7);
    box-shadow: 0 12px 30px rgba(37,213,228,0.15);
}

/* Earned badge - Diamond tier */
.gam-badge.gam-earned.gam-tier-diamond {
    border-color: rgba(247, 37, 133, 0.4);
    background: linear-gradient(160deg, #16213e 0%, rgba(247,37,133,0.06) 100%);
}
.gam-badge.gam-earned.gam-tier-diamond::before {
    background: linear-gradient(90deg, #f72585, #b5179e);
}
.gam-badge.gam-earned.gam-tier-diamond:hover {
    border-color: rgba(247, 37, 133, 0.7);
    box-shadow: 0 12px 30px rgba(247,37,133,0.15);
}

/* Locked badge */
.gam-badge.gam-locked {
    opacity: 0.65;
    filter: grayscale(0.6);
}

.gam-badge.gam-locked:hover {
    opacity: 0.85;
    filter: grayscale(0.3);
}

/* Badge Icon */
.gam-badge .gam-badge-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 12px;
    position: relative;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--gam-transition);
}

.gam-badge.gam-earned.gam-tier-gold .gam-badge-icon {
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.25);
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.4));
}

.gam-badge.gam-earned.gam-tier-silver .gam-badge-icon {
    background: rgba(192,192,192,0.1);
    border-color: rgba(192,192,192,0.25);
    filter: drop-shadow(0 0 10px rgba(192,192,192,0.3));
}

.gam-badge.gam-earned.gam-tier-bronze .gam-badge-icon {
    background: rgba(205,127,50,0.1);
    border-color: rgba(205,127,50,0.25);
    filter: drop-shadow(0 0 10px rgba(205,127,50,0.3));
}

.gam-badge.gam-earned.gam-tier-platinum .gam-badge-icon {
    background: rgba(37,213,228,0.1);
    border-color: rgba(37,213,228,0.25);
    filter: drop-shadow(0 0 10px rgba(37,213,228,0.4));
}

.gam-badge.gam-earned.gam-tier-diamond .gam-badge-icon {
    background: rgba(247,37,133,0.1);
    border-color: rgba(247,37,133,0.25);
    filter: drop-shadow(0 0 10px rgba(247,37,133,0.4));
}

.gam-badge:hover .gam-badge-icon {
    transform: scale(1.08);
}

/* Lock overlay for locked badges */
.gam-badge.gam-locked .gam-badge-icon::after {
    content: '🔒';
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 14px;
    background: var(--gam-bg-dark);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gam-border);
    filter: none;
}

/* Badge Name */
.gam-badge .gam-badge-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gam-text-primary);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
}

/* Badge Description (short) */
.gam-badge .gam-badge-desc-short {
    font-size: 11px;
    color: var(--gam-text-muted);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge Tier Label */
.gam-badge .gam-badge-tier {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.gam-badge.gam-tier-gold .gam-badge-tier {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    border: 1px solid rgba(255,215,0,0.3);
}

.gam-badge.gam-tier-silver .gam-badge-tier {
    background: rgba(192,192,192,0.15);
    color: #c0c0c0;
    border: 1px solid rgba(192,192,192,0.3);
}

.gam-badge.gam-tier-bronze .gam-badge-tier {
    background: rgba(205,127,50,0.15);
    color: #cd7f32;
    border: 1px solid rgba(205,127,50,0.3);
}

.gam-badge.gam-tier-platinum .gam-badge-tier {
    background: rgba(37,213,228,0.15);
    color: #25d5e4;
    border: 1px solid rgba(37,213,228,0.3);
}

.gam-badge.gam-tier-diamond .gam-badge-tier {
    background: rgba(247,37,133,0.15);
    color: #f72585;
    border: 1px solid rgba(247,37,133,0.3);
}

.gam-badge.gam-locked .gam-badge-tier {
    background: rgba(113,128,150,0.15);
    color: var(--gam-text-muted);
    border: 1px solid rgba(113,128,150,0.2);
}

/* Progress bar for locked badges */
.gam-badge .gam-badge-progress-wrap {
    width: 100%;
    margin-top: 4px;
}

.gam-badge .gam-badge-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gam-text-muted);
    margin-bottom: 4px;
}

.gam-badge .gam-badge-progress-bar-bg {
    width: 100%;
    height: 5px;
    background: var(--gam-bg-input);
    border-radius: 3px;
    overflow: hidden;
}

.gam-badge .gam-badge-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gam-primary), var(--gam-success));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Earned date */
.gam-badge .gam-badge-earned-date {
    font-size: 10px;
    color: var(--gam-text-muted);
    margin-top: 6px;
}

/* Badge Sizes */
.gam-badge.gam-badge-sm {
    padding: 14px 10px 12px;
}

.gam-badge.gam-badge-sm .gam-badge-icon {
    width: 44px;
    height: 44px;
    font-size: 24px;
}

.gam-badge.gam-badge-sm .gam-badge-name {
    font-size: 11px;
}

.gam-badge.gam-badge-lg {
    padding: 24px 20px 20px;
}

.gam-badge.gam-badge-lg .gam-badge-icon {
    width: 72px;
    height: 72px;
    font-size: 40px;
}

.gam-badge.gam-badge-lg .gam-badge-name {
    font-size: 15px;
}

/* Empty state */
.gam-badges-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: var(--gam-text-muted);
    text-align: center;
}

.gam-badges-empty .gam-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.gam-badges-empty p {
    font-size: 14px;
    margin: 0;
}

/* Loading skeleton for badges */
.gam-badge-skeleton {
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius-lg);
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gam-badge-skeleton .gam-skel-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.gam-badge-skeleton .gam-skel-name {
    width: 80%;
    height: 14px;
    border-radius: 4px;
}

.gam-badge-skeleton .gam-skel-desc {
    width: 90%;
    height: 10px;
    border-radius: 4px;
}

/* Badge Tooltip (hover card) */
.gam-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    padding: 14px;
    background: #0d1117;
    border: 1px solid var(--gam-border-light);
    border-radius: var(--gam-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
}

.gam-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #0d1117;
}

.gam-badge:hover .gam-badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gam-badge-tooltip .gam-tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gam-border);
}

.gam-badge-tooltip .gam-tooltip-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.gam-badge-tooltip .gam-tooltip-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gam-text-primary);
    line-height: 1.2;
}

.gam-badge-tooltip .gam-tooltip-tier {
    font-size: 10px;
    color: var(--gam-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.gam-badge-tooltip .gam-tooltip-description {
    font-size: 12px;
    color: var(--gam-text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.gam-badge-tooltip .gam-tooltip-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--gam-text-muted);
    margin-bottom: 5px;
}

.gam-badge-tooltip .gam-tooltip-progress {
    background: var(--gam-bg-input);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.gam-badge-tooltip .gam-tooltip-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gam-primary), var(--gam-success));
    border-radius: 4px;
    transition: width 0.4s ease;
}

.gam-badge-tooltip .gam-tooltip-status {
    font-size: 11px;
    color: var(--gam-text-muted);
    margin-top: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.gam-badge-tooltip .gam-tooltip-status.gam-unlocked {
    color: var(--gam-success);
}

/* Loading Skeleton animation */
.gam-skeleton {
    background: linear-gradient(90deg, var(--gam-bg-card) 25%, var(--gam-bg-hover) 50%, var(--gam-bg-card) 75%);
    background-size: 200% 100%;
    animation: gam-loading 1.5s infinite;
    border-radius: var(--gam-radius-sm);
}

@keyframes gam-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Comment and Reaction Buttons */
.gam-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gam-comment-btn,
.gam-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    background: var(--gam-bg-card);
    color: var(--gam-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--gam-transition-fast);
}

.gam-comment-btn:hover,
.gam-reaction-btn:hover {
    background: var(--gam-bg-hover);
    border-color: var(--gam-primary);
    color: var(--gam-text-primary);
}

.gam-reaction-btn.gam-active {
    background: rgba(247, 37, 133, 0.1);
    border-color: var(--gam-secondary);
    color: var(--gam-secondary);
}

/* Comment Form */
.gam-comment-form {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    margin-top: 12px;
}

.gam-comment-form .gam-comment-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    background: var(--gam-bg-input);
    color: var(--gam-text-primary);
    font-size: 14px;
    resize: none;
    min-height: 40px;
    max-height: 120px;
    transition: var(--gam-transition-fast);
}

.gam-comment-form .gam-comment-input:focus {
    outline: none;
    border-color: var(--gam-primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.gam-comment-form .gam-comment-input::placeholder {
    color: var(--gam-text-muted);
}

.gam-comment-form .gam-comment-submit {
    padding: 10px 20px;
    background: var(--gam-primary);
    border: none;
    border-radius: var(--gam-radius);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gam-transition-fast);
}

.gam-comment-form .gam-comment-submit:hover {
    background: var(--gam-primary-dark);
}

/* New Badge Earned Modal */
.gam-badge-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: var(--gam-transition);
}

.gam-badge-modal.gam-open {
    opacity: 1;
    visibility: visible;
}

.gam-badge-modal .gam-modal-content {
    background: var(--gam-bg-card);
    border: 2px solid var(--gam-border);
    border-radius: var(--gam-radius-xl);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: var(--gam-transition);
    box-shadow: var(--gam-shadow-xl);
}

.gam-badge-modal.gam-open .gam-modal-content {
    transform: scale(1);
}

/* DJ Broadcast Panel */
.gam-broadcast-panel {
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.gam-broadcast-panel .gam-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gam-border);
}

.gam-broadcast-panel .gam-panel-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gam-info), #0096e6);
    border-radius: var(--gam-radius);
    font-size: 20px;
    color: white;
}

.gam-broadcast-panel .gam-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gam-text-primary);
}

.gam-broadcast-panel .gam-panel-subtitle {
    font-size: 12px;
    color: var(--gam-text-muted);
}

.gam-broadcast-panel .gam-broadcast-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gam-broadcast-panel .gam-broadcast-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    background: var(--gam-bg-input);
    color: var(--gam-text-primary);
    font-size: 14px;
    resize: none;
    min-height: 80px;
    transition: var(--gam-transition-fast);
}

.gam-broadcast-panel .gam-broadcast-input:focus {
    outline: none;
    border-color: var(--gam-primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.gam-broadcast-panel .gam-broadcast-submit {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gam-info), #0096e6);
    border: none;
    border-radius: var(--gam-radius);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gam-transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gam-broadcast-panel .gam-broadcast-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--gam-shadow);
}

.gam-broadcast-panel .gam-broadcast-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes gam-spin {
    to { transform: rotate(360deg); }
}

@keyframes gam-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gam-fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gam-slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Gamification Toast */
.gam-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    background: var(--gam-bg-card);
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    box-shadow: var(--gam-shadow-lg);
    color: var(--gam-text-primary);
    font-size: 14px;
    z-index: 20001;
    animation: gam-slideIn 0.3s ease;
}

.gam-toast.gam-success {
    border-color: var(--gam-success);
}

.gam-toast.gam-error {
    border-color: var(--gam-danger);
}

.gam-toast.gam-warning {
    border-color: var(--gam-warning);
}

/* Utility Classes */
.gam-hidden {
    display: none !important;
}

.gam-visible {
    display: block !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gam-notification-dropdown {
        width: calc(100vw - 20px);
        right: -60px;
    }

    .gam-badge-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .gam-achievements-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .gam-achievements-tabs {
        padding: 12px 16px 0;
    }

    .gam-tab-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .gam-broadcast-panel {
        padding: 16px;
    }

    .gam-badge .gam-badge-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .gam-badge-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .gam-badge .gam-badge-icon {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }

    .gam-badge .gam-badge-name {
        font-size: 12px;
    }

    .gam-achievements-title {
        font-size: 17px;
    }
}

/* ============================================================================
 * HEADER BADGES — Compact top-badge icons integrated into modern-artist-header
 * Shows only the highest tier earned badge per category (dj, usuario)
 * ============================================================================ */

.gam-header-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Individual compact badge icon */
.gam-header-badge-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.gam-header-badge-icon:hover {
    transform: scale(1.15);
    z-index: 10;
}

/* Tier border colors */
.gam-header-badge-icon.gam-tier-bronze {
    background: rgba(205, 127, 50, 0.15);
    border: 2px solid #cd7f32;
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.3);
}

.gam-header-badge-icon.gam-tier-silver {
    background: rgba(192, 192, 192, 0.15);
    border: 2px solid #c0c0c0;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
}

.gam-header-badge-icon.gam-tier-gold {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.35);
}

.gam-header-badge-icon.gam-tier-platinum {
    background: rgba(229, 228, 226, 0.15);
    border: 2px solid #e5e4e2;
    box-shadow: 0 0 10px rgba(229, 228, 226, 0.4);
}

.gam-header-badge-icon.gam-tier-diamond {
    background: rgba(185, 242, 255, 0.15);
    border: 2px solid #b9f2ff;
    box-shadow: 0 0 12px rgba(185, 242, 255, 0.5);
    animation: gam-diamond-glow 2.5s ease-in-out infinite;
}

@keyframes gam-diamond-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(185, 242, 255, 0.4); }
    50%       { box-shadow: 0 0 18px rgba(185, 242, 255, 0.8); }
}

/* Tooltip on hover */
.gam-header-badge-icon .gam-header-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #0f0f23;
    border: 1px solid var(--gam-border);
    border-radius: var(--gam-radius);
    padding: 10px 14px;
    min-width: 180px;
    max-width: 240px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    box-shadow: var(--gam-shadow-lg);
    white-space: normal;
    text-align: left;
}

.gam-header-badge-icon:hover .gam-header-badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip arrow */
.gam-header-badge-icon .gam-header-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--gam-border);
}

.gam-header-badge-tooltip-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gam-text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.gam-header-badge-tooltip-tier {
    font-size: 11px;
    color: var(--gam-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gam-header-badge-tooltip-desc {
    font-size: 12px;
    color: var(--gam-text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.gam-header-badge-tooltip-date {
    font-size: 11px;
    color: var(--gam-text-muted);
    border-top: 1px solid var(--gam-border);
    padding-top: 6px;
    margin-top: 4px;
}

/* Locked badge in header — greyed out, no tier glow */
.gam-header-badge-icon.gam-tier-locked {
    background: rgba(113, 128, 150, 0.1);
    border: 2px solid rgba(113, 128, 150, 0.35);
    box-shadow: none;
    cursor: default;
    opacity: 0.7;
}

.gam-header-badge-icon.gam-tier-locked:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.gam-header-badge-icon.gam-tier-locked img {
    filter: grayscale(100%);
    opacity: 0.4;
}

/* "No badges" motivational message */
.gam-no-badges {
    display: inline-flex;
    align-items: center;
}

.gam-no-badges-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    letter-spacing: 0.2px;
}

/* Responsive: hide tooltips on very small screens (touch devices) */
@media (max-width: 480px) {
    .gam-header-badge-icon .gam-header-badge-tooltip {
        display: none;
    }

    .gam-header-badge-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* ============================================
   CD Hero Header V10 — vercd.php
   Layout: capa grande à esquerda, info à direita
   Dark theme consistente, tipografia hierárquica
   ============================================ */

/* Wrapper principal */
.cdh {
    background: linear-gradient(160deg, #0d1117 0%, #161b27 55%, #1a1f2e 100%);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 32px 24px 28px;
}

/* Layout flex: capa | info */
.cdh-inner {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
}

/* ---- Capa ---- */
.cdh-cover {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.3),
        0 12px 40px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06);
}

.cdh-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Coluna de info ---- */
.cdh-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

/* Título do CD */
.cdh-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
    /* Truncate se muito longo */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Linha do DJ ---- */
.cdh-dj-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cdh-dj-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(67,97,238,0.7);
    flex-shrink: 0;
}

.cdh-dj-name {
    color: #7eb8f7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s;
}

.cdh-dj-name:hover {
    color: #ffffff;
    text-decoration: underline;
}

.cdh-dj-sep {
    color: rgba(255,255,255,0.25);
    font-size: 14px;
    line-height: 1;
}

.cdh-dj-phone {
    color: #f0c040;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s;
}

.cdh-dj-phone:hover {
    color: #fff;
}

/* Botão Seguir — empurrado para a direita com margin-left: auto */
.cdh-follow-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    padding: 5px 16px;
    background: transparent;
    color: #7eb8f7;
    border: 1.5px solid rgba(67,97,238,0.6);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.cdh-follow-btn:hover {
    background: rgba(67,97,238,0.2);
    border-color: #4361ee;
    color: #fff;
}

/* ---- Linha de meta-stats (inline) ---- */
.cdh-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.cdh-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.65);
}

.cdh-meta-icon {
    font-size: 13px;
    line-height: 1;
    opacity: 0.85;
}

.cdh-meta-sep {
    color: rgba(255,255,255,0.2);
    font-size: 16px;
    line-height: 1;
    user-select: none;
}

/* ---- Área de reações ---- */
.cdh-reactions {
    margin-top: 2px;
}

/* Override compacto para botões de reação dentro do hero */
.cdh-reactions .gam-reactions-compact {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cdh-reactions .gam-reaction-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cdh-reactions .gam-reaction-btn:hover,
.cdh-reactions .gam-reaction-btn.active {
    background: rgba(67,97,238,0.22);
    border-color: rgba(67,97,238,0.6);
    color: #fff;
    transform: scale(1.04);
}

/* ---- Responsivo: mobile ---- */
@media (max-width: 600px) {
    .cdh {
        padding: 24px 16px 20px;
    }

    .cdh-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .cdh-cover {
        width: 160px;
        height: 160px;
    }

    .cdh-title {
        font-size: 20px;
    }

    .cdh-dj-row {
        justify-content: center;
    }

    /* No mobile o botão Seguir não precisa de margin-left: auto */
    .cdh-follow-btn {
        margin-left: 0;
    }

    .cdh-meta-row {
        justify-content: center;
    }

    .cdh-reactions {
        display: flex;
        justify-content: center;
    }
}
