* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(to bottom,
            transparent 0%,
            rgba(64, 100, 65, 0.015) 48%,
            rgba(64, 100, 65, 0.09) 50%,
            rgba(64, 100, 65, 0.015) 52%,
            transparent 100%);
    filter: blur(0.3px);
    animation: crt-scan 16s linear infinite;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background: #0b0f0c;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(64, 100, 65, 0.14) 0px,
            rgba(64, 100, 65, 0.14) 2px,
            transparent 2px,
            transparent 7px);
    color: #e6e8e3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at center,
            rgba(64, 100, 65, 0.05),
            transparent 75%);
    box-shadow:
        inset 0 0 220px rgba(0, 0, 0, 0.75),
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    opacity: 0.55;
}

.container {
    width: 100%;
    max-width: 600px;
    background: #141a16;
    border: 3px solid #406441;
    border-radius: 0;
    padding: 48px 32px;
    position: relative;
    box-shadow: 0 0 20px rgba(64, 100, 65, 0.25);
    transform: perspective(900px) translateZ(0);
    z-index: 2;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 0;
    object-fit: cover;
    border: 3px solid #406441;
    display: block;
    box-shadow: 0 0 15px rgba(64, 100, 65, 0.35);
    filter: contrast(1.1) brightness(0.95);
}

h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px;
    font-weight: 600;
    color: #406441;
    margin-bottom: 4px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(64, 100, 65, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.subtitle {
    font-size: 10px;
    color: rgba(230, 232, 227, 0.75);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'IBM Plex Mono', monospace;
    padding: 8px 0;
    border-top: 1px solid rgba(64, 100, 65, 0.25);
    border-bottom: 1px solid rgba(64, 100, 65, 0.25);
    text-align: center;
}

.tagline {
    font-size: 16px;
    color: rgba(230, 232, 227, 0.9);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.9;
    letter-spacing: 0.5px;
    text-align: center;
}

.actions {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 3px solid #406441;
    background: transparent;
    color: #406441;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.12s linear;
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    box-shadow: inset 0 0 0 0 rgba(64, 100, 65, 0.1);
}

.action-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid rgba(64, 100, 65, 0.15);
    pointer-events: none;
}

.action-button:hover {
    background: #406441;
    color: #0b0f0c;
    box-shadow: 0 0 25px rgba(64, 100, 65, 0.5);
    text-shadow: none;
}

.action-button:focus {
    outline-offset: 2px;
}

.action-button:active {
    box-shadow: 0 0 15px rgba(64, 100, 65, 0.6);
    transform: scale(0.98);
}

.action-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

@keyframes crt-scan {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(100%);
    }
}

@media (max-width: 640px) {
    .container {
        border-width: 2px;
        padding: 40px 24px;
        margin: 0 -8px;
    }

    .container::before,
    .container::after {
        display: none;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
        border-width: 3px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 4px;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 9px;
        margin-bottom: 18px;
        padding: 6px 0;
        letter-spacing: 1.5px;
    }

    .tagline {
        font-size: 15px;
        margin-bottom: 32px;
        line-height: 1.8;
    }

    .action-button {
        padding: 12px 20px;
        font-size: 11px;
        border-width: 2px;
        letter-spacing: 0.8px;
    }

    .action-button::before {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }

    .action-button {
        transition: none;
    }

    .action-button:hover {
        transform: none;
    }

    .action-button:active {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .container {
        border-width: 4px;
        border-color: #ffffff;
        background: #000000;
    }

    .action-button {
        border-width: 4px;
    }

    h1 {
        text-shadow: 0 0 20px rgba(64, 100, 65, 0.8);
    }
}