:root {
    --black: #0a0a0a;
    --white: #f5f0e8;
    --yellow: #e6b506;
    --red: #d61a1a;
    --blue: #1a8cd6;
    --green: #4ec61f;
    --border: 3px solid var(--black);
    --shadow: 6px 6px 0px var(--black);
    --shadow-hover: 2px 2px 0px var(--black);
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: var(--white);
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: crosshair;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* TICKER */
.ticker-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--yellow);
    font-family: "Space Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 6px 0;
    overflow: hidden;
    z-index: 100;
    border-bottom: 2px solid var(--yellow);
}
.ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
}
.ticker-inner span {
    padding: 0 2rem;
}
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* LAYOUT */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    position: relative;
}

/* HEADER */
.header {
    border: var(--border);
    background: var(--yellow);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    animation: slideDown 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.avatar {
    width: 90px;
    height: 90px;
    border: var(--border);
    object-fit: cover;
    display: block;
    background: var(--black);
    box-shadow: 4px 4px 0 var(--black);
}
.avatar-placeholder {
    width: 90px;
    height: 90px;
    border: var(--border);
    background: var(--black);
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    color: var(--yellow);
    box-shadow: 4px 4px 0 var(--black);
    flex-shrink: 0;
}
.status-dot {
    width: 14px;
    height: 14px;
    background: var(--green);
    border: 2px solid var(--black);
    border-radius: 50%;
    position: absolute;
    bottom: -2px;
    right: -2px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}
.header-text {
    flex: 1;
}
.name {
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 4px;
}
.handle {
    font-family: "Space Mono", monospace;
    font-size: 12px;
    color: var(--black);
    opacity: 0.6;
    margin-bottom: 10px;
}
.bio {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--black);
    border-top: 2px solid var(--black);
    padding-top: 8px;
    margin-top: 8px;
}
.label-tag {
    display: inline-block;
    background: var(--black);
    color: var(--yellow);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    padding: 3px 8px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.deco-top-right {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 48px;
    height: 48px;
    background: var(--red);
    border: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--white);
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
}

/* LINKS */
.section-title {
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.5;
    margin-bottom: 12px;
    padding-left: 4px;
}
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.link-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: var(--border);
    text-decoration: none;
    font-weight: 800;
    color: var(--black);
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
    cursor: crosshair;
}
.link-btn:nth-child(1) {
    animation-delay: 0.1s;
    background: var(--green);
    box-shadow: var(--shadow);
}
.link-btn:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--white);
    box-shadow: var(--shadow);
}
.link-btn:nth-child(3) {
    animation-delay: 0.3s;
    background: var(--red);
    box-shadow: var(--shadow);
    color: var(--white);
}
.link-btn:nth-child(4) {
    animation-delay: 0.4s;
    background: var(--blue);
    box-shadow: var(--shadow);
    color: var(--white);
}
.link-btn:nth-child(3) .link-label,
.link-btn:nth-child(4) .link-label {
    color: var(--white);
}
.link-btn:nth-child(3) .link-sub,
.link-btn:nth-child(4) .link-sub {
    color: rgba(255, 255, 255, 0.6);
}
.link-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: var(--shadow-hover);
}
.link-btn:active {
    transform: translate(6px, 6px);
    box-shadow: none;
}
.link-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(0, 0, 0, 0.05) 4px,
        rgba(0, 0, 0, 0.05) 8px
    );
    transition: left 0.3s ease;
}
.link-btn:hover::before {
    left: 0;
}
.link-icon {
    width: 42px;
    height: 42px;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.link-btn:nth-child(1) .link-icon,
.link-btn:nth-child(2) .link-icon {
    border-color: var(--black);
}
.link-btn:nth-child(3) .link-icon,
.link-btn:nth-child(4) .link-icon {
    border-color: var(--white);
}
.link-icon svg {
    width: 20px;
    height: 20px;
}
.link-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.link-label {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--black);
}
.link-sub {
    font-family: "Space Mono", monospace;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 2px;
}
.link-arrow {
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}
.link-btn:hover .link-arrow {
    transform: translateX(4px);
}

/* FOOTER */
.footer-block {
    border: var(--border);
    background: var(--black);
    color: var(--yellow);
    margin-top: 1rem;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}
.footer-text {
    font-family: "Space Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}
.footer-text strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--yellow);
}

/* CLOCK */
.clock-wrap {
    text-align: right;
}
.clock-time {
    font-family: "Space Mono", monospace;
    font-size: 26px;
    color: var(--yellow);
    letter-spacing: 0.05em;
    line-height: 1;
}
.clock-time.tick {
    animation: clockTick 0.12s steps(1) forwards;
}
.clock-date {
    font-family: "Space Mono", monospace;
    font-size: 9px;
    color: var(--yellow);
    opacity: 0.5;
    letter-spacing: 0.15em;
    margin-top: 5px;
    text-transform: uppercase;
}
@keyframes clockTick {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ANIMATIONS */
@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 32px;
    }
    .header-inner {
        gap: 16px;
    }
    .avatar,
    .avatar-placeholder {
        width: 72px;
        height: 72px;
    }
    .clock-time {
        font-size: 20px;
    }
}
