/* Base styles and custom overrides */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Smooth focus outlines */
*:focus-visible {
    outline: 1px solid rgba(201, 168, 76, 0.6);
    outline-offset: 2px;
}

/* Image aspect ratio utilities */
.img-aspect-4-5 {
    aspect-ratio: 4 / 5;
}
.img-aspect-3-2 {
    aspect-ratio: 3 / 2;
}

/* Gold shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(
        90deg,
        #c9a84c 0%,
        #f2d88a 25%,
        #c9a84c 50%,
        #a07a30 75%,
        #c9a84c 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle pulse for CTA elements */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(201, 168, 76, 0.1); }
}

.cta-pulse {
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* Loading state for form */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(10, 22, 40, 0.3);
    border-top-color: #0a1628;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    .no-print {
        display: none !important;
    }
}
