/* --- Core Styling & Dark Theme --- */
body {
    background-color: #0a0b0f;
    color: #e0e1e6;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* --- Particle Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Glassmorphism Navigation --- */
nav {
    background: rgba(10, 11, 15, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(42, 45, 57, 0.5);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #00f6ff;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00f6ff;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* --- Neon Glow Effects --- */
.neon-glow-cyan-text {
    text-shadow:
        0 0 5px rgba(0, 246, 255, 0.8),
        0 0 10px rgba(0, 246, 255, 0.6),
        0 0 20px rgba(0, 246, 255, 0.4);
}

/* --- Aura Card Styling --- */
.aura-card {
    background-color: #1a1c23; /* var(--card-background) */
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #2a2d35;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Card Hover Effects --- */
.aura-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 246, 255, 0.2);
}

/* --- Neon Accent Divider --- */
hr.neon-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 246, 255, 0), rgba(0, 246, 255, 0.75), rgba(0, 246, 255, 0));
}

/* --- Page Load Animation --- */
.content-container {
    opacity: 0;
    position: relative;
    z-index: 2;
}

/* --- Sorting Controls --- */
.sort-button {
    padding: 6px 12px;
    border-radius: 6px;
    background-color: transparent;
    color: #9ca3af; /* text-gray-400 */
    border: 1px solid #374151; /* border-gray-700 */
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.sort-button:hover {
    background-color: #374151; /* bg-gray-700 */
    color: #e5e7eb; /* text-gray-200 */
}

.sort-button.active {
    color: #00f6ff;
    border-color: #00f6ff;
    box-shadow: 0 0 10px rgba(0, 246, 255, 0.3);
}

.sort-direction-button {
    padding: 6px;
    border-radius: 6px;
    background-color: transparent;
    color: #9ca3af; /* text-gray-400 */
    border: 1px solid #374151; /* border-gray-700 */
    transition: all 0.3s ease;
}

.sort-direction-button:hover {
    background-color: #374151; /* bg-gray-700 */
    color: #e5e7eb; /* text-gray-200 */
}

.sort-direction-button svg {
    transition: transform 0.3s ease;
}

.sort-direction-button.asc svg {
    transform: rotate(180deg);
}

/* --- PDF Card Styling --- */
.pdf-card {
    display: block;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(26, 28, 35, 0.5);
    border: 1px solid rgba(42, 45, 53, 0.7);
    transition: all 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 32, 40, 0.8);
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.15);
    border-color: rgba(0, 246, 255, 0.3);
}
