*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0f0f0f;
    --surface: #1a1a1a;
    --border: #2e2e2e;
    --accent: #c0a060;
    --text-primary: #e8e8e8;
    --text-secondary: #888;
    --hover-bg: #222;
    --font: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

main {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.link-group {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.link-group h2 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.link-group nav {
    display: flex;
    flex-direction: column;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
}

.link-card:last-child {
    border-bottom: none;
}

.link-card:hover {
    background-color: var(--hover-bg);
}

.link-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.link-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

#logo {
    width: 30%;
    height: 30%;
    margin-bottom: 1rem;
    -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 45%, transparent 75%);
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .link-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}