.page-header-tryouts {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(30, 33, 36, 0.95) 100%);
}

.page-header-tryouts .page-header-title-universal i {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Filters Card */
.tryouts-filters-card {
    background: rgba(30, 30, 30, 0.3) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-select-modern {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.form-select-modern:focus {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.12);
    color: #f8fafc;
}

.btn-modern {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Content Wrapper */
.tryouts-content-wrapper {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tryouts-header-modern {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.05) 0%, rgba(46, 196, 182, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.tryouts-title-modern {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tryouts-subtitle-modern {
    color: rgba(248, 250, 252, 0.7);
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.tryouts-stats .stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 159, 28, 0.15);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.tryouts-stats .stat-badge i {
    font-size: 1.25rem;
}

/* Grid Layout */
.tryouts-grid {
    display: grid;
    gap: 1.5rem;
}

/* Modern LFT Cards */
.lft-card-modern {
    background: rgba(30, 30, 30, 0.3) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.lft-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Avatar Styles */
.lft-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.lft-avatar {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    border: 3px solid rgba(255, 159, 28, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lft-card-modern:hover .lft-avatar {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lft-badge-my-post-top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lft-badge-my-post {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    border: 2px solid rgba(30, 30, 30, 0.8);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Title Styles */
.card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

/* Role Badges */
.lft-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.role-badge.role-primary {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.2), rgba(255, 159, 28, 0.1));
    color: var(--accent-primary);
    border: 1px solid rgba(255, 159, 28, 0.3);
}

.role-badge.role-secondary {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.2), rgba(46, 196, 182, 0.1));
    color: var(--accent-secondary);
    border: 1px solid rgba(46, 196, 182, 0.3);
}

.role-badge.role-team {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Badge Container */
.lft-badges-container,
.tryout-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge-modern.badge-rank {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-modern.badge-peak {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-modern.badge-region {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-modern.badge-time {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(107, 114, 128, 0.1));
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.badge-modern.badge-my-post,
.badge-modern.badge-my-team {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* LFT Cards Grid */
.lft-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lft-card-item {
    background: rgba(20, 20, 20, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}


.lft-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.lft-card-item.lft-portfolio-card {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
    border-color: rgba(59, 130, 246, 0.2);
}

.lft-card-item.lft-portfolio-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.lft-card-item.lft-experience-card {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.08), rgba(16, 185, 129, 0.08));
    border-color: rgba(46, 196, 182, 0.2);
}

.lft-card-item.lft-experience-card:hover {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.15), rgba(16, 185, 129, 0.15));
    border-color: rgba(255, 255, 255, 0.2);
}

.lft-card-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 1rem;
}

.lft-card-item-header i {
    color: var(--accent-primary);
    width: 20px;
}

.lft-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
}

.lft-card-item-content {
    color: rgba(248, 250, 252, 0.8);
}

.lft-card-item-text {
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.lft-portfolio-preview {
    text-align: center;
    padding: 1rem 0;
    color: rgba(248, 250, 252, 0.7);
}

.lft-portfolio-preview i {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.lft-portfolio-preview p {
    font-size: 0.875rem;
    margin: 0;
}

/* Sections */
.lft-section,
.tryout-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lft-section:last-child,
.tryout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lft-section-header,
.tryout-section-header {
    display: flex;
    align-items: center;
    color: rgba(248, 250, 252, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.lft-section-header i,
.tryout-section-header i {
    color: var(--accent-primary);
    width: 20px;
}

.lft-section-content,
.tryout-description {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
    margin: 0;
}

.lft-contact-info {
    background: rgba(20, 20, 20, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.contact-code {
    color: var(--accent-primary);
    background: transparent;
    border: none;
    font-size: 0.9rem;
    padding: 0;
}

/* Tryout Roles */
.tryout-roles {
    margin-bottom: 1rem;
}

.tryout-roles-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 0.5rem;
}

.tryout-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Footer */
.card-footer-modern {
    background: rgba(20, 20, 20, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.lft-meta,
.tryout-meta {
    display: flex;
    align-items: center;
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.875rem;
}

.lft-meta i,
.tryout-meta i {
    color: var(--accent-primary);
}

/* Portfolio Button Section */
.lft-portfolio-button-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-portfolio-view-modern {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-portfolio-view-modern:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    border-color: rgba(59, 130, 246, 0.6);
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.lft-actions,
.tryout-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action-modern {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-action-modern.btn-invite,
.btn-action-modern.btn-apply {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border: none;
}

.btn-action-modern.btn-invite:hover,
.btn-action-modern.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 159, 28, 0.3);
}

.btn-action-modern.btn-edit {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

.btn-action-modern.btn-edit:hover {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-2px);
}

.btn-action-modern.btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-action-modern.btn-delete:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.btn-action-modern.btn-manage {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.3);
}

.btn-action-modern.btn-manage:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* Tryout Logo */
.tryout-logo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.tryout-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tryout-card-modern:hover .tryout-logo {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.tryout-badge-my-team {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    border: 2px solid rgba(30, 30, 30, 0.8);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Tryout Card */
.tryout-card-modern {
    background: rgba(30, 30, 30, 0.3) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.tryout-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Navigation Tabs Enhancement */
.tryouts-tabs-wrapper {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tryouts-tabs-modern {
    border-bottom: none;
    gap: 0.5rem;
}

.tryouts-tabs-modern .nav-item {
    flex: 1;
}

.tryouts-tabs-modern .nav-link {
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    color: rgba(248, 250, 252, 0.7);
    background: transparent;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tryouts-tabs-modern .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.1), rgba(46, 196, 182, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tryouts-tabs-modern .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(248, 250, 252, 0.9);
    transform: translateY(-2px);
}

.tryouts-tabs-modern .nav-link:hover::before {
    opacity: 0.3;
}

.tryouts-tabs-modern .nav-link.active {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.2), rgba(46, 196, 182, 0.2));
    border-color: rgba(255, 159, 28, 0.4);
    color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.2);
    position: relative;
}

.tryouts-tabs-modern .nav-link.active::before {
    opacity: 1;
}

.tryouts-tabs-modern .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* Empty State */
.tryouts-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.1), rgba(46, 196, 182, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 159, 28, 0.2);
}

.empty-state-icon i {
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.7;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.empty-state-text {
    color: rgba(248, 250, 252, 0.6);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .tryouts-grid {
        grid-template-columns: 1fr;
    }

    .lft-card-modern,
    .tryout-card-modern {
        margin-bottom: 1rem;
    }

    .tryouts-header-modern {
        padding: 1rem;
    }

    .tryouts-title-modern {
        font-size: 1.5rem;
    }

    .lft-actions,
    .tryout-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-action-modern {
        width: 100%;
    }

    .empty-state-icon {
        width: 80px;
        height: 80px;
    }

    .empty-state-icon i {
        font-size: 2rem;
    }
}



/* Faceit League Season Filter Buttons */
.faceit-season-filter-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.faceit-season-btn {
    white-space: nowrap;
    min-width: -webkit-fill-available;
    min-width: fit-content;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

.faceit-season-btn.active {
    background-color: #2ec4b6 !important;
    border-color: #2ec4b6 !important;
    color: white !important;
}

.faceit-season-btn:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-color: #0d6efd;
}

.faceit-season-btn.active:hover {
    background-color: #2ec4b6 !important;
    border-color: #2ec4b6 !important;
    color: white !important;
}