:root {
    --brand-red: #8B0000;
    --brand-black: #000000;
    --brand-silver: #C0C0C0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--brand-black);
    color: white;
    overflow-x: hidden;
    margin: 0;
}

/* Smooth scrolling optimization */
html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Montserrat', sans-serif;
}

/* --- 3D Canvas Container --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    /* Slight dim to make text pop */
}

/* --- Scroll Progress Bar --- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #8B0000);
    width: 0%;
    z-index: 100;
}

/* Glassmorphism effects */
.glass-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 0, 0, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
    border-color: var(--brand-red);
}

.text-red-glow {
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.8);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}

.scroll-indicator {
    animation: fadeInUp 0.5s ease-out 1s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 0.9;
        transform: translate(-50%, 0);
    }
}

/* Logo pulse animation */
.animate-pulse-slow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.4));
    }
    50% {
        opacity: 0.85;
        filter: drop-shadow(0 0 16px rgba(220, 38, 38, 0.6));
    }
}