@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Inter:wght@200;300;400;600&display=swap');

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.font-biker {
    font-family: 'Cinzel Decorative', cursive;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem !important; /* Smaller hero title on mobile */
        line-height: 1 !important;
    }
    h2 {
        font-size: 2.5rem !important;
    }
    .glitch::before, .glitch::after {
        clip-path: none !important; /* Simplify glitch on mobile for performance */
        animation: none !important;
        display: none;
    }
    .product-card {
        margin-bottom: 2rem; /* Add spacing between cards on mobile */
    }
}

/* Text Outline Effect */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.hero-title {
    font-size: clamp(2.6rem, 9vw, 9rem);
    line-height: 0.95;
}
.hero-kicker {
    font-size: clamp(0.65rem, 3vw, 0.95rem);
    letter-spacing: 0.28em;
}

.site-header {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(12, 12, 12, 0.65));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-header.header-solid {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.08);
}
.nav-link {
    position: relative;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    transform: scaleX(0.3);
    transform-origin: center;
    opacity: 0;
    transition: all 0.25s ease;
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth active image transition */
#modal-carousel img {
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s ease;
}
#modal-carousel img.active {
    opacity: 1;
    transform: scale(1);
}

/* Perspective 3D container */
.perspective-1000 {
    perspective: 1000px;
}

/* Glitch Effect Refined */
.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch::before {
    color: #ff0000;
    z-index: -1;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}
.glitch::after {
    color: #a0a0a0; /* Steel Silver instead of Blue */
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(10% 0 60% 0); transform: translate(-1px, 1px); }
    100% { clip-path: inset(30% 0 30% 0); transform: translate(1px, -1px); }
}
/* Intro Loader */
#loader-screen {
    background: radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.08), transparent 32%), #000;
    z-index: 9999;
    display: flex;
}
#intro-flash {
    pointer-events: none;
    z-index: 999;
}

/* Cinematic loader styling */
.loader-stack {
    max-width: 1100px;
    position: relative;
}
.loader-ring {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    position: absolute;
    inset: 0;
    margin: auto;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.25));
}
.loader-glow {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.25), transparent 55%);
    filter: blur(22px);
    opacity: 0.75;
    border-radius: 999px;
}
#loader-bike {
    position: relative;
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
}
.loader-progress {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.loader-progress-bar {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}
