:root {
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s ease;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: true;
}

@keyframes rotate-gradient {
    from {
        --angle: 135deg;
    }
    to {
        --angle: 494deg;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #d3d3d3;
        --text: #4a4a4a;
        --accent: #337398;
        --border: #e0e0e0;
    }

    body {
        background-image: linear-gradient(var(--angle), #aadcd0, #b6c0e1, #c0b1d8);
        animation: rotate-gradient 60s linear infinite;
    }

    .card {
        background-color: #ececec;
        background-image: linear-gradient(rgba(234, 234, 234, 0.8), rgba(234, 234, 234, 0.6)),
        url("background-light.jpg");
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #282c33;
        --text: #b8b8b8;
        --accent: #7e9bae;
        --border: #222;
    }

    body {
        background-image: linear-gradient(var(--angle), #1d553f, #172750, #301347);
        animation: rotate-gradient 60s linear infinite;
    }

    .card {
        background-color: #1e2025;
        background-image: linear-gradient(rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.7)),
        url("background-dark.jpg");
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main), serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: background-color var(--transition), color var(--transition);
    cursor: default;
}

.card {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3.5rem 5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    transition: transform 1s ease, box-shadow 1s ease;;
}

.card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    margin-top: -0.1rem;
    font-size: 1.8rem;
    margin-bottom: -1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
    opacity: 0.8;
    text-transform: uppercase;
}

a {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.socials {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.qr-code {
    max-width: 330px;
}

footer {
    position: absolute;
    bottom: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}