/**
 * ProdCall - Styles personnalisés
 * Plateforme de mise en relation pour l'événementiel
 */

/* ==========================================================================
   Variables CSS (Design Tokens)
   ========================================================================== */
:root {
    --fc-primary: #2563eb;
    --fc-secondary: #64748b;
    --fc-success: #22c55e;
    --fc-warning: #f59e0b;
    --fc-danger: #ef4444;
    --fc-dark: #1e293b;
    --fc-light: #f8fafc;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fc-light);
    color: var(--fc-dark);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .brand-icon {
    color: var(--fc-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    background-color: var(--fc-primary);
    border-color: var(--fc-primary);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 12px;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge-available {
    background-color: var(--fc-success);
}

.badge-unavailable {
    background-color: var(--fc-secondary);
}

.badge-urgent {
    background-color: var(--fc-danger);
}

.badge-boosted {
    background-color: var(--fc-warning);
    color: var(--fc-dark);
}

/* ==========================================================================
   Skill Card (Profile Cards)
   ========================================================================== */
.skill-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

/* ==========================================================================
   Avatars
   ========================================================================== */
.skill-card .avatar,
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    aspect-ratio: 1 / 1;
}

.skill-card .avatar-placeholder,
.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255,255,255,0.3);
    aspect-ratio: 1 / 1;
}

/* Tailles personnalisées - toujours rond */
.avatar-md,
.avatar-placeholder-md {
    width: 100px !important;
    height: 100px !important;
    font-size: 2.5rem !important;
}

.avatar-lg,
.avatar-placeholder-lg {
    width: 120px !important;
    height: 120px !important;
    font-size: 3rem !important;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.min-width-0 {
    min-width: 0;
}

.skill-chart-container {
    max-width: 200px;
    margin: 0 auto;
}

/* ==========================================================================
   Profile Preview (Blurred for non-unlocked)
   ========================================================================== */
.profile-preview .avatar-blur {
    filter: blur(8px);
    opacity: 0.7;
}

.profile-preview .name-masked {
    letter-spacing: 2px;
}

/* ==========================================================================
   Credits / Gaffers Display
   ========================================================================== */
.credits-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.gaffer-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

.gaffer-icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.gaffer-icon-lg {
    width: 48px;
    height: 48px;
}

.gaffer-icon-xl {
    width: 64px;
    height: 64px;
}

/* ==========================================================================
   Boosted Announcements Ticker (Header Banner)
   ========================================================================== */
.boosted-header {
    background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.boosted-header + .container,
.boosted-header + main,
.boosted-header + * {
    margin-top: 0 !important;
}

.boosted-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1e293b;
    padding: 0.5rem 0.8rem;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.boosted-label i {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.boosted-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.boosted-ticker {
    display: inline-flex;
    gap: 2rem;
    padding: 0.4rem 1.5rem;
    white-space: nowrap;
    will-change: transform;
}

.boosted-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.3rem 0.9rem;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.boosted-item:hover {
    background: rgba(245, 158, 11, 0.2);
    color: #fff;
    border-color: #f59e0b;
}

.boosted-item .city {
    color: #94a3b8;
    font-size: 0.8em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--fc-dark);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}
