/* SimpliSAC Cashless Landing Page - Futuristic Design System & Animations */

:root {
    --navy: #0B1A2B;
    --night: #08111D;
    --night-surface: #0E1A2D;
    --night-elevated: #13233B;
    --gold: #9D7636;
    --gold-light: #C6994B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html:not(.dark) body {
    background-color: #F8FAFC;
    color: #0B1A2B;
}

html.dark body {
    background-color: #08111D;
    color: #F8FAFC;
}

.ss-logo-dark { display: none; }
html.dark .ss-logo-light { display: none; }
html.dark .ss-logo-dark { display: inline-block; }

.theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: none; }
html.dark .theme-icon-sun { display: inline-block; }

/* Futuristic Cyber Grid Backdrop */
.cyber-grid {
    background-size: 48px 48px;
    background-image:
        linear-gradient(to right, rgba(157, 118, 54, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(157, 118, 54, 0.08) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 40%, transparent 100%);
}

html.dark .cyber-grid {
    background-image:
        linear-gradient(to right, rgba(198, 153, 75, 0.11) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(198, 153, 75, 0.11) 1px, transparent 1px);
}

/* Holographic Gold Shimmer Text */
.text-gold-gradient {
    background: linear-gradient(110deg, #9D7636 0%, #D4AA63 45%, #9D7636 70%, #7C5B24 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: goldShimmer 5s linear infinite;
}

@keyframes goldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Floating & Pulse Animations */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatDelayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
}

.animate-float-slow {
    animation: floatSlow 5.5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatDelayed 6.5s ease-in-out infinite;
}

@keyframes nfcRadar {
    0% { transform: scale(0.85); opacity: 0.75; }
    100% { transform: scale(2.1); opacity: 0; }
}

.nfc-ring {
    animation: nfcRadar 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.nfc-ring-delay {
    animation: nfcRadar 2.4s cubic-bezier(0.22, 1, 0.36, 1) 1.2s infinite;
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Bento Card Spotlight Hover */
.bento-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(157, 118, 54, 0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-4px);
}

/* Marquee */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Custom Range Slider */
input[type="range"].ss-range {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: rgba(157, 118, 54, 0.25);
    outline: none;
}

input[type="range"].ss-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9D7636;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(157, 118, 54, 0.45);
    cursor: pointer;
    transition: transform 0.15s ease;
}

input[type="range"].ss-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Mobile Menu */
#mobile-drawer {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
