:root {
    --hue: 260; /* starting color */
}

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

/* Base */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #eaeaf0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;

    /* Dark base + animated gradient layer */
    background: #0d0d02;
    position: relative;
}

/* Animated gradient background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background: 
        radial-gradient(circle at 20% 30%, hsla(var(--hue), 70%, 60%, 0.15), transparent 20%),
        radial-gradient(circle at 80% 70%, hsla(calc(var(--hue) + 60), 80%, 55%, 0.1), transparent 20%),
        radial-gradient(circle at 50% 50%, hsla(calc(var(--hue) + 120), 75%, 60%, 0.05), transparent 25%);

    animation: gradientMove 18s ease-in-out infinite alternate;
    filter: blur(40px);
}

/* Motion stays the same */
@keyframes gradientMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-5%, 12%) scale(1.85);
    }
    100% {
        transform: translate(-12%, -10%) scale(1.08);
    }
}

/* Layout */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 20px;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 60px;
}

.logo img {
    width: 140px;
    /* margin-bottom: 12px; */
    opacity: 0.95;
}

.logo h1 {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: #aaa;
    font-weight: 500;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Content card */
.content {
    background: rgba(20, 20, 28, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 32px;

    border: 1px solid rgba(255, 255, 255, 0.05);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
    animation: fadeInUp 0.5s ease-out;

}

/* Text */
.content p {
    margin-bottom: 18px;
    color: #cfcfd6;
    font-size: 0.95rem;
    animation: fadeInUp 0.5s ease-out;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Subtle hover lift */
.content:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* Optional: faint glow accent on hover */
.content:hover {
    border-color: rgba(120, 80, 255, 0.25);
}

.buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5f5ff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}

/* entrance animations */
.button:first-child {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.button:last-child {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

/* icon */
.button-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    vertical-align: middle;
    filter: invert(100%) sepia(100%) grayscale(100%) brightness(150%);
    position: relative;
    z-index: 2;
}

/* ensure text stays above shimmer */
.button span {
    position: relative;
    z-index: 2;
}

/* shimmer layer */
.button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 1;
}

/* shimmer animation */
.button:hover::before {
    animation: shimmer 1.2s ease forwards;
}

@keyframes shimmer {
    100% {
        transform: translateX(120%);
    }
}

/* hover effect */
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* click feedback */
.button:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
    main {
        padding: 50px 15px;
    }

    .content {
        padding: 22px;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
        animation-delay: 0s !important;
    }
}