/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for Dark Theme */
:root {
    --background: #0e1e30; /* Dark Navy */
    --foreground: #ffffff; /* White */
    --card: #1a1a1a; /* Charcoal */
    --card-foreground: #ffffff; /* White */
    --popover: #374151; /* Dark Gray */
    --popover-foreground: #ffffff; /* White */
    --primary: #00aaff; /* Electric Blue */
    --primary-foreground: #ffffff; /* White */
    --secondary: #f5f5f5; /* Light Gray */
    --secondary-foreground: #0e1e30; /* Dark Navy */
    --muted: #6b7280; /* Gray */
    --muted-foreground: #9ca3af; /* Light Gray */
    --accent: #f5f5f5; /* Light Gray */
    --accent-foreground: #0e1e30; /* Dark Navy */
    --destructive: #ef4444; /* Red */
    --destructive-foreground: #ffffff; /* White */
    --border: #374151; /* Dark Gray */
    --input: #374151; /* Dark Gray */
    --ring: #00aaff; /* Electric Blue */
    --radius: 0.625rem;
}

/* Font Variables */
body {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* Base Styles */
html {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

body {
    min-height: 100vh;
    font-family: var(--font-sans);
    font-feature-settings: "rlig" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
    color: var(--foreground);
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Container responsive improvements */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding: 0 1.5rem;
    }
    
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1.1;
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
}

/* Flexbox and Grid Utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    
    .lg\:py-36 {
        padding-top: 9rem;
        padding-bottom: 9rem;
    }
    
    .lg\:mb-24 {
        margin-bottom: 6rem;
    }
    
    .lg\:mb-28 {
        margin-bottom: 7rem;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .xl\:py-40 {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
    
    .xl\:py-44 {
        padding-top: 11rem;
        padding-bottom: 11rem;
    }
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Typography */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-primary-foreground {
    color: var(--primary-foreground);
}

.text-card-foreground {
    color: var(--card-foreground);
}

.text-white {
    color: #ffffff;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-center {
    text-align: center;
}

/* Spacing */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mb-24 {
    margin-bottom: 6rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

/* Layout */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-50 {
    z-index: 50;
}

.h-16 {
    height: 4rem;
}

.h-8 {
    height: 2rem;
}

.h-6 {
    height: 1.5rem;
}

.h-5 {
    height: 1.25rem;
}

.w-8 {
    width: 2rem;
}

.w-6 {
    width: 1.5rem;
}

.w-5 {
    width: 1.25rem;
}

.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

/* Backgrounds */
.bg-background {
    background-color: var(--background);
}

.bg-card {
    background-color: var(--card);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

/* Borders */
.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-border {
    border-color: var(--border);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-t-lg {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Effects */
.backdrop-blur {
    backdrop-filter: blur(8px);
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* Header Styles */
.header {
    background: rgba(14, 30, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header a {
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.header a:hover {
    color: var(--primary);
}

.header a:focus {
    outline: none;
    color: var(--primary);
}

/* Remove underlines from all navbar links */
.header nav a {
    text-decoration: none !important;
}

.header nav a:hover {
    text-decoration: none !important;
}

/* Enhanced navbar hover effect */
.header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.header nav a:hover::after {
    width: 100%;
}

/* Force hide mobile menu on desktop */
@media (min-width: 768px) {
    #mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 1rem;
    height: 2.5rem;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: rgba(0, 170, 255, 0.9);
}

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.btn-icon {
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
}

.btn-hero {
    background-color: #2563eb;
    color: white;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    height: auto;
}

.btn-hero:hover {
    background-color: #1d4ed8;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    height: 70vh;
    overflow: hidden;
    min-height: 500px;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.carousel-slide .bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: rgba(31, 41, 55, 0.8);
}

.indicator:hover {
    background-color: rgba(55, 65, 81, 0.8);
}

.indicator.active {
    background-color: var(--primary);
}

/* News Grid Styles */
.news-card {
    height: 100%;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 170, 255, 0.1), 0 4px 6px -2px rgba(0, 170, 255, 0.05);
    transform: translateY(-1px);
}

.news-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover h3 {
    color: var(--primary);
}

.news-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 170, 255, 0.9);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.card-image-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

/* Responsive Styles */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 767px) {
    .mobile-nav {
        border-top: 1px solid var(--border);
    }
    
    .flex-col {
        flex-direction: column;
    }
}

/* Special Background Images for Carousel */
.slide-1 {
    background-image: url('../images/futuristic-ai-brain-with-neural-networks-and-data-.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-2 {
    background-image: url('../images/molecular-structures-and-dna-helixes-with-ai-visua.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-3 {
    background-image: url('../images/balance-scales-with-ai-symbols-representing-ethics.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--card);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background-color: var(--card);
    z-index: 10;
}

.modal-header h2 {
    color: var(--card-foreground);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding-right: 1rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.modal-close:hover {
    color: var(--foreground);
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 1.5rem;
}

.modal-meta {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-text {
    color: var(--card-foreground);
    line-height: 1.7;
    font-size: 1rem;
}

.modal-text p {
    margin-bottom: 1.5rem;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

/* Improved News Card Hover Effects */
.news-card {
    height: 100%;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 170, 255, 0.1), 0 4px 6px -2px rgba(0, 170, 255, 0.05);
    transform: translateY(-2px);
}

.news-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover h3 {
    color: var(--primary);
}

.news-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Improved Typography */
.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Additional utility classes for better text handling */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer specific styles */
footer ul {
    list-style: none;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* Enhanced Gradient Backgrounds */
.bg-gradient-hero {
    background: linear-gradient(135deg, 
        rgba(14, 30, 48, 1) 0%, 
        rgba(30, 41, 59, 0.9) 25%, 
        rgba(14, 30, 48, 1) 50%, 
        rgba(30, 41, 59, 0.9) 75%, 
        rgba(14, 30, 48, 1) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Article Images Grid for Modal */
.article-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.article-image-container {
    text-align: center;
}

.article-additional-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.article-additional-image:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
}

@media (max-width: 768px) {
    .article-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Section Dividers */
.section-divider {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(14, 30, 48, 0.8) 0%, 
        rgba(30, 41, 59, 0.6) 50%, 
        rgba(14, 30, 48, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 170, 255, 0.1) 25%, 
        rgba(0, 170, 255, 0.2) 50%, 
        rgba(0, 170, 255, 0.1) 75%, 
        transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.divider-gradient {
    height: 2px;
    width: 200px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
    border-radius: 1px;
    position: relative;
}

.divider-gradient::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 170, 255, 0.3) 50%, 
        transparent 100%);
    filter: blur(4px);
    border-radius: 3px;
}

.divider-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5);
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.divider-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #60a5fa, var(--primary));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Reveal Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slideUp {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Enhanced Card Hover Effects */
.enhanced-card {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.enhanced-card:hover {
    transform: translateY(-8px) rotateY(5deg);
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 170, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: -1;
}

.enhanced-card:hover::before {
    opacity: 1;
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5),
                 0 0 20px rgba(0, 170, 255, 0.3),
                 0 0 30px rgba(0, 170, 255, 0.2);
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 30, 48, 0.7);
    z-index: 1;
}

.parallax-bg > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .divider-line {
        gap: 1rem;
    }
    
    .divider-gradient {
        width: 100px;
    }
    
    .divider-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .section-divider {
        padding: 2rem 0;
    }
}

/* Futuristic Animated Boxes */
.futuristic-box {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 1rem;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.futuristic-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(45deg, 
        #3b82f6, #8b5cf6, #06b6d4, #10b981, #f59e0b, #ef4444, #ec4899, #3b82f6);
    background-size: 400% 400%;
    border-radius: inherit;
    animation: gradientShift 3s ease-in-out infinite;
    z-index: -1;
}

.futuristic-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border-radius: calc(1rem - 2px);
    z-index: -1;
}

.futuristic-box:hover {
    transform: translateY(-5px) scale(1.02);
}

.futuristic-box:hover::before {
    animation-duration: 1.5s;
}

/* Feature Box Variant */
.futuristic-feature-box {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border-radius: 1.5rem;
    padding: 2.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.futuristic-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(45deg, 
        #3b82f6, #8b5cf6, #06b6d4, #10b981, #f59e0b, #ef4444, #ec4899, #3b82f6);
    background-size: 400% 400%;
    border-radius: inherit;
    animation: gradientShift 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.8;
}

.futuristic-feature-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border-radius: calc(1.5rem - 2px);
    z-index: -1;
}

.futuristic-feature-box:hover {
    transform: translateY(-8px) scale(1.03);
}

.futuristic-feature-box:hover::before {
    animation-duration: 2s;
    opacity: 1;
}

/* Stats Box Variant */
.futuristic-stats-box {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    text-align: center;
}

.futuristic-stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(45deg, 
        #3b82f6, #06b6d4, #10b981, #f59e0b, #ef4444, #ec4899, #8b5cf6, #3b82f6);
    background-size: 400% 400%;
    border-radius: inherit;
    animation: gradientShift 5s ease-in-out infinite;
    z-index: -1;
    opacity: 0.7;
}

.futuristic-stats-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border-radius: calc(1rem - 2px);
    z-index: -1;
}

.futuristic-stats-box:hover {
    transform: translateY(-3px) scale(1.05);
}

.futuristic-stats-box:hover::before {
    animation-duration: 2.5s;
    opacity: 1;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Inner Content Styling */
.futuristic-box .icon-container,
.futuristic-feature-box .icon-container {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.futuristic-box h3,
.futuristic-feature-box h3 {
    position: relative;
    z-index: 2;
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 1rem;
}

.futuristic-box p,
.futuristic-feature-box p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    line-height: 1.6;
}

.futuristic-stats-box .stat-number {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.futuristic-stats-box .stat-label {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Large Analysis Box Variant */
.futuristic-analysis-box {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border-radius: 2rem;
    padding: 3rem 2rem;
    overflow: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.futuristic-analysis-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(45deg, 
        #ef4444, #f97316, #eab308, #22c55e, #06b6d4, #3b82f6, #8b5cf6, #ec4899, #ef4444);
    background-size: 400% 400%;
    border-radius: inherit;
    animation: gradientShift 6s ease-in-out infinite;
    z-index: -1;
    opacity: 0.6;
}

.futuristic-analysis-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border-radius: calc(2rem - 2px);
    z-index: -1;
}

.futuristic-analysis-box:hover {
    transform: translateY(-10px) scale(1.01);
}

.futuristic-analysis-box:hover::before {
    animation-duration: 3s;
    opacity: 1;
}

.futuristic-analysis-box .content {
    position: relative;
    z-index: 2;
}

.futuristic-analysis-box h3 {
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.futuristic-analysis-box p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.futuristic-analysis-box .tags {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.futuristic-analysis-box .read-more {
    position: relative;
    z-index: 2;
}

/* Article Page Styles */
.article-page {
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.7;
}

.article-header {
    background: linear-gradient(135deg, var(--background) 0%, #1e293b 50%, var(--background) 100%);
}

.breadcrumb {
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.article-title {
    background: linear-gradient(135deg, var(--foreground) 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.article-image-container {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    width: 100%;
}

.article-image-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.article-image-container:hover img {
    transform: scale(1.05);
}

.prose {
    max-width: none;
    color: var(--foreground);
}

.prose h3 {
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.prose p {
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.prose ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
    list-style: none; /* Remove default bullets to use custom ones */
}

.prose strong {
    color: var(--foreground);
    font-weight: 600;
}

.additional-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.additional-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.additional-images img:hover {
    transform: scale(1.02);
}

.article-tags .tag {
    display: inline-block;
    background-color: var(--card);
    color: var(--card-foreground);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.article-tags .tag:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-article-card {
    background-color: var(--card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-decoration: none;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.related-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.related-article-card h4 {
    color: var(--foreground);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-article-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Category Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--background) 0%, #1e293b 50%, var(--background) 100%);
}

.category-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60a5fa, #a78bfa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.category-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    color: white;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-articles {
    margin-bottom: 1rem;
}

.article-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.2s;
}

.article-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.category-count {
    color: var(--muted-foreground);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Enhanced News Card Styles for Static HTML */
.news-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.news-card a {
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    overflow: hidden;
}

.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    z-index: 2;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: var(--primary);
}

.news-card-excerpt {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.news-card-meta .author,
.news-card-meta .date,
.news-card-meta .read-time {
    position: relative;
}

.news-card-meta .author::after,
.news-card-meta .date::after {
    content: '•';
    margin-left: 0.5rem;
    opacity: 0.5;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.125rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .news-card-content {
        padding: 1rem;
    }
}

/* ===== FUTURISTIC STYLING ENHANCEMENTS ===== */

/* Glowing hover effects for articles */
.article-page .prose h3:hover {
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
    transition: text-shadow 0.3s ease;
}

/* Futuristic borders with gradient animations */
.article-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.article-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00aaff, #ff00aa, #00ff00, #00aaff);
    background-size: 400% 400%;
    border-radius: 1rem;
    z-index: -1;
    animation: gradient-border 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-image-container:hover::before {
    opacity: 0.8;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced category cards with hover effects */
.category-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 170, 255, 0.3);
}

/* Futuristic text effects */
.article-title {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Enhanced navigation dropdown */
.group:hover .group-hover\\:opacity-100 {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 170, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Advanced button styling */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
    box-shadow: 0 10px 25px -5px rgba(0, 170, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(0, 170, 255, 0.6);
}

/* Futuristic scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00aaff, #0088cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0088cc, #006699);
}

/* Enhanced article content styling */
.prose {
    color: rgba(255, 255, 255, 0.9);
}

.prose h3 {
    position: relative;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #00aaff, #00ff88);
    border-radius: 2px;
}

.prose ul {
    margin: 1.5rem 0;
}

.prose li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    list-style: none; /* Remove default bullet to prevent double bullets */
}

.prose li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #00aaff;
    font-size: 0.8rem;
}

/* Enhanced tags styling */
.tag {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(0, 170, 255, 0.05));
    border: 1px solid rgba(0, 170, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(0, 170, 255, 0.1));
    border-color: #00aaff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 170, 255, 0.3);
}

/* Futuristic loading animation */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 170, 255, 0.8);
    }
}

.category-icon {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced related articles */
.related-article-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.4s ease;
}

.related-article-card:hover {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(20, 20, 20, 0.95));
    border-color: rgba(0, 170, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 170, 255, 0.4);
}

/* Enhanced news cards with futuristic styling */
.news-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 170, 255, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 170, 255, 0.3);
}

/* Floating particles effect for hero section */
.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 170, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 170, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 170, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float-particles 20s linear infinite;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

@keyframes float-particles {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-20px) translateX(-5px); }
    75% { transform: translateY(-10px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Enhanced mobile responsiveness for futuristic effects */
@media (max-width: 768px) {
    .article-image-container::before {
        display: none;
    }
    
    .category-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .prose h3 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .news-card:hover {
        transform: translateY(-3px) scale(1.005);
    }
    
    .hero-carousel::before {
        opacity: 0.3;
    }
}