:root {
    --acid: #d4ff3a;
    --blood: #ff2b2b;
    --bg: #0a0908;
    --panel: #131211;
    --line: rgba(212, 255, 58, 0.15);
    --text: #f0eee6;
    --muted: #8a8780;
}

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

html, body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* CRT scanline texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.025) 0px,
        rgba(255,255,255,0.025) 1px,
        transparent 1px,
        transparent 3px
    );
    z-index: 2;
    mix-blend-mode: overlay;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    margin-bottom: 16px;
}

.brand {
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.9rem;
    color: var(--acid);
}

.brand span {
    color: var(--text);
}

.social-icons {
    display: flex;
    gap: 16px;
}

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

.social-icon:hover {
    color: var(--acid);
}

main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    padding: 28px;
    min-height: 220px;
    cursor: pointer;
    text-align: center;
    color: var(--text);
    font-family: inherit;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.profile-btn:hover {
    border-color: var(--acid);
    transform: translateY(-2px);
}

.profile-btn:active {
    transform: translateY(0);
}

.profile-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(212, 255, 58, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.profile-btn:hover::after {
    opacity: 1;
}

.btn-tag {
    display: inline-flex;
    align-self: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--blood);
    color: var(--blood);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.btn-label {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 20px 0;
}

.btn-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.btn-foot .copy-state {
    color: var(--acid);
}

.btn-foot i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.profile-btn:hover .btn-foot i {
    transform: translateX(4px);
    color: var(--acid);
}

.profile-btn.copied {
    border-color: var(--acid);
}

.profile-btn.error {
    border-color: var(--blood);
}

.bottom-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--panel);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.bottom-bar a:hover {
    border-color: var(--acid);
    color: var(--acid);
}

@media (max-width: 640px) {
    main {
        grid-template-columns: 1fr;
    }

    .btn-label {
        font-size: 2.2rem;
    }

    .profile-btn {
        min-height: 180px;
    }
}
