/* ===== STYLES SPÉCIFIQUES DÉDICACES ===== */

/* Hero dédicaces */


.dedicaces-hero .logo-circle {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 40px;
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.4);
}

.dedicaces-hero .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.dedicaces-hero .hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #ffd700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Section dédicaces */
.dedicaces-section {
    padding: 100px 0;
    background: #000000;
    min-height: 100vh;
    position: relative;
    z-index: 3;
}

/* Formulaire de dédicace */
.dedicace-form-container {
    margin-bottom: 60px;
}

.dedicace-form {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
}

.dedicace-form h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group .label-optional {
    color: #cccccc;
    font-weight: 400;
    text-transform: lowercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #ffd700;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

/* Liste des dédicaces */
.dedicaces-list {
    margin-top: 60px;
}

.dedicaces-list h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dedicaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dedicace-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dedicace-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #dc143c 0%, #ffd700 100%);
}

.dedicace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.dedicace-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.dedicace-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dedicace-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-btn {
    background: transparent;
    border: 2px solid #666;
    border-radius: 20px;
    padding: 8px 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.like-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-1px);
}

.like-btn.liked {
    border-color: #dc143c;
    color: #dc143c;
    background: rgba(220, 20, 60, 0.1);
}

.like-btn.liked:hover {
    border-color: #8b0000;
    color: #8b0000;
}

.like-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.like-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000000;
    font-size: 18px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    color: #ffd700;
    font-weight: 600;
    font-size: 16px;
}

.dedicace-date {
    color: #cccccc;
    font-size: 12px;
}

.dedicace-content {
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding-top: 20px;
}

.dedicace-recipients {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ffd700;
}

.recipient-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipient-label {
    color: #ffd700;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.recipient-value {
    color: #ffffff;
    font-weight: 500;
}

.dedicace-message {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid #dc143c;
}

.dedicace-song {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #ffd700;
    margin-top: 15px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #ffd700;
    font-size: 16px;
}

.loading i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

.no-dedicaces {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-dedicaces i {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
}

.no-dedicaces h4 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-dedicaces p {
    color: #cccccc;
    font-size: 16px;
}

/* Boutons d'authentification spécifiques */
.auth-btn.full-width {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* Modales spécifiques dédicaces */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.auth-modal {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 15px;
}

.modal-header h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #dc143c;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.auth-switch p {
    color: #cccccc;
    font-size: 14px;
}

.auth-switch a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Notifications spécifiques */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 2px solid;
    border-radius: 8px;
    padding: 15px 20px;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.success {
    border-color: #28a745;
}

.notification.error {
    border-color: #dc143c;
}

.notification.info {
    border-color: #ffd700;
}

/* Responsive dédicaces */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dedicaces-grid {
        grid-template-columns: 1fr;
    }
    
    .dedicace-recipients {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dedicaces-hero {
        background-attachment: scroll;
    }
}