/* Import base styles from index.css */
@import url('index.css');

/* Override body opacity for page load */
body {
    opacity: 1 !important;
}

/* Ensure header is visible */
header {
    position: relative;
    z-index: 1000;
}

/* Roster Hero Section */
.roster-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: transparent;
    border-top: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(90deg, #ff4824, #ff0b4e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.roster-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.roster-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #888;
    max-width: 700px;
    margin: 0 auto;
}

/* Roster Sections */
.roster-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.roster-section:first-of-type {
    padding-top: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    --underline-width: 0%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--underline-width, 0%);
    height: 3px;
    background: linear-gradient(90deg, #ff4824, #ff0b4e);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.section-title.visible::after {
    width: 80px;
}

/* Members Grid - Simple and Clean */
.members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

/* Member Card - Ultra Smooth Design with Scroll Animation */
.member-card {
    flex: 0 0 280px;
    width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-back), box-shadow var(--duration-normal) var(--ease-out-quart);
    text-align: center;
    padding: 2rem 1.5rem;
    will-change: transform, box-shadow;
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.member-card.visible::before {
    left: 100%;
}

.member-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Pause floating animation on hover */
.member-card:hover {
    animation-play-state: paused;
}

/* Member Avatar */
.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}



/* Member Info */
.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    color: #ff4824;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.member-country {
    margin-bottom: 1.5rem;
}

.member-country img {
    width: 24px;
    height: auto;
}

/* Social Links - Ultra Smooth */
.member-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all var(--duration-normal) var(--ease-out-back), transform var(--duration-fast) var(--ease-out-quart);
    will-change: transform, background-color;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity var(--duration-normal) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-quart);
    will-change: opacity, transform;
}

.social-link:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Featured Owner Section */
.featured-owner {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
}

.owner-card {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 3rem;
    align-items: center;
}

.owner-image {
    width: 100%;
}

.owner-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.owner-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.owner-title {
    font-size: 1.1rem;
    color: #ff4824;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.owner-description {
    font-size: 1rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
}

/* Loading State */
.loading-skeleton {
    background: rgba(255, 255, 255, 0.02);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
}

.loading-text {
    color: #888;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .owner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .owner-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .roster-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .roster-hero {
        padding: 100px 0 60px;
    }
    
    .roster-hero .hero-title {
        font-size: 2rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .owner-card {
        padding: 2rem;
    }
}
