/* ========================================
   MODERN CREATOR INFO SECTION
   Sezione informazioni personali modernizzata
   ======================================== */

/* Container principale informazioni */
.creator-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

/* Card singola informazione */
.creator-info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.creator-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8D3FF2 0%, #7C3AED 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creator-info-card:hover {
    border-color: #8D3FF2;
    box-shadow: 0 4px 16px rgba(141, 63, 242, 0.12),
                0 2px 8px rgba(141, 63, 242, 0.08);
    transform: translateY(-2px);
}

.creator-info-card:hover::before {
    opacity: 1;
}

/* Icona */
.creator-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.creator-info-card:hover .creator-info-icon {
    background: linear-gradient(135deg, #8D3FF2 0%, #7C3AED 100%);
    transform: scale(1.05);
}

.creator-info-icon svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.creator-info-icon svg path {
    stroke: #8D3FF2;
    transition: stroke 0.3s ease;
}

.creator-info-card:hover .creator-info-icon svg path {
    stroke: #ffffff;
}

/* Contenuto */
.creator-info-content {
    flex: 1;
    min-width: 0;
}

.creator-info-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.creator-info-value {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

/* Stile speciale per lingue */
.creator-info-language {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-info-language .language-name {
    font-weight: 600;
    color: #8D3FF2;
}

.creator-info-language .language-level {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 10px;
    border-radius: 6px;
}

/* Badge per genere */
.gender-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 8px;
    font-weight: 600;
    color: #7C3AED;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .creator-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .creator-info-card {
        padding: 14px 16px;
    }
    
    .creator-info-icon {
        width: 36px;
        height: 36px;
    }
    
    .creator-info-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .creator-info-label {
        font-size: 12px;
    }
    
    .creator-info-value {
        font-size: 14px;
    }
}

/* Animazione di entrata */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creator-info-card {
    animation: fadeInUp 0.4s ease-out backwards;
}

.creator-info-card:nth-child(1) { animation-delay: 0.05s; }
.creator-info-card:nth-child(2) { animation-delay: 0.1s; }
.creator-info-card:nth-child(3) { animation-delay: 0.15s; }
.creator-info-card:nth-child(4) { animation-delay: 0.2s; }
.creator-info-card:nth-child(5) { animation-delay: 0.25s; }
.creator-info-card:nth-child(6) { animation-delay: 0.3s; }
.creator-info-card:nth-child(7) { animation-delay: 0.35s; }
.creator-info-card:nth-child(8) { animation-delay: 0.4s; }

/* Spaziatura tra sezioni */
.section-container {
    margin-bottom: 24px;
}

.section-container:last-child {
    margin-bottom: 0;
}

/* Override per swiper nelle sezioni */
.section-container .swiper {
    padding: 8px 0;
}

/* Stili per video portfolio */
.site_ads_video {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px !important;
}

/* Spaziatura colonne portfolio */
.section-container .row > [class*="col-"] {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .site_ads_video {
        margin-bottom: 32px !important;
    }
}

.creator_portfolio_videos {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator_portfolio_videos:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(141, 63, 242, 0.15);
}

/* Video 9:16 Format */
.video-presentation-wrapper {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-presentation-wrapper::before {
    content: '';
    display: block;
    padding-top: 177.78%; /* 16/9 * 100 = 177.78% for 9:16 ratio */
}

.video-9-16 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-presentation-wrapper:hover {
    box-shadow: 0 8px 24px rgba(141, 63, 242, 0.2);
}

.video-presentation-wrapper:hover .video-9-16 {
    transform: scale(1.02);
}

/* Stili per form nelle sezioni */
.section-container .form-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-container .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.section-container .form-control:focus {
    outline: none;
    border-color: #8D3FF2;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(141, 63, 242, 0.1);
}

.section-container .form-control:disabled {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

/* Spaziatura grid form */
.section-container .row.g-3 {
    margin-top: 0;
    row-gap: 12px !important;
}

/* Info list per sidebar */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #6b7280;
    flex: 1;
    line-height: 1.5;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
    line-height: 1.5;
}

/* Responsive info list */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        text-align: left;
    }
}
