/* Gear Hard Servers List Dashboard */
.page-header {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 20px auto;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.page-header h1 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Server Board Grid Table */
.server-board {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0a0a0c;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    overflow-x: auto; /* Habilita scroll horizontal em tablets */
    -webkit-overflow-scrolling: touch;
}

.server-header, .server-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 0.5fr 1fr 1.5fr 1.5fr 1fr;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #1f1f23;
}

.server-header {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #1f1f23;
}

.server-row {
    transition: background-color 0.2s ease;
    border-radius: 6px;
}

.server-row:hover {
    background-color: #1a1a1f;
}

.col-name {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
}

.server-thumb {
    width: 80px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
}

.tag-owner {
    color: #9b59b6;
    font-weight: bold;
}

.badge-tier {
    background-color: #2a2a30;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.col-traffic {
    display: flex;
    align-items: center;
    gap: 8px;
}

.traffic-bar {
    width: 15px;
    height: 4px;
    border-radius: 2px;
}
.traffic-bar.none { background-color: #555; }
.traffic-bar.light { background-color: #2ecc71; }
.traffic-bar.realistic { background-color: #f39c12; }
.traffic-bar.heavy { background-color: #e74c3c; }

.col-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 20px;
}

.action-icon {
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.action-icon:hover {
    color: #fff;
}

.play-btn {
    color: #e0e0e0;
    text-decoration: none;
    transition: transform 0.2s;
}

.play-btn:hover {
    color: #2ecc71;
    transform: scale(1.1);
}

/* Responsividade Servidores — Card layout no mobile */




/* ====================================================
   BLOCK/GRID LAYOUT FOR SERVERS (GEAR HARD)
   ==================================================== */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 50px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.server-card {
    background-color: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 17, 17, 0.4);
    box-shadow: 0 12px 30px rgba(247, 17, 17, 0.15);
    background-color: #1f1f26;
}

/* Status Badge - Offline */
.server-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.status-dot-offline {
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3b30;
}

.server-card-info {
    margin-top: 10px;
    margin-bottom: 20px;
}

.server-card-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 75%;
}

.server-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
}

.server-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaaaaa;
    font-size: 13px;
}

.server-meta-list li i {
    color: #f71111;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.server-meta-list li .tag-owner {
    color: #9b59b6;
    font-weight: bold;
}

.server-meta-list li .badge-tier {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #e0e0e0;
}

.server-card-action {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-card-action .play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #555555 !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.server-card-action .play-btn i {
    font-size: 16px;
}

.server-card-action .server-action-icons {
    display: flex;
    gap: 12px;
    font-size: 18px;
}

.server-card-action .server-action-icons i {
    color: #444;
    cursor: not-allowed;
}

/* ====================================================
   ESTILOS ADICIONAIS PARA SERVIDORES ONLINE (LIVE)
   ==================================================== */
.server-status-badge.online {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.2);
}

.status-dot-online {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
}

.server-card-action .play-btn.online {
    background-color: rgba(46, 204, 113, 0.08);
    color: #2ecc71 !important;
    border-color: rgba(46, 204, 113, 0.3);
    cursor: pointer;
}

.server-card-action .play-btn.online:hover {
    background-color: #2ecc71;
    color: #0d0d11 !important;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
    transform: scale(1.05);
}

.server-card-action .server-action-icons i.online {
    color: #888;
    cursor: pointer;
}

.server-card-action .server-action-icons i.online:hover {
    color: #fff;
}
