:root {
    --bg: #1c192e;
    --card-bg: rgba(38, 35, 64, 0.55);
    --text: #f0f0f0;
    --link: #8c7bc7;
    --link-active: #756a9c;
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    --icon-filter: invert(1);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f3f1fb;
        --card-bg: rgba(255, 255, 255, 0.55);
        --text: #2a2438;
        --link: #6b5aa8;
        --link-active: #4d3f7a;
        --glass-border: rgba(120, 100, 170, 0.25);
        --glass-highlight: rgba(255, 255, 255, 0.7);
        --icon-filter: none;
    }
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(140, 123, 199, 0.55), transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(94, 74, 140, 0.5), transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(117, 106, 154, 0.45), transparent 50%);
    animation: gradient-drift 10s ease-in-out infinite;
    will-change: transform;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradient-drift {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-8%, -6%);
    }
    100% {
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}

.info {
    text-align: left;
    max-width: 500px;
    padding: 2rem 3rem;
    background-color: var(--card-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 var(--glass-highlight);
    animation: 0.8s cubic-bezier(0, 0, 0.34, 1) reveal-card;
}

.info > * {
    animation: 0.8s both reveal-text;
}

.info > .header {
    animation-delay: 0.1s;
}

.info > .mini-description {
    animation-delay: 0.2s;
}

.info > .description {
    animation-delay: 0.3s;
}

.info > .socials {
    animation-delay: 0.4s;
}

.info > .donation {
    animation-delay: 0.5s;
}

@keyframes reveal-card {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-text {
    0% {
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .info,
    .info > * {
        animation: none;
        opacity: 1;
    }
}

.header-emoji {
    height: 1em;
    width: 1em;
    vertical-align: -0.15em;
}

.icon {
    height: 1em;
    width: 1em;
    vertical-align: -0.15em;
    filter: var(--icon-filter);
}

.mail-icon {
    filter: brightness(0) invert(1);
}

a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: var(--link-active);
}

.monero-page {
    text-align: center;
}

.qr-wrapper {
    display: block;
    width: fit-content;
    margin: 1.5rem auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
}

.qr-code {
    display: block;
    width: 300px;
    height: 300px;
}

.copy-btn {
    display: block;
    margin: 0 auto;
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--glass-highlight);
}

.footer {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

