:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-blue: #2e3192;
    --accent-gray: #6d6e71;
    --accent-gold: #ffd700;
    --accent-primary: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --accent-1: #19e003;
    --accent-2: #ffd700;
    --accent-3: #00d4ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Glassmorphism Effects */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(46, 49, 146, 0.3);
}

.glass-card.rounded {
    border-radius: 25px;
}


/* Blog Section Styling */
.content-header {
    text-align: center;
    padding: 5rem 0 1.5rem;
    margin-top: 96px;
    min-height: 150px;
    overflow: hidden;
}

.content-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    max-width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-primary));
    border-radius: 2px;
}

.content-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.content-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(46, 49, 146, 0.3);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card:hover img {
    transform: scale(1.05);
}

.content-card-content {
    padding: 1.25rem;
}

.content-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card .date {
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.content-card a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-card a:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Section Styling */
.section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.section .container {
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Neon Text Effects */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 3px #2e3192,
        0 0 6px #2e3192;
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Glitch Effects */
.glitch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 49, 146, 0.03), transparent);
    animation: glitchScan 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes glitchScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


/* Responsive Styles */
@media (max-width: 1199px) {
    .content-header {
        margin-top: 96px;
    }
}

@media (max-width: 768px) {
    .content-header {
        padding: 3rem 0 1rem;
        margin-top: 56px;
        min-height: 120px;
    }

    .content-header h1 {
        font-size: 2.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-card img {
        height: 180px;
    }

    .section .container {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .content-header h1 {
        font-size: 1.8rem;
    }

    .content-header p {
        font-size: 1rem;
    }

    .content-card img {
        height: 150px;
    }

    .content-card h2 {
        font-size: 1.2rem;
    }

    .content-grid {
        gap: 0.75rem;
    }
}

@media (max-width: 360px) {
    .content-card img {
        height: 120px;
    }

    .content-card h2 {
        font-size: 1.1rem;
    }

    .content-grid {
        gap: 0.75rem;
    }
}
