/* Extra styles from layouts/cyber/layout.php + pages/latestnews.php */

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #FF9F00;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9em;
}

.sidebar-menu-item i {
    color: #FF9F00;
    width: 18px;
    margin-right: 12px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.sidebar-menu-item span {
    flex: 1;
    color: #FF9F00;
}

.sidebar-menu-item:hover {
    background-color: #0b0a05;
    padding-left: 20px;
}

.sidebar-menu-item:hover i,
.sidebar-menu-item:hover span {
    color: #fff;
}

.sidebar-menu-item:hover i {
    transform: scale(1.1);
}

.sidebar-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #FF9F00;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-menu-item:hover::before {
    transform: scaleY(1);
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 13px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.account-btn i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.account-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.account-btn-primary:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #FF9F00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.5);
    border-color: #fff;
    color: #000;
}

.account-btn-secondary {
    width: 100%;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.account-btn-secondary:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #FF9F00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.5);
    border-color: #fff;
    color: #000;
}

.server-info-unified {
    background: var(--po-gradient-surface);
    border-left: 4px solid var(--po-accent);
    border-radius: var(--po-radius);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--po-shadow-sm);
}

.server-status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #FF9F00;
    font-weight: bold;
    font-size: 14px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #17160d;
    border-radius: 6px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: po-pulse 2s infinite;
}

.status-online {
    background-color: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
}

.status-offline {
    background-color: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
}

@keyframes po-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.status-online-large,
.status-offline-large {
    justify-content: center;
    padding: 15px;
    flex-direction: column;
    gap: 8px;
}

.status-text-online {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.status-text-offline {
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
}

.players-count-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background-color: #17160d;
    border-radius: 4px;
    margin-top: 5px;
}

.players-count-small i {
    color: #FF9F00;
    font-size: 12px;
}

.players-number-small {
    color: #28a745;
    font-size: 13px;
    font-weight: bold;
}

.players-label-small {
    color: #aaa;
    font-size: 11px;
}

.info-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #0b0a05, transparent);
    margin: 15px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #0b0a05;
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background-color: #0b0a05;
    padding-left: 15px;
}

.info-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    border-radius: 6px;
    color: #000;
    font-size: 14px;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-label {
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-value {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.5);
    background: linear-gradient(135deg, #ff8c00 0%, #FF9F00 100%);
    color: #000;
}

.download-btn i {
    font-size: 24px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-size: 16px;
}

.download-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

/* Top players tabs (home) */
#topPlayersTab .nav-link {
    position: relative;
    overflow: hidden;
    background-color: #0b0a05;
    border: 1px solid #FF9F00;
    margin: 0 3px;
    border-radius: 6px 6px 0 0;
    padding: 10px 15px;
    color: #FF9F00;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#topPlayersTab .nav-link.active {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%) !important;
    color: #000 !important;
    border-color: #FF9F00 !important;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.4);
    transform: translateY(-2px);
}

#topPlayersTab .nav-link.active i {
    color: #fff !important;
}

#topPlayersTab .nav-link:hover:not(.active) {
    background: linear-gradient(135deg, #0b0a05 0%, #17160d 100%) !important;
    border-color: #ff8c00 !important;
    transform: translateY(-2px);
}

.box-lastnews {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.toptd h3.is-online {
    color: #28a745;
}

.toptd {
    text-align: center;
    border-radius: 10px;
    background-color: #17160d;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
    transition: all 0.3s ease;
    border: 1px solid #0b0a05;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    max-width: calc(33.333% - 6px);
    color: inherit;
}

.toptd:hover {
    background-color: #0b0a05;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.3);
    border-color: #FF9F00;
}

.toptd h3 {
    font-size: 12px;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 600;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toptd h3 i {
    font-size: 11px;
    color: #FF9F00;
}

.toptd h4 {
    font-size: 11px;
    color: #FF9F00;
    margin: 10px 0 0 0;
    font-weight: 500;
}

.imgtop {
    border: 2px solid #FF9F00;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 159, 0, 0.3);
    margin: 0 auto 10px auto;
    width: 75px;
    height: 75px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0a05;
}

.imgtop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-players-container {
    background-color: #17160d;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.top-players-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--po-gradient-surface);
    border-radius: var(--po-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--po-accent);
}

.top-players-header i {
    color: #FF9F00;
    font-size: 20px;
}

.top-players-header span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.btn-orange {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    border: none;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #FF9F00 100%);
    color: #000;
}

.bg-footer-inner {
    padding: 15px 0;
    background: linear-gradient(135deg, #000 0%, #0b0a05 100%);
}
