:root {
    --brand-dark: #121212;
    --brand-gold: #FFD700;
    --brand-gold-alt: #F5A623;
    --brand-purple: #9B59B6;
    --brand-purple-alt: #8E44AD;
    --font-family-main: 'Poppins', sans-serif;
}

body {
    background-color: var(--brand-dark);
    font-family: var(--font-family-main);
    overflow-x: hidden;
}

/* Particle Background */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--brand-dark);
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1), transparent 30%),
                      radial-gradient(circle at 75% 75%, rgba(155, 89, 182, 0.1), transparent 30%);
    animation: particle-animation 20s infinite alternate;
}

@keyframes particle-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Styles */
#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    @apply text-gray-300 font-medium transition-colors duration-300 hover:text-brand-gold relative py-1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-active {
    @apply text-brand-gold font-semibold relative py-1;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gold);
}


/* Text & Gradient Styles */
.text-glow {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}
.text-glow-strong {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}
.text-gradient {
    background-image: linear-gradient(45deg, var(--brand-gold), var(--brand-gold-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Shimmering Button & BG */
.shimmer-bg, .shimmer-bg-alt {
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
}

.shimmer-bg {
    background-image: linear-gradient(-45deg, var(--brand-gold), var(--brand-gold-alt), #f9d423, #ffcc33);
    animation: shimmer 3s linear infinite;
}
.shimmer-bg-alt {
    background-image: linear-gradient(-45deg, var(--brand-gold), var(--brand-gold-alt), #f9d423, #ffcc33);
    animation: shimmer 3s linear infinite reverse;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shimmer-gradient-bar {
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    background-size: 200% 100%;
    animation: shimmer-bar 5s linear infinite;
}
@keyframes shimmer-bar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.card-3d-content {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}
.card-3d:hover .card-3d-content {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

/* Prose custom styles for legal pages */
.prose h2 {
    @apply text-3xl font-bold mb-4 text-glow;
}
.prose ul li::marker {
    color: var(--brand-gold);
}


/* Footer Styles */
.footer-link {
    @apply hover:text-brand-gold transition-colors duration-300;
}

.footer-input {
    @apply w-full bg-black/30 border border-white/20 rounded-lg px-4 py-3 mb-4 focus:outline-none focus:ring-2 focus:ring-brand-gold transition-all duration-300;
    font-family: var(--font-family-main);
    caret-color: var(--brand-gold);
    transition: all 0.3s ease;
}

.footer-input:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    background: rgba(30, 30, 30, 0.7);
}

.footer-input::placeholder {
    color: #aaa;
    font-weight: 300;
}

/* Enhanced Footer Form Styles */
#feedback-form {
    display: flex;
    flex-direction: column;
}

#feedback-form .footer-input {
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
}

#feedback-form .footer-input:focus {
    border-width: 2px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

#feedback-form button {
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-size: 1rem;
}

#feedback-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 215, 0, 0.4);
}

/* Enhanced Thank You Message */
#feedback-thank-you {
    animation: fadeIn 0.5s ease-in;
    border-radius: 1rem;
    padding: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#feedback-thank-you h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Form Container Enhancement */
#feedback-form-container {
    transition: all 0.3s ease;
    border-radius: 1rem;
    padding: 1.5rem;
}

#feedback-form-container:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
    transform: translateY(-5px);
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate="fade-up"] {
    transform: translateY(30px);
}
[data-animate="fade-right"] {
    transform: translateX(-30px);
}
[data-animate="fade-left"] {
    transform: translateX(30px);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* Mobile Menu */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 40;
}

#mobile-menu.mobile-menu-visible {
    transform: translateY(0);
}

.mobile-menu-hidden {
    transform: translateY(-150%);
}