:root {
    --primary-color: #2a2a2a;
    --accent-color: #4CAF50;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px;
    position: relative;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.wrapper {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.header {
    margin-bottom: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    color: #666;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: rgba(230, 230, 240, 0.9);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    text-decoration: none;
}

.link-item:hover {
    background-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-item:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.link-item svg {
    margin-right: 15px;
    min-width: 24px;
}

.link-name {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
    margin-right: 8px;
}

.link-item:hover .link-name {
    color: var(--accent-color);
}

.link-text {
    color: #666;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #f1f1f1;
        --primary-color: #f1f1f1;
    }

    .wrapper {
        background-color: rgba(42, 42, 42, 0.85);
    }

    .link-item {
        background-color: rgba(55, 55, 65, 0.9);
        border: 1px solid rgba(80, 80, 90, 0.5);
    }

    .link-item:hover {
        background-color: rgba(76, 175, 80, 0.35);
        border-color: rgba(76, 175, 80, 0.5);
    }

    .link-text {
        color: #aaa;
    }
}

@media (max-width: 600px) {
    .wrapper {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .link-text {
        display: none;
    }

    .link-item {
        justify-content: center;
    }

    .link-name {
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }

    .link-item:hover {
        transform: none;
    }
}
