/* ========================================
   SLOAN'S TROPHIES & AWARDS
   Premium Dark Luxury Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0114;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4A017, #996515);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F5D76E;
}

/* --- Floating Animation --- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(3deg);
    }
    50% {
        transform: translateY(-16px) rotate(3deg);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- 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;
    }
    
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Navbar Glass Effect --- */
#navbar.scrolled {
    background: rgba(13, 1, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Gold Gradient Text Utility --- */
.text-gold-gradient {
    background: linear-gradient(135deg, #F5D76E 0%, #D4A017 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Card Hover Glow --- */
.glow-hover:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.15);
}

/* --- Selection Color --- */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #F5D76E;
}

/* --- Mobile Menu Transitions --- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* --- Form Focus States --- */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* --- Button Ripple Effect --- */
button, a {
    position: relative;
    overflow: visible;
}

/* --- Image Loading --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* --- Print Styles --- */
@media print {
    #navbar,
    .animate-float,
    .animate-float-delayed {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
