body {
    background-color: #050505;
    color: #F8FAFC;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Glass Navigation */
.glass-nav {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section Styles */
.hero-section {
    background: radial-gradient(circle at top center, rgba(15, 23, 42, 1) 0%, #050505 70%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* Premium Blog Card Styles */
.blog-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    backdrop-filter: blur(10px);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Border Glow Effect */
.blog-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(96, 165, 250, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.blog-card:hover::before {
    opacity: 1;
}

/* Card inner content z-index */
.blog-card > * {
    position: relative;
    z-index: 10;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

/* Tag Styles */
.tag {
    background: rgba(96, 165, 250, 0.1);
    color: #93C5FD;
    border: 1px solid rgba(96, 165, 250, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Fade In Up Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    100% { transform: rotate(1turn); }
}

/* Background glowing blobs */
.blob {
    position: absolute;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.3;
    border-radius: 50%;
    animation: float 12s infinite ease-in-out alternate;
    transition: transform 0.5s ease-out; /* For JS mousemove */
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.3);
    top: -50px;
    right: -100px;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(15, 23, 42, 0.6);
    bottom: -200px;
    left: -200px;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.1); }
}

/* Scroll Animation Icon */
.mouse-scroll {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
    transition: border-color 0.3s;
}

.mouse-scroll:hover {
    border-color: #60A5FA;
}

.mouse-scroll::before {
    content: '';
    width: 4px;
    height: 6px;
    background: #60A5FA;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; height: 6px; }
    50% { top: 12px; height: 10px; }
    100% { top: 24px; opacity: 0; height: 4px; }
}

/* Smooth Button Ripple */
.lang-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
    outline: none;
}
