@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Cinzel:wght@600&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050505;
    color: white;
    overflow-x: hidden;
    perspective: 1000px;
    /* For 3D depths */
}

/* VR Grid Background */
.vr-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200vw;
    height: 200vh;
    background-image:
        linear-gradient(to right, rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(45deg) translateZ(-200px) translateY(-50%);
    z-index: -2;
    mask-image: linear-gradient(to bottom, transparent 10%, black 60%);
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: rotateX(45deg) translateZ(-200px) translateY(-50%) translateY(0);
    }

    100% {
        transform: rotateX(45deg) translateZ(-200px) translateY(-50%) translateY(50px);
    }
}

/* Royal Glows */
.royal-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Glass & Holographic Cards */
.holo-card {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Golden Border Effect for Royalty */
.royalty-border {
    position: relative;
}

.royalty-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(45deg, #f59e0b, #7c3aed, #06b6d4, #f59e0b);
    border-radius: inherit;
    background-size: 400%;
    animation: border-flow 8s linear infinite;
    opacity: 0.6;
}

@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.holo-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.5);
    border-color: rgba(6, 182, 212, 0.4);
}

/* Typography Overrides */
.font-royal {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

.text-gold-gradient {
    background: linear-gradient(to bottom, #fef3c7, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}