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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(184, 134, 11, 0.3);
    color: #FDF6CD;
}

/* === Gold Button === */
.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4A017 0%, #B8860B 50%, #996515 100%);
    color: #050D1F;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.25);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.gold-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F0C04A 0%, #D4A017 50%, #B8860B 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.4);
}

.gold-button:hover::before {
    opacity: 1;
}

.gold-button span,
.gold-button svg,
.gold-button > * {
    position: relative;
    z-index: 1;
}

/* === Scroll Reveal === */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Default visible state for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

/* === Navbar === */
.nav-scrolled {
    background: rgba(5, 13, 31, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-default {
    background: transparent !important;
}

/* === Mobile Menu === */
.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* === Input Focus Styles === */
input:focus,
textarea:focus {
    background: rgba(15, 28, 63, 0.8);
}

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

::-webkit-scrollbar-track {
    background: #050D1F;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B8860B, #996515);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #D4A017, #B8860B);
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    .font-cinzel {
        line-height: 1.2;
    }
}
