@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Quicksand:wght@300;400;500&display=swap');

:root {
    --primary: #c5a059;
    --primary-light: #e6d5b8;
    --bg-light: #fdfbf7;
    --text-dark: #2d3436;
    --accent: #8e44ad;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

h1, h2, h3, .rune-font {
    font-family: 'Cinzel', serif;
}

.rune-card {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.rune-card.is-flipped {
    transform: rotateY(180deg);
}

.rune-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.rune-card-front, .rune-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rune-card-front {
    background-color: var(--primary-light);
    color: var(--primary);
}

.rune-card-back {
    background-color: white;
    transform: rotateY(180deg);
    border: 2px solid var(--primary-light);
}

.rune-symbol {
    font-size: 3rem;
    line-height: 1;
}

/* Custom layout classes */
.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.floating-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

@media (max-width: 1024px) {
    .floating-nav {
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        background: white;
        border-top: 1px solid #eee;
        padding: 0.5rem;
    }
    
    .floating-nav ul {
        display: flex;
        justify-content: space-around;
    }
}

.btn-mystic {
    @apply px-6 py-3 bg-[#c5a059] text-white rounded-full font-bold transition-all hover:bg-[#b08d4b] hover:shadow-lg active:scale-95;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

