/* ============================================
   Claymorphism 3D Style - Premium Black & Gold
   ============================================ */

:root {
    --clay-bg: #1a1a1a;
    --clay-surface: #262626;
    --clay-accent: #d4af37;
    /* Gold */
    --clay-shadow-light: rgba(255, 255, 255, 0.05);
    --clay-shadow-dark: rgba(0, 0, 0, 0.6);
    --clay-radius: 30px;
}

/* Clay Card Implementation */
.clay-card {
    background-color: var(--clay-surface);
    border-radius: var(--clay-radius);
    box-shadow:
        30px 30px 60px var(--clay-shadow-dark),
        -30px -30px 60px var(--clay-shadow-light),
        inset 4px 4px 8px rgba(255, 255, 255, 0.05),
        inset -4px -4px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.clay-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        20px 20px 40px var(--clay-shadow-dark),
        -20px -20px 40px var(--clay-shadow-light);
}

/* Floating 3D Elements */
.clay-float {
    animation: float-3d 6s ease-in-out infinite;
}

.clay-float-delay-1 {
    animation-delay: 1s;
}

.clay-float-delay-2 {
    animation-delay: 2s;
}

@keyframes float-3d {

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

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

/* Navigation Clay Style */
.nav-clay-item {
    background: transparent;
    border-radius: 20px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.nav-clay-item:hover,
.nav-clay-item.active {
    background: var(--clay-surface);
    box-shadow:
        inset 5px 5px 10px var(--clay-shadow-dark),
        inset -5px -5px 10px var(--clay-shadow-light);
    color: var(--clay-accent) !important;
}

/* Loader */
.loader-clay {
    width: 100px;
    height: 100px;
    background: var(--clay-surface);
    border-radius: 50%;
    box-shadow:
        20px 20px 60px var(--clay-shadow-dark),
        -20px -20px 60px var(--clay-shadow-light);
    animation: pulse-clay 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse-clay {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Scroll Background Transition helper */
body {
    transition: background-color 0.8s ease;
}

.bg-state-1 {
    background-color: #121212 !important;
}

.bg-state-2 {
    background-color: #1a1a1a !important;
}

.bg-state-3 {
    background-color: #000000 !important;
}

/* Typography improvements for clay */
h1,
h2,
h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}