/* ========== CREATORS PAGE STYLES ========== */

.creators-page {
    min-height: 100vh;
    background: var(--primary-bg);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* CRITICAL: Ensure all main content is visible */

.creators-page * {
    visibility: visible !important;
}

.creators-page section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* CRITICAL: Force visibility of modal */

.creator-modal {
    display: none;
    visibility: hidden;
    opacity: 0;
}


/* ========== HERO SECTION ========== */

.creators-hero {
    min-height: 60vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 69, 0, 0.05) 50%, rgba(0, 0, 0, 0.8) 100%);
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.glow-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px auto 0;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    width: 100%;
}

.team-stats .stat {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats .stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.team-stats .stat i {
    font-size: 2rem;
    color: var(--accent-orange);
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats .stat span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    visibility: visible !important;
    opacity: 1 !important;
}

.creators-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/Teams/Creators.png') center/cover;
    opacity: 0.1;
    z-index: -1;
}


/* ========== CREATORS SECTION ========== */

.creators-section {
    padding: 80px 20px;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.creators-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    visibility: visible !important;
    opacity: 1 !important;
    justify-items: center;
    justify-content: center;
}


/* ========== CREATOR CARDS ========== */

.creator-card {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.8), rgba(25, 25, 25, 0.9));
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 400px;
    width: 100%;
}

.creator-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.creator-card:hover .card-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creator-card:hover .card-overlay {
    opacity: 1;
}

.creator-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.creator-role {
    font-size: 1rem;
    color: #ff6b35;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.creator-subtitle {
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creator-details {
    display: none;
}


/* ========== VIEW DETAILS BUTTON ========== */

.view-details-btn {
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 1rem;
    display: inline-block;
}

.view-details-btn:hover {
    background: rgba(255, 107, 53, 1);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}


/* ========== BACK TO TEAMS SECTION ========== */

.back-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.back-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.back-button:hover {
    background: rgba(255, 107, 53, 1);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.back-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

.back-button span {
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ========== CREATOR MODAL ========== */

.creator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.creator-modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.creator-modal-content {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(25, 25, 25, 0.95));
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 25px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.creator-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 107, 53, 0.9);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1;
}

.creator-modal-close:hover {
    background: rgba(255, 107, 53, 1);
    transform: scale(1.1);
}

.creator-modal-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.creator-modal-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 1.5rem;
    border: 3px solid rgba(255, 107, 53, 0.5);
    flex-shrink: 0;
}

.creator-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.creator-modal-subtitle {
    color: #ff6b35;
    font-size: 1rem;
    font-weight: 500;
}

.creator-modal-info {
    padding: 2rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.creator-modal-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}


/* ========== FOOTER VISIBILITY ========== */

.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}


/* ========== SCROLL REVEAL ========== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ========== RESPONSIVE DESIGN ========== */


/* Tablet Styles */

@media (min-width: 769px) and (max-width: 1024px) {
    .creators-hero {
        padding: 70px 30px 50px;
        min-height: 55vh;
    }
    .hero-content h1 {
        font-size: 3rem !important;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    .team-stats {
        gap: 30px;
        justify-content: center !important;
        align-items: center !important;
        margin: 30px auto 0 !important;
    }
    .team-stats .stat {
        padding: 18px;
    }
    .creators-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        padding: 0 30px !important;
        max-width: 1200px !important;
        justify-items: center !important;
        justify-content: center !important;
    }
    .creator-card {
        max-width: 100% !important;
    }
    .card-image {
        height: 280px;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .back-section {
        padding: 50px 30px;
    }
    .back-button {
        padding: 14px 22px;
        font-size: 0.95rem;
    }
}


/* Mobile Styles */

@media (max-width: 768px) {
    /* Back section mobile */
    .back-section {
        padding: 40px 15px;
    }
    .back-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .back-button span {
        display: inline;
    }
    .back-button i {
        font-size: 1rem;
    }
    /* Hero section mobile */
    .creators-hero {
        padding: 60px 15px 30px;
        min-height: 50vh;
    }
    .hero-content h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    .team-stats {
        gap: 15px;
        margin: 20px auto 0;
        justify-content: center !important;
        align-items: center !important;
    }
    .team-stats .stat {
        padding: 15px;
        gap: 8px;
    }
    .team-stats .stat i {
        font-size: 1.5rem;
    }
    .team-stats .stat span {
        font-size: 0.9rem;
    }
    /* Creators grid mobile */
    .creators-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        justify-items: center !important;
        justify-content: center !important;
    }
    .creator-card {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .card-image {
        height: 250px;
    }
    .card-content {
        padding: 1rem;
    }
    .card-content h3 {
        font-size: 1.3rem;
    }
    .creator-subtitle {
        font-size: 0.8rem;
    }
    /* Section headers mobile */
    .creators-section {
        padding: 60px 15px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .section-header p {
        font-size: 1rem;
    }
    /* Modal responsive */
    .creator-modal {
        padding: 15px;
        z-index: 9999;
    }
    .creator-modal-content {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0;
        width: 100%;
        border-radius: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .creator-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-bottom: 15px;
    }
    .creator-modal-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .creator-modal-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .creator-modal-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    .creator-modal-info {
        padding: 15px 10px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .creator-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid rgba(255, 107, 53, 0.8);
    }
    /* View details button mobile */
    .view-details-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Back section small mobile */
    .back-section {
        padding: 30px 10px;
    }
    .back-button {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .back-button i {
        font-size: 0.9rem;
    }
    /* Hero section small mobile */
    .creators-hero {
        padding: 50px 10px 20px;
        min-height: 40vh;
    }
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 15px;
    }
    .team-stats {
        flex-direction: column;
        gap: 12px;
        margin: 15px auto 0;
        justify-content: center !important;
        align-items: center !important;
    }
    .team-stats .stat {
        padding: 12px;
        gap: 6px;
    }
    .team-stats .stat i {
        font-size: 1.3rem;
    }
    .team-stats .stat span {
        font-size: 0.8rem;
    }
    /* Creators grid small mobile */
    .creators-grid {
        gap: 1rem !important;
        padding: 0 10px !important;
        justify-items: center !important;
        justify-content: center !important;
    }
    .card-image {
        height: 200px;
    }
    .card-content {
        padding: 0.8rem;
    }
    .card-content h3 {
        font-size: 1.2rem;
    }
    .creator-subtitle {
        font-size: 0.75rem;
    }
    /* Section headers small mobile */
    .creators-section {
        padding: 50px 10px;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    .section-header p {
        font-size: 0.9rem;
    }
    /* Modal small mobile */
    .creator-modal {
        padding: 10px;
    }
    .creator-modal-content {
        padding: 15px 10px;
        border-radius: 10px;
    }
    .creator-modal-header {
        gap: 10px;
        padding-bottom: 10px;
    }
    .creator-modal-image {
        width: 100px;
        height: 100px;
    }
    .creator-modal-title {
        font-size: 1.3rem;
        padding: 0 5px;
    }
    .creator-modal-subtitle {
        font-size: 0.9rem;
        padding: 0 5px;
    }
    .creator-modal-info {
        padding: 10px 5px;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .creator-modal-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    /* View details button small mobile */
    .view-details-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        margin-top: 0.6rem;
    }
}


/* Landscape Mobile Styles */

@media (max-width: 768px) and (orientation: landscape) {
    .creators-hero {
        min-height: 30vh;
        padding: 40px 15px 20px;
    }
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 10px;
    }
    .team-stats {
        gap: 10px;
        margin: 10px auto 0;
        justify-content: center !important;
        align-items: center !important;
    }
    .team-stats .stat {
        padding: 8px;
        gap: 4px;
    }
    .team-stats .stat i {
        font-size: 1.1rem;
    }
    .team-stats .stat span {
        font-size: 0.7rem;
    }
    .creators-section {
        padding: 40px 15px;
    }
    .section-header {
        margin-bottom: 25px;
    }
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }
    .section-header p {
        font-size: 0.8rem;
    }
    .creators-grid {
        gap: 1rem !important;
        padding: 0 15px !important;
        justify-items: center !important;
        justify-content: center !important;
    }
    .card-image {
        height: 150px;
    }
    .card-content {
        padding: 0.6rem;
    }
    .card-content h3 {
        font-size: 1rem;
    }
    .creator-subtitle {
        font-size: 0.7rem;
    }
    .view-details-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-top: 0.4rem;
    }
    .back-section {
        padding: 25px 15px;
    }
    .back-button {
        padding: 8px 14px;
        font-size: 0.7rem;
    }
    .back-button i {
        font-size: 0.8rem;
    }
}