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

body {
    font-family: 'Lato', sans-serif;
    background: radial-gradient(circle at center, #2e1065 0%, #0f0518 100%);
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Cinzel', serif;
}

/* Cosmic Background Animation */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Glassmorphism Card */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-card {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.nav-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.glow-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(167, 139, 250, 0.3);
}

/* Tool Specific Styles */
.tarot-card-back {
    background-image: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.orb {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(167, 139, 250, 0.4), rgba(76, 29, 149, 0.8), #000);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6), inset 0 0 20px rgba(255,255,255,0.2);
}
