.online-players-container {
    max-width: 1800px;
    margin: 40px auto;
    padding: 0 2rem 2rem 2rem;
}

.online-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    border: none;
}

.online-header h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(120, 150, 180, 0.8), 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin: 0 0 1rem 0;
    letter-spacing: 3px;
}

.online-header h2 i {
    display: none;
}

.online-header p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 0 15px rgba(120, 150, 180, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    font-weight: 300;
}

.online-top-section {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.online-stats-left {
    flex: 1;
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10, 15, 25, 0.9);
    border: 2px solid rgba(120, 150, 180, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(15px);
    min-width: 300px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(120, 150, 180, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.stat-item:hover {
    border-color: #7896b4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(120, 150, 180, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: #FFD700;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    font-family: 'Cinzel', serif;
    line-height: 1.1;
    white-space: nowrap;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.online-filters-right {
    flex: 0 0 auto;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10, 15, 25, 0.9);
    border: 2px solid rgba(120, 150, 180, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(15px);
}

.filter-select {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(120, 150, 180, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #7896b4;
    background: rgba(0, 0, 0, 0.9);
    outline: none;
    box-shadow: 0 0 15px rgba(120, 150, 180, 0.5);
}

.filter-select option {
    background: #0a0f19;
    color: #ffffff;
}

.players-list-section {
    background: rgba(10, 15, 25, 0.9);
    border: 2px solid rgba(120, 150, 180, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.players-table-container {
    overflow-x: auto;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.players-table thead {
    background: rgba(0, 0, 0, 0.7);
}

.players-table thead tr {
    border-bottom: 2px solid rgba(120, 150, 180, 0.5);
}

.players-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.players-table tbody tr {
    border-bottom: 1px solid rgba(120, 150, 180, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.players-table tbody tr:hover {
    background: rgba(120, 150, 180, 0.15);
}

.players-table td {
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.rank-col {
    font-weight: bold;
    color: #7896b4;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.player-col {
    font-weight: 600;
    color: #ffffff;
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-outfit {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid rgba(120, 150, 180, 0.3);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-outfit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-name {
    color: #ffffff;
    font-weight: 600;
}

.level-col {
    font-weight: 600;
    color: #FFD700;
    font-size: 1.05rem;
}

.vocation-col {
    font-weight: 500;
}

.vocation-text {
    color: #7896b4;
    font-weight: 500;
}

.world-col {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.no-players {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-players i {
    font-size: 4rem;
    color: #7896b4;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-players p {
    font-size: 1.2rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .online-players-container {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .online-top-section {
        flex-direction: column;
    }
    
    .online-stats-left {
        min-width: unset;
        width: 100%;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .online-filters-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .online-players-container {
        margin: 20px auto;
        padding: 0 1rem 1rem 1rem;
    }
    
    .online-header h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .online-header p {
        font-size: 0.9rem;
    }
    
    .online-stats-left {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.6rem;
    }
    
    .stat-item {
        width: 100%;
        min-width: unset;
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 1.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .online-filters-right {
        padding: 0.75rem;
    }
    
    .filter-select {
        font-size: 0.85rem;
        padding: 0.65rem;
    }
    
    .players-table {
        min-width: 650px;
    }
    
    .players-table th,
    .players-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
    }
    
    .player-outfit {
        width: 30px;
        height: 30px;
    }
    
    .player-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .online-players-container {
        margin: 10px auto;
        padding: 0 0.75rem 0.75rem 0.75rem;
    }
    
    .online-header h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .online-header p {
        font-size: 0.8rem;
    }
    
    .stat-item {
        padding: 0.875rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .filter-select {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .players-table {
        min-width: 600px;
    }
    
    .players-table th,
    .players-table td {
        padding: 0.4rem 0.25rem;
        font-size: 0.65rem;
    }
    
    .player-outfit {
        width: 26px;
        height: 26px;
    }
    
    .player-name {
        font-size: 0.7rem;
    }
    
    .rank-col {
        font-size: 0.75rem;
    }
    
    .level-col {
        font-size: 0.75rem;
    }
    
    .vocation-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .online-players-container {
        margin: 5px auto;
        padding: 0 0.5rem 0.5rem 0.5rem;
    }
    
    .online-header h2 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }
    
    .online-header p {
        font-size: 0.75rem;
    }

    .online-top-section {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .online-stats-left {
        padding: 0.5rem;
        gap: 0.4rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-icon {
        font-size: 1.3rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .online-filters-right {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        padding: 0.5rem;
        gap: 0.5rem;
        align-items: stretch !important;
        width: 100%;
        box-sizing: border-box;
    }

    .online-top-section {
        margin-bottom: 1.5rem !important;
    }
    
    .filter-select {
        min-width: unset !important;
        width: 100% !important;
        font-size: 0.75rem;
        padding: 0.5rem;
        flex: none !important;
    }

    .search-wrapper {
        min-width: unset !important;
        width: 100% !important;
        max-width: unset !important;
        flex: none !important;
    }

    .search-input {
        width: 100% !important;
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .players-list-section {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .players-table {
        min-width: 380px;
        font-size: 0.7rem;
    }
    
    .players-table th,
    .players-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
        vertical-align: middle;
    }
    
    .players-table th {
        white-space: nowrap;
        font-size: 0.75rem;
        font-weight: 700;
    }
    
    .player-outfit {
        width: 32px;
        height: 32px;
    }

    .player-outfit img {
        max-width: 28px;
        max-height: 28px;
    }

    .player-cell {
        gap: 0.5rem;
    }
    
    .player-name {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .rank-col {
        font-size: 0.75rem;
    }
    
    .level-col {
        font-size: 0.8rem;
        font-weight: 700;
        color: #FFD700;
    }
    
    .vocation-text {
        font-size: 0.7rem;
    }
    
    .world-col {
        font-size: 0.7rem;
    }
}
