/* Influencer Profile Page Styles */

@font-face {
    font-family: 'Janeiro';
    src: url('fonts/janeiro/Janeiro-DEMO.otf');
}

.influencer-page-container {
    padding-top: 6.944vw;
    padding-bottom: 6.944vw;
    /* max-width: 83.333vw; */
    margin: 0 auto;
    padding-left: 1.389vw;
    padding-right: 1.389vw;
    position: relative;
    /* Added for z-index context if needed, though image is outside */
}

.hero-bg-absolute {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
    /* Good practice for background images */
}

.hero-bg-absolute::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, rgba(0, 0, 0) 0%, transparent 90%);
    z-index: 1;
}

.influencer-hero {
    text-align: center;
    margin-bottom: 7.167vw;
}

.influencer-hero h1 {
    font-family: Janeiro !important;
    font-size: 4vw;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--main-red);
    margin-bottom: 1.389vw;
    max-width: 55.556vw;
    margin-left: auto;
    margin-right: auto;
}

.influencer-hero p {
    font-size: 1.633vw;
    max-width: 56.667vw;
    margin: 0 auto;
    line-height: 1.5;
}

.profile-header-strip {
    border: 0.1vw solid white;
    border-radius: 0.694vw;
    padding: 0.542vw 1.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 75.333vw;
    margin: 0 auto 2.778vw;
}

.profile-header-left {
    display: flex;
    align-items: center;
    gap: 2vw;
}

.profile-avatar-small {
    width: 3.8vw;
    height: 3.8vw;
    background-color: #ddd;
    border-radius: 50%;
}

.profile-name-large {
    font-size: 2.567vw;
    font-weight: 500;
}

.profile-tag {
    color: white;
    font-size: 1.5vw;
}

.profile-main-card {
    display: flex;
    gap: 2.083vw;
    flex-wrap: wrap;
    max-width: 75.333vw;
    margin: 0 auto 5.556vw;
}

.profile-details-col-01 {
    flex: 1;
    min-width: 20.833vw;
    border-radius: 4.183vw;
    max-height: 36vw;
    position: relative;
}

.profile-details-col-01::before {
    content: "";
    position: absolute;
    inset: -0.1vw;
    border-radius: 4.183vw;
    padding: 0.1vw;
    background: linear-gradient(to bottom, var(--main-red), transparent 60%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.profile-image-col {
    flex: 1.4;
    min-width: 20.833vw;
    border: 0.1vw solid white;
    border-radius: 4.183vw;
    padding: 0.5vw;
    max-height: 36vw;
}

.profile-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 3.383vw;
    overflow: hidden;
    border: 0.069vw solid #333;
    position: relative;
    height: 100%;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details-col {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 3.383vw;
    padding: 2.778vw;
    border: 0.069vw solid #333;
}

.details-name {
    color: var(--main-red);
    font-size: 1.733vw;
    font-weight: 700;
    margin-bottom: -0.253vw;
}

.details-role {
    color: #CBCBCB;
    font-size: 1.2vw;
    margin-bottom: 1.189vw;
    font-style: italic;
}

.details-price {
    font-size: 3vw;
    font-weight: 700;
    margin-bottom: 1.5vw;
}

.details-about-title {
    font-size: 2vw;
    margin-bottom: 0.542vw;
    color: #ddd;
}

.details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.778vw;
}

.details-list li {
    margin-bottom: 0.694vw;
    display: flex;
    align-items: center;
    gap: 0.694vw;
    color: #ccc;
    font-size: 1.211vw;
}

.check-icon {
    color: var(--main-red);
    font-size: 1.3vw;
    background: rgba(240, 1, 1, 0.2);
    width: 1.311vw;
    height: 1.311vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.208vw;
}



.gain-section {
    text-align: center;
    margin-bottom: 4.167vw;
}

.gain-title {
    font-family: Janeiro !important;
    font-size: 4.5vw;
    text-transform: uppercase;
    color: var(--main-red);
    margin-bottom: 1.389vw;
}

.gain-subtitle {
    color: #ccc;
    max-width: 63.611vw;
    margin: 0 auto 4.167vw;
    line-height: 1.5;
    font-size: 1.611vw;
}

.gain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25.833vw, 1fr));
    gap: 2vw 3vw;
    margin: 0 3vw;
}

.gain-card {
    background: #000;
    border: 0.069vw solid #333;
    border-radius: 1.389vw;
    padding: 2.583vw;
    text-align: left;
    transition: border-color 0.3s;
}

.gain-card:hover {
    border-color: var(--main-red);
}

.gain-card-title {
    color: var(--main-red);
    font-size: 2vw;
    margin-bottom: 1.9vw;
    max-width: 18vw;
    line-height: 1;
    font-weight: 600;
    font-family: 'HelveticaNeue-600', sans-serif;
}

.gain-card-text {
    color: #ccc;
    font-size: 1.6vw;
    line-height: 1.1;
    max-width: 20vw;
    font-weight: 300;
    font-family: 'HelveticaNeue-300', sans-serif;
}

@media (max-width: 767px) {
    .influencer-hero h1 {
        font-size: 7vw;
        max-width: 80.556vw;
    }

    .profile-name-large {
        font-size: 4.567vw;
    }

    .profile-avatar-small {
        width: 5.8vw;
        height: 5.8vw;
    }

    .profile-tag {
        font-size: 3.5vw;
    }

    .gain-title {
        font-size: 7vw;
    }

    .influencer-page-container {
        max-width: 92.333vw;
    }

    .gain-card-title {
        font-size: 5.444vw;
        max-width: none;
    }

    .review-stars {
        font-size: 3vw !important;
    }

    .review-text {
        font-size: 2.5vw !important;
    }

    .detailed-role {
        font-size: 4vw !important;
    }

    .stat-value {
        font-size: 5vw !important;
    }

    .stat-label {
        font-size: 3.5vw !important;
        margin-top: -1.5vw !important;
    }

    .detailed-profile-section {
        margin: 0 !important;
    }

    .review-author-img {
        width: 5.7vw !important;
        height: 5.7vw !important;
    }

    .review-date {
        font-size: 2vw !important;
    }

    .review-author-info h4 {
        font-size: 2.8vw !important;
    }

    .review-quote-icon {
        font-size: 4.222vw !important;
    }

    .gain-card-text {
        font-size: 4.056vw;
        max-width: none;
    }

    .gain-grid {
        grid-template-columns: 1fr;
        margin: 0;
    }

    .details-name {
        font-size: 6.333vw;
    }

    .details-role {
        font-size: 3.5vw;
    }

    .details-price {
        font-size: 6.778vw;
    }

    .details-about-title {
        font-size: 5.333vw;
    }

    .gain-section {
        margin-top: 15vw;
    }

    .profile-details-col-01 {
        max-height: 78vw;
    }

    .profile-main-card {
        gap: 5.083vw;
        flex-direction: column;
        max-width: none;
    }


    .follow-label {
        font-size: 3.5vw !important;
    }

    .check-icon {
        font-size: 3.3vw;
        width: 3.511vw;
        height: 3.511vw;
    }

    .social-icon {
        width: 3.5vw !important;
    }

    .detailed-bio {
        font-size: 3.5vw !important;
    }

    .social-icons-row {
        gap: 2.3vw !important;
    }

    .details-list li {
        font-size: 3.5vw;
    }

    .gain-subtitle {
        max-width: 90vw;
        font-size: 3vw;
    }

    .profile-header-strip {
        max-width: none;
    }

    .influencer-hero p {
        max-width: 90vw;
        font-size: 3vw;
    }

    .profile-details-col {
        min-width: auto;
        padding: 3.778vw 5.778vw;
    }

    .profile-image-col {
        min-width: auto;
        max-height: 90vw;
    }
}

/* Reviews Marquee Section */
.reviews-section {
    padding: 4.167vw 0;
    overflow: hidden;
    position: relative;
}

.reviews-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.reviews-track {
    display: inline-flex;
    gap: 2.083vw;
    animation: marquee-scroll-left 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    width: 27.778vw;
    background: #111;
    border: 0.069vw solid #333;
    border-radius: 1.042vw;
    padding: 2.083vw;
    white-space: normal;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #FFD700;
    margin-bottom: 1.042vw;
    font-size: 1.333vw;
}

.review-quote-icon {
    color: var(--main-red);
    font-size: 2.222vw;
    float: right;
    line-height: 1;
    margin-top: -0.694vw;
}

.review-text {
    color: #ccc;
    font-size: 1.056vw;
    line-height: 1.6;
    margin-bottom: 1.389vw;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1.042vw;
    margin-top: auto;
}

.review-author-img {
    width: 3.472vw;
    height: 3.472vw;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.review-author-info h4 {
    margin: 0;
    color: #fff;
    font-size: 1.111vw;
    font-weight: 600;
}

.review-date {
    font-size: 0.889vw;
    color: #666;
    margin-top: 0.139vw;
}

/* Detailed Profile Section */
.detailed-profile-section {
    padding: 5.556vw 0;
    position: relative;
    margin: 0 4vw;
}

.detailed-profile-card {
    background: rgba(217, 217, 217, 0.12);
    border: 0.069vw solid var(--main-red);
    border-radius: 2.778vw;
    padding: 2.167vw 5.167vw;
    display: flex;
    flex-direction: column;
    gap: 6.167vw;
    position: relative;
    overflow: hidden;
}

.detailed-profile-content {
    display: flex;
    flex-direction: row;
    gap: 3vw;
    width: 100%;
}

.detailed-info-col {
    flex: 1.7;
    z-index: 2;
}

.detailed-image-col {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detailed-name {
    color: var(--main-red);
    font-size: 3.589vw;
    font-weight: 700;
    margin-bottom: 0.347vw;
    line-height: 1.1;
}

.detailed-role {
    color: #CBCBCB;
    font-size: 2vw;
    font-style: italic;
    margin-bottom: 0.85vw;
    font-weight: 300;
}

.follow-label {
    color: #CBCBCB;
    font-size: 1.5vw;
    margin-bottom: 4vw;
}

.social-icons-row {
    display: flex;
    gap: 1.389vw;
    margin-bottom: 2.778vw;
}

.social-icon {
    width: 1.3vw;
}

.social-icon:hover {
    opacity: 1;
    color: var(--main-red);
}

.detailed-bio {
    color: #ccc;
    font-size: 1.5vw;
    line-height: 1.3;
    font-family: 'Helvetica', sans-serif;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.083vw;
    width: 100%;
}

.stat-item {
    border: 0.069vw solid #333;
    border-radius: 1.042vw;
    padding: 1vw 0;
    text-align: center;
}

.stat-value {
    color: var(--main-red);
    font-size: 2vw;
    font-weight: 700;
}

.stat-label {
    color: #CBCBCB;
    font-size: 1.5vw;
    margin-top: -0.5vw;
}

.detailed-large-img {
    width: 100%;
    height: 100%;
    max-height: 37.667vw;
    object-fit: cover;
    border-radius: 3.383vw;
    border: 0.069vw solid #333;
}

.floating-book-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 5vw;
    position: relative;
    z-index: 10;
}


@media (max-width: 991px) {
    .detailed-profile-card {
        flex-direction: column;
        padding: 4vw;
        gap: 4vw;
    }

    .social-icon {
        width: 1.8vw;
    }

    .detailed-profile-content {
        flex-direction: column-reverse;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detailed-name {
        font-size: 6vw;
    }

    .detailed-large-img {
        max-height: 50vw;
    }

    .review-card {
        width: 60vw;
    }
}