:root {
    --bg-color: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover: rgba(255, 255, 255, 0.04);
    --border-light: #30363d;
    --border-line: rgba(255, 255, 255, 0.1);
    --text-main: #e6e6e6;
    --text-muted: #8b949e;
    --accent-cyan: #00ffff;
    --accent-cyan-glow: rgba(0, 255, 255, 0.3);
    --accent-blue: #58a6ff;
    --font-stack: 'JetBrains Mono', 'Fira Code', Monaco, Consolas, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--text-main);
    font-family: var(--font-stack);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: var(--bg-color);
    line-height: 1.6;
    
    background-image: linear-gradient(rgba(0, 255, 255, 0.015) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-line);
    padding-bottom: 20px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.titles h1 {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.badge-asn {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-decoration: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

#status-dot {
    width: 8px;
    height: 8px;
/*    background-color: #50fa7b; */
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(80, 250, 123, 0.4);
}

.card {
    background-color: transparent;
    padding: 10px 0;
}

.card-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-line);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 14px 18px;
    border-radius: 6px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
    background-color: var(--card-hover);
    border-color: var(--accent-cyan-glow);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
}

.btn span:first-child {
    font-weight: bold;
    transition: color 0.2s;
}

.btn:hover span:first-child {
    color: var(--accent-cyan);
}

.btn-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.btn:hover .btn-icon {
    color: var(--text-main);
}

.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-line);
    padding-top: 20px;
}

#pgp {
    text-decoration: none;
    list-style: none;
    font-family: monospace;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-main);
}

@media (min-width: 786px) {
    .btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 340px;
    }

    .btn:last-child:nth-child(odd) {
        flex: 0 1 calc(50% - 6px);
        margin: 0 auto;
    }
}
