/* Museum of Money Inspired Brutalist Theme */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --c-blue: #0B2447;
  --c-orange: #FF6B00;
  --c-light: #F5F2EB;
  --c-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--c-light);
    color: var(--c-blue);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

body.dark {
    background-color: var(--c-blue);
    color: var(--c-light);
}

::selection {
    background: var(--c-orange);
    color: var(--c-white);
}

/* Typography */
.font-display {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

.font-serif {
    font-family: 'Space Grotesk', sans-serif;
}

/* Structural Borders */
.border-brutal { border: 1px solid var(--c-blue); }
.dark .border-brutal { border: 1px solid var(--c-light); }

.border-b-brutal { border-bottom: 1px solid var(--c-blue); }
.dark .border-b-brutal { border-bottom: 1px solid var(--c-light); }

.border-t-brutal { border-top: 1px solid var(--c-blue); }
.dark .border-t-brutal { border-top: 1px solid var(--c-light); }

.border-r-brutal { border-right: 1px solid var(--c-blue); }
.dark .border-r-brutal { border-right: 1px solid var(--c-light); }

.border-l-brutal { border-left: 1px solid var(--c-blue); }
.dark .border-l-brutal { border-left: 1px solid var(--c-light); }

/* Buttons */
.btn-museum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 1.25rem 3rem;
    border: 2px solid var(--c-blue);
    background: transparent;
    color: var(--c-blue);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.dark .btn-museum {
    border-color: var(--c-light);
    color: var(--c-light);
}

.btn-museum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-orange);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-museum:hover {
    color: var(--c-white);
    border-color: var(--c-orange);
}

.btn-museum:hover::before {
    transform: scaleY(1);
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid var(--c-blue);
    border-bottom: 2px solid var(--c-blue);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    background: var(--c-orange);
    color: var(--c-blue);
}
.dark .marquee-container {
    border-color: var(--c-light);
}
.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.05em;
    padding-left: 100%;
}
@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Images */
.img-brutal {
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.7s ease, transform 0.7s ease;
}
.img-brutal:hover {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-light); }
.dark ::-webkit-scrollbar-track { background: var(--c-blue); }
::-webkit-scrollbar-thumb { background: var(--c-orange); }

/* Fullscreen Grid Lines */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0.1;
}
.dark .grid-overlay { opacity: 0.05; }
.grid-line {
    border-right: 1px solid var(--c-blue);
    height: 100%;
}
.dark .grid-line { border-color: var(--c-light); }

/* Hover Line */
.hover-line {
    position: relative;
    text-decoration: none;
}
.hover-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-orange);
    transition: width 0.3s ease;
}
.hover-line:hover::after { width: 100%; }

/* Skip translate */
.skiptranslate, #goog-gt-tt, .goog-te-banner-frame { display: none !important; }

/* Splash Screen Animations */
.splash-shadow {
    animation: slideInShadow 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.splash-box {
    animation: popInBox 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0);
}

.splash-logo {
    opacity: 0;
    animation: fadeGlitch 1.2s ease-out 0.4s forwards;
}

@keyframes slideInShadow {
    0% { transform: translate(0, 0); opacity: 0; }
    100% { transform: translate(16px, 16px); opacity: 1; }
}

@keyframes popInBox {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes fadeGlitch {
    0% { opacity: 0; transform: scale(0.7) translateY(30px); }
    50% { opacity: 1; transform: scale(1.1) translateY(-10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}


/* Custom Cursor */
@media (min-width: 1024px) {
    body, a, button, input, textarea, select, .swiper-button-next, .swiper-button-prev, .hover-line, .swiper-slide {
        cursor: none !important;
    }
    #custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        background-color: var(--c-orange);
        clip-path: polygon(0 0, 80% 35%, 45% 45%, 35% 80%);
        pointer-events: none;
        z-index: 100000;
        /* Tip of the arrow is at 0,0 so we don't translate -50% */
        transform: translate(-2px, -2px); 
        animation: cursorColorFade 3s infinite alternate ease-in-out;
        transition: width 0.3s ease, height 0.3s ease, clip-path 0.3s ease;
        filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.3));
    }
    .dark #custom-cursor {
        filter: drop-shadow(4px 4px 0 rgba(255,255,255,0.2));
    }
    #custom-cursor.hovering {
        width: 48px;
        height: 48px;
        clip-path: polygon(0 0, 100% 20%, 50% 50%, 20% 100%);
        mix-blend-mode: difference;
        background-color: var(--c-light) !important;
        animation: none;
    }
    .dark #custom-cursor.hovering {
        background-color: var(--c-light) !important;
    }
}
@keyframes cursorColorFade {
    0% { background-color: var(--c-orange); }
    100% { background-color: var(--c-blue); }
}


/* Extended Splash Screen Animations */
@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.animate-splash-marquee-left {
    animation: marqueeLeft 20s linear infinite;
}
.animate-splash-marquee-right {
    animation: marqueeRight 20s linear infinite;
}
.splash-pop {
    animation: popOpacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}
@keyframes popOpacity {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

