html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #050505;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    background:
        radial-gradient(circle, #7c3aed55, transparent 30%),
        radial-gradient(circle at 80% 20%, #d4af3744, transparent 25%),
        radial-gradient(circle at 20% 80%, #2563eb33, transparent 30%);
    animation: move 18s ease-in-out infinite alternate;
    z-index: -3;
}

@keyframes move {
    to {
        transform: translate(8%, -5%) scale(1.2) rotate(10deg);
    }
}

.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.08;
    background-image: repeating-radial-gradient(
        circle,
        #fff 0 1px,
        transparent 2px 6px
    );
    mix-blend-mode: soft-light;
    animation: grain 0.3s steps(2) infinite;
}

@keyframes grain {
    to {
        transform: translate(2px, -2px);
    }
}

#particles {
    position: fixed;
    inset: 0;
    z-index: -2;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
}



nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
}

.logo span {
    color: #d4af37;
}

.btn,
.cta {
    color: #000;
    background: #d4af37;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
}

.hero {
    min-height: 40vh;
    background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80")
        center / cover;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: #0008;
}

.content {
    position: relative;
    max-width: 700px;
}

.content span {
    color: #d4af37;
}

section {
    padding: 40px 5%;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.cards div {
    background: #111;
    padding: 30px;
    border-radius: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}