/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Roboto:wght@400;700&display=swap');

/* Base Styles */
:root {
    --color-bg: #1a071d;
    --color-bg2: #2c1032;
    --color-text: #f0eef3;
    --color-muted: #c9b9d9;
    --color-accent: #ff00ff;
    --color-accent2: #00ffff;
}

body {
    background:
        radial-gradient(1400px 800px at 80% 0%, rgba(255, 0, 255, .13), transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg2) 100%);
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Orbitron', sans-serif;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 0, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), 0 0 10px rgba(0, 255, 255, 0.4); }
    100% { box-shadow: 0 0 5px rgba(255, 0, 255, 0.2); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-indicator {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Utilities / Custom Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s infinite alternate;
}

.animate-scroll {
    animation: scroll-indicator 2s ease-in-out infinite;
}

.type-gradient {
    background: linear-gradient(90deg, #ff00ff 0%, #00ffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-panel {
    background: rgba(44, 16, 50, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link-active::after {
    width: 100%;
}

.nav-link-active {
    color: var(--color-accent);
}

/* Timeline Cards */
.timeline-card-dynamic {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(44, 16, 50, 0.5);
    border-radius: 1rem;
}

.timeline-card-dynamic:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    border-color: var(--color-accent2);
}

/* Modals */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--color-bg2) 0%, #1a071d 100%);
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.2);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}
