body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    background: linear-gradient(to bottom,
            rgba(10, 14, 26, 0.2) 0%,
            rgba(10, 14, 26, 0.3) 50%,
            rgba(10, 14, 26, 0.9) 100%);
}

.footer {
    background: none;
    border-top: none;
}

.selection-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.selection-header {
    text-align: center;
    margin-bottom: 48px;
}

.selection-header .logo {
    display: block;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    will-change: transform;
}

.selection-header .logo:hover {
    transform: scale(1.05);
}

.selection-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.selection-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
}

/* Server Grid */
.server-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: rgba(10, 14, 26, 0.2);
    backdrop-filter: blur(2px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.server-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(234, 88, 12, 0.05) 100%);
}

.server-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--brand-gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

/* Server Icons */
.server-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.server-icon img {
    width: 67%;
    height: 67%;
}

.megadrop-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-primary);
}

.boxpvp-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.anarchia-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Server Info */
.server-info {
    flex: 1;
    min-width: 0;
}

.server-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.server-description {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stat-dot.online {
    background: #22c55e;
    animation: pulse 2s infinite;
}

.server-arrow {
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.server-card:hover .server-arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Server IP */
.server-ip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.ip-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.ip-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(245, 158, 11, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--color-card);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 640px) {
    .selection-title {
        font-size: 28px;
    }

    .server-card {
        padding: 16px;
        gap: 16px;
    }

    .server-icon {
        width: 56px;
        height: 56px;
    }

    .server-icon svg {
        width: 32px;
        height: 32px;
    }

    .server-name {
        font-size: 18px;
    }

    .server-ip {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .featured-badge {
        top: 12px;
        right: 12px;
    }
}
