:root {
    --background: #000000;
    --foreground: #ffffff;
    --card: #1a1a1a;
    --card-foreground: #ffffff;
    --primary: #ff0000;
    --primary-foreground: #000000;
    --secondary: #333333;
    --secondary-foreground: #ffffff;
    --muted: #444444;
    --muted-foreground: #999999;
    --border: #555555;
    --radius: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(225deg, #000000 0%, #1a1a1a 100%);
    color: var(--foreground);
    font-family: 'VT323', monospace;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: repeating-linear-gradient(
        60deg,
        transparent 0,
        transparent 34.5px,
        rgba(255, 0, 0, 0.05) 35px,
        transparent 35.5px,
        transparent 69px
    ),
    repeating-linear-gradient(
        -60deg,
        transparent 0,
        transparent 34.5px,
        rgba(255, 0, 0, 0.05) 35px,
        transparent 35.5px,
        transparent 69px
    );
    z-index: -1;
    animation: hexMove 18s linear infinite;
}

.container {
    max-width: 42rem;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-decoration: none;
    color: var(--foreground);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: scale(1.02);
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 10%, transparent 10.01%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.link-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-dot.online {
    background: #22c55e;
}

.status-dot.offline {
    background: #666;
}

.text-gradient {
    background: linear-gradient(to right, #ff0000, #ff6666);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes hexMove {
    0% { background-position: 0 0; }
    100% { background-position: 69px 119.6px; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

#typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 2s steps(40, end);
}