/* Design System */
:root {
    --primary: #e82127;
    --background: #000000;
    --foreground: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --font-bricolage: 'Bricolage Grotesque', sans-serif;
    --font-montserrat: 'Bricolage Grotesque', sans-serif;
}

@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.2; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

@keyframes float-up-alt {
    0% { transform: translateY(0) scale(1.2); opacity: 0; }
    20% { opacity: 0.15; }
    80% { opacity: 0.15; }
    100% { transform: translateY(-100vh) scale(0.8); opacity: 0; }
}

body {
    font-family: var(--font-bricolage);
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.montserrat, .bricolage {
    font-family: var(--font-bricolage);
}

/* Custom Scanline Overlay */
.scanline-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    ),
    linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.06),
        rgba(0, 255, 0, 0.02),
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 2;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

/* Wave Clip Path */
.wave-container {
    clip-path: url(#wave-clip);
}

/* Smooth Transitions */
.transition-glow {
    transition: all 0.5s ease-out;
}

.transition-glow:hover {
    border-color: rgba(232, 33, 39, 0.5);
    background-color: rgba(232, 33, 39, 0.1);
    box-shadow: 0 0 20px rgba(232, 33, 39, 0.2);
    transform: scale(1.02);
}

/* Responsiveness Fixes */
img {
    max-width: 100%;
    height: auto;
}

.max-w-full-vw {
    max-width: 100vw;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .md\:ml-64 {
        margin-left: 0 !important;
    }
}

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e82127;
}
