/* ==========================================================================
    CREATOR MODULE - ENTERPRISE DESIGN SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
    1. MODULE ROOT & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --creator-bg-gradient-light: linear-gradient(135deg,
            rgba(15, 15, 26, 0.92) 0%,
            rgba(26, 26, 46, 0.95) 100%);
    --creator-bg-gradient-dark: linear-gradient(135deg,
            rgba(13, 17, 23, 0.94) 0%,
            rgba(22, 27, 34, 0.96) 100%);
    --creator-avatar-ring: linear-gradient(135deg,
            var(--brand-primary-light, #a57ae3),
            var(--brand-secondary, #50e3c2));
    --creator-font-family: var(--font-main, 'Space Grotesk', sans-serif);
    --creator-transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
    2. SECTION CONTAINER & HEADER
   -------------------------------------------------------------------------- */
.creator-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: #0f0f1a;
    /* Usamos apenas o gradiente sem o url(...) */
    background-image: var(--creator-bg-gradient-light);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    transition: var(--transition-theme, background-color 0.3s ease, color 0.3s ease);
}

.creator-section h2,
.creator-section__title {
    margin: 0;
    padding: 2.25rem 1.5rem;
    font-family: var(--creator-font-family);
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.01em;
    background-color: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-theme, color 0.3s ease);
}

/* --------------------------------------------------------------------------
    3. CONTENT LAYOUT WRAPPER
   -------------------------------------------------------------------------- */
.creator-background,
.creator-section__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
    4. PROFILE AVATAR & GRADIENT RING
   -------------------------------------------------------------------------- */
.creator-photo,
.creator-section__avatar {
    position: relative;
    width: 130px;
    height: 130px;
    min-width: 130px;
    flex-shrink: 0;
    margin: 0;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--creator-avatar-ring);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.creator-photo img,
.creator-section__avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
    5. CREATOR INFO & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.creator-info,
.creator-section__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.creator-info p,
.creator-section__description {
    margin: 0 0 1.25rem 0;
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
    6. SOCIAL MEDIA ACTIONS
   -------------------------------------------------------------------------- */
.social-midia,
.social-media {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.75rem;
}

.social-midia a,
.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--creator-font-family);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: capitalize;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--creator-transition-default);
}

.social-midia a:hover,
.social-media a:hover {
    background: #ffffff;
    color: var(--bg-main, #1a1a2e);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.social-midia a:focus-visible,
.social-media a:focus-visible {
    outline: 2px solid var(--brand-primary-light, #a57ae3);
    outline-offset: 4px;
}

.social-midia a i,
.social-media a i {
    display: inline-block;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.social-midia a:hover i,
.social-media a:hover i {
    transform: scale(1.15);
}

/* --------------------------------------------------------------------------
    7. DARK MODE OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="dark"] .creator-section {
    background-color: #0d1117;
    /* Usamos apenas o gradiente dark sem o url(...) */
    background-image: var(--creator-bg-gradient-dark);
}

[data-theme="dark"] .social-midia a:hover,
[data-theme="dark"] .social-media a:hover {
    background: #ffffff;
    color: #0d1117;
}

/* --------------------------------------------------------------------------
    8. RESPONSIVE BREAKPOINTS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {

    .creator-background,
    .creator-section__content {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        padding: 3.5rem 2.5rem 3rem 2.5rem;
    }

    .creator-photo,
    .creator-section__avatar {
        width: 160px;
        height: 160px;
        min-width: 160px;
    }

    .creator-info,
    .creator-section__info {
        align-items: flex-start;
        text-align: left;
    }

    .social-midia,
    .social-media {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {

    .creator-section h2,
    .creator-section__title {
        padding: 2.5rem 2rem;
    }

    .creator-background,
    .creator-section__content {
        gap: 4rem;
        padding: 4rem 3rem 3.5rem 3rem;
    }

    .creator-photo,
    .creator-section__avatar {
        width: 180px;
        height: 180px;
        min-width: 180px;
    }

    .creator-info p,
    .creator-section__description {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .creator-section,
    .social-midia a,
    .social-media a {
        transition: none;
    }

    .social-midia a:hover,
    .social-media a:hover {
        transform: none;
    }
}