.server-card {
    background-color: transparent;
    border-radius: 2px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.server-card::after {
    content: '';
    position: absolute;
    top: 130px;
    left: 3px;
    right: 3px;
    height: 120px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(42, 42, 42, 0.2) 30%, 
        rgba(42, 42, 42, 0.6) 60%,
        rgba(42, 42, 42, 0.9) 80%,
        #2a2a2a 100%);
    pointer-events: none;
    z-index: 2;
}

.server-card:hover {
    transform: translateY(-30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.server-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    position: relative;
    border: 3px solid #424242;
    border-bottom: none;
}

.server-info {
    padding: 50px 25px 70px 25px;
    position: relative;
    background-color: #2a2a2a;
    border: 3px solid #424242;
    border-top: none;
}

.server-card:hover .server-image {
    border: 3px solid #4ade80;
    border-bottom: none;
}

.server-card:hover .server-info {
    border: 3px solid #4ade80;
    border-top: none;
}

.server-name {
    font-family: 'MinecraftTen', 'Arial', sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    display: inline-block;
}

.server-active {
    font-family: 'Regular', 'Arial', sans-serif;
    font-size: 12px;
    color: #b0b0b0;
    white-space: nowrap;
    margin-top: 10px
}

.server-description {
    font-family: 'Regular', 'Arial', sans-serif;
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 1;
    margin-top: -10px;
    position: absolute;
    top: 27px;
    left: 20px;
    z-index: 10;
}

.server-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2px;
    position: relative;
    z-index: 2;
}

.server-header {
    position: absolute;
    top: -35px;
    left: 15px;
    right: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-active-count {
    color: #4ade80;
}

.server-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 24px 18px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    font-family: 'MinecraftTen', 'Arial', sans-serif;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 2px;
    
    background: #424242;
    border: 4px solid #424242;
    color: white;
    text-shadow: 0 3px 0 var(--btn-shadow, #4a6fa5);
    isolation: isolate;
    
    --btn-bg: #6889dd;
    --btn-outline: #7ca0fa;
    --btn-shadow: #5571b7;
    --btn-bottom: #5571b7;
}

.server-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    background: var(--btn-bg);
    box-shadow: 
        inset 4px 4px 0 var(--btn-outline),
        inset -4px -4px 0 var(--btn-outline);
    pointer-events: none;
    z-index: -1;
}

.server-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--btn-bottom);
    z-index: -1;
}

.server-btn:hover::before {
    filter: brightness(0.95);
}

.server-btn:active {
    transform: translateY(2px);
}

.server-btn:active::before {
    filter: brightness(0.85);
}

.server-arrow {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.server-arrow svg {
    width: 12px;
    height: 12px;
}

@media (max-width: 992px) {
    .server-name {
        font-size: 26px;
    }
    
    .server-active {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .server-name {
        font-size: 24px;
    }
    
    .server-active {
        font-size: 10px;
    }
    
    .server-header {
        top: -30px;
    }
}

@media (max-width: 480px) {
    .server-name {
        font-size: 20px;
    }
    
    .server-header {
        gap: 8px;
    }
    
    .server-description {
        font-size: 11px;
    }
}