/* Status badge container */
.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border: 1px solid var(--border);
    letter-spacing: 0.5px;
}

/* Base dot styling */
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* States */
.status-badge.checking {
    color: var(--dim);
    border-color: var(--border);
}

.status-badge.checking .status-dot {
    background-color: #ffb86c;
    /* Amber */
    animation: pulse 1s infinite alternate;
}

.status-badge.online {
    color: var(--accent);
    border-color: var(--accent);
}

.status-badge.online .status-dot {
    background-color: var(--accent);
    /* Green */
    box-shadow: 0 0 6px var(--accent);
}

.status-badge.offline {
    color: #ff5555;
    border-color: #ff5555;
}

.status-badge.offline .status-dot {
    background-color: #ff5555;
    /* Red */
    box-shadow: 0 0 6px #ff5555;
}

@keyframes pulse {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

/* -----------------------------------------------------------------
       THEME CONFIGURATION
       Swap colors below to change the vibe (e.g., Green, Amber, Cyan):
       - Amber: #ffb86c
       - Green: #50fa7b
       - Cyan:  #8be9fd
    ----------------------------------------------------------------- */
:root {
    --bg: #0d0f12;
    --card-bg: #14171e;
    --border: #2a2f3a;
    --fg: #d0d7de;
    --dim: #6e7681;
    --accent: #50fa7b;
    /* Matrix/Retro Green */
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-mono);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.5;
}

/* Outer retro window card */
.container {
    width: 100%;
    max-width: 520px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    position: relative;
}

/* Terminal window header */
.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: var(--dim);
}

.window-title {
    color: var(--fg);
}

/* Avatar section */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.avatar-wrapper {
    width: 104px;
    height: 104px;
    border: 2px dashed var(--accent);
    padding: 4px;
    margin-bottom: 16px;
    background: var(--bg);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional pixelated/retro filter look */
    filter: grayscale(20%) contrast(110%);
}

.handle {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 4px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--dim);
    margin-bottom: 14px;
}

.bio {
    font-size: 0.92rem;
    color: var(--fg);
    max-width: 440px;
}

/* Links list */
.links-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dim);
    margin-bottom: 12px;
}
.link-desc{
    font-size: 0.75rem;
    color: var(--dim);
    display: block;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--fg);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s ease-in-out;
}

.link-card:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(3px);
}

.link-prefix {
    color: var(--dim);
    margin-right: 8px;
}

.link-card:hover .link-prefix {
    color: var(--accent);
}

.link-arrow {
    color: var(--dim);
    font-weight: bold;
}

.link-card:hover .link-arrow {
    color: var(--accent);
}

/* Terminal footer */
.footer {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--dim);
}

/* Blinking retro cursor */
.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background-color: var(--accent);
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
