/* --- CSS RESET & VARIABLES --- */
:root {
    --color-gold: #d4af37;
    --cursor-size: 20px;
}

/* Smooth Scrolling setup for anchor links */
html {
    scroll-behavior: smooth;
}

/* --- HEADER BEHAVIOR --- */
#site-header {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

#site-header.is-hidden {
    transform: translateY(-120%);
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    mix-blend-mode: difference;
}

.hero-title-gradient {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.55), rgba(255, 255, 255, 0.55), rgba(243, 229, 171, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-kicker {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.9), rgba(243, 229, 171, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 1;
}

/* --- ANIMATIONS --- */
@keyframes slowZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* --- MENU REVEAL ANIMATION --- */
@keyframes menuEntrance {
    from {
        opacity: 0;
        transform: scale(1.05) translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 0.8;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.menu-img-animate {
    animation: menuEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Text Selection */
::selection {
    background: var(--color-gold);
    color: #000;
}

/* --- WHATSAPP PULSE ANIMATION --- */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}



/* --- MIKESOFT DEMO BANNER (Standardized) --- */
.ms-demo-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Left aligned for Umami */
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    width: 320px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: ms-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 1s;
    transition: transform 0.3s, opacity 0.3s;
    font-family: 'Ubuntu', sans-serif;
}

.ms-demo-banner.closed {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

@keyframes ms-slide-in {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ms-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ms-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ms-text {
    flex: 1;
}

.ms-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    font-family: 'Ubuntu', sans-serif;
}

.ms-subtitle {
    color: #94a3b8;
    font-size: 12px;
    margin: 2px 0 0 0;
    line-height: 1.2;
    font-family: 'Ubuntu', sans-serif;
}

.ms-actions {
    display: flex;
    gap: 8px;
}

.ms-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none !important;
    border: none;
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Ubuntu', sans-serif;
}

.ms-btn-primary {
    background: #3b82f6;
    /* Standard Blue */
    color: #fff !important;
}

.ms-btn-primary:hover {
    background: #2563eb;
}

.ms-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #cbd5e1 !important;
}

.ms-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

@media (max-width: 480px) {
    .ms-demo-banner {
        width: calc(100% - 40px);
        bottom: 20px;
        left: 20px;
    }
}

/* --- HAMBURGER ANIMATION --- */
#mobile-menu-btn.open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
    width: 2rem;
    /* w-8 equivalent */
}

#mobile-menu-btn.open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 2rem;
    /* w-8 equivalent */
}