:root {
    --font-display: 'Orbitron', sans-serif;
    --font-sans: 'Roboto', sans-serif;
    --color-gold: #f59e0b; /* amber-500 */
    --color-gold-light: #fbbf24; /* amber-400 */
}

body {
    font-family: var(--font-sans);
}

.font-display {
    font-family: var(--font-display);
}

/* Header Styling */
.header-scrolled {
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Active Nav Link */
.nav-link.active {
    color: var(--color-gold-light);
    font-weight: bold;
}


/* Category Card */
.category-card-link {
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    transform: perspective(1000px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card-link:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.category-card {
    position: relative;
    height: 350px;
    color: white;
    background-color: #1f2937;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.category-card-link:hover .category-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    transition: background 0.3s ease;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.category-card-link:hover .category-icon {
    transform: translateY(-5px) scale(1.1);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
}
.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}
.category-card-link:hover .category-title {
    color: var(--color-gold-light);
}
.category-card-link:hover .category-title::after {
    transform: scaleX(1);
}

/* Form Input Styles */
.form-input {
    @apply w-full bg-gray-800 border border-gray-600 rounded-md py-2 px-4 text-gray-200 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:border-amber-500 transition-all;
}

/* Animations */
.text-focus-in {
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}
.text-focus-in-delay {
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) 0.5s both;
}
.pulse {
    animation: pulse 2s infinite;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes text-focus-in {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}
