/* ============================================
   Reset & Variables
   ============================================ */
*, :after, :before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:     #f2efe9;
    --text:   #0d0d0d;
    --muted:  #8e8e8e;
    --accent: #00b96a;
    --border: rgba(0, 0, 0, 0.08);
    --font:   'JetBrains Mono', 'Fira Code', monospace;
    --mx: 50%;
    --my: 50%;
}

html {
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ============================================
   Mouse glow
   ============================================ */
.glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        650px circle at var(--mx) var(--my),
        rgba(180, 150, 90, 0.07),
        transparent 42%
    );
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 620px;
    margin: 0 auto;
    padding: 72px 32px 68px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 56px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-red    { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27ca40; }

.terminal-path {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
    letter-spacing: 0.3px;
}

/* ============================================
   Profile
   ============================================ */
.profile {
    margin-bottom: 60px;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 22px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.profile-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 7px;
    color: var(--text);
}

.profile-role {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    min-height: 18px;
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ============================================
   Sections
   ============================================ */
.section {
    margin-bottom: 44px;
}

.section-label {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    opacity: 0.7;
}

/* ============================================
   Rows
   ============================================ */
.list {
    border-top: 1px solid var(--border);
}

.row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: padding-left 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.2s ease;
    opacity: 0;
    animation: row-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)
               calc(var(--d, 0) * 1ms) both;
}

@keyframes row-in {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
}

.row:hover {
    padding-left: 8px;
}

.row:hover .row-arrow {
    opacity: 1;
    transform: translateX(0);
}

.row:hover .row-name {
    color: var(--text);
}

.row-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    transition: color 0.2s ease;
}

.row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Status dot */
.sdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sdot-on  { background: var(--accent); }
.sdot-off { background: #ff5f56; opacity: 0.45; }
.sdot-dev { background: #a78bfa; }
.sdot-api { background: #c0c0c0; }

.row-tag {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.row-arrow {
    font-size: 15px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
    font-weight: 400;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    margin-top: 52px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social a:hover {
    color: var(--text);
}

.social .sep {
    color: var(--border);
    font-size: 14px;
    line-height: 1;
}

.copyright {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.22);
}

.copyright a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.copyright a:hover {
    opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 48px 20px 48px;
        justify-content: flex-start;
    }

    .profile-name {
        font-size: 22px;
    }

    .row-name {
        font-size: 13px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
