:root {
    --bg: #0d0f11;
    --surface: #16191d;
    --fg: #f0f0f0;
    --muted: #8a9199;
    --accent: #fdff80;
    --accent-dim: rgba(253, 255, 128, 0.1);
    --border: #24292e;
    --glow: rgba(253, 255, 128, 0.15);
    --radius: 12px;
    --anim-speed: 200ms;
}

@font-face {
    font-family: "JetBrainsMono NF";
    src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@v3.1.1/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    /* Grainy texture + subtle radial */
    background-image:
        radial-gradient(at 0% 0%, rgba(253, 255, 128, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.02) 0px, transparent 50%);
    color: var(--fg);
    font-family: "JetBrainsMono NF", "JetBrains Mono", monospace;
    display: flex;
    justify-content: center;
    padding: 48px 20px;
}

.page {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__tag {
    display: inline-flex;
    width: fit-content;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(253, 255, 128, 0.2);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__title {
    margin: 10px 0 4px;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.hero__subtitle--secondary {
    margin-top: 2px;
    color: var(--muted);
    opacity: 0.9;
}

/* Services Container */
.services {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* The Link Item */
.service__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: var(--fg);
    text-decoration: none;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid transparent;
    background: transparent;
    transition: all var(--anim-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service__icon {
    font-family: "JetBrainsMono NF", "JetBrains Mono", monospace;
    font-size: 18px;
    color: var(--muted);
    transition: color var(--anim-speed) ease;
}

.service__label {
    font-size: 15px;
    font-weight: 400;
}


.service__hint {
    font-size: 11px;
    color: var(--muted);
    opacity: 0.6;
}

/* Hover State - This fixes your "hole" and "ugly" issue */
.service__link:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
    transform: translateX(4px);
    /* Modern horizontal slide instead of lift */
}

/* Special Focus/Active State */
.service__link {
    /* Increase left padding to 28px or 32px to create a better 'frame' */
    padding: 16px 24px 16px 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    /* ... rest of your code ... */
}

.service__arrow {
    font-size: 18px;
    color: var(--border);
    transition: color var(--anim-speed) ease, transform var(--anim-speed) ease;
}

.service__link:hover .service__icon {
    color: var(--accent);
}

.service__link:hover .service__arrow {
    color: var(--accent);
    transform: translateX(2px);
}

/* Footer */
.footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.footer__link {
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--anim-speed) ease;
}

.footer__link:hover {
    opacity: 0.8;
}

.service__text {
    display: flex;
    flex-direction: column;
    /* Stacks label over hint */
    gap: 2px;
}

.service__hint {
    font-size: 11px;
    text-transform: lowercase;
    /* Keeps it "techy" */
    font-weight: 400;
    letter-spacing: 0;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #50fa7b;
    /* Or your --accent */
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px #50fa7b;
}

.hero__status {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__account-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(253, 255, 128, 0.2);
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--anim-speed) ease;
}

.hero__account-button:hover {
    background: rgba(253, 255, 128, 0.18);
    box-shadow: 0 0 0 4px var(--glow);
}

@media (max-width: 480px) {
    body {
        padding: 40px 16px;
    }

    .hero__title {
        font-size: 28px;
    }

    .service__link {
        padding: 14px;
    }
}
