* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.code-font {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Effect - Elegant White Theme */
.glass {
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.glass-strong {
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Elegant Accents - White Theme */
.neon-blue {
    color: #000000;
}

.neon-teal {
    color: #1a1a1a;
}

.neon-violet {
    color: #333333;
}

.glow-blue {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.glow-teal {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Gradient Backgrounds - Elegant White Theme */
.gradient-bg {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Background Pattern - Elegant */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    position: relative;
    z-index: 1;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Skill Badge */
.skill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.05);
}

/* Blog Card */
.blog-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Blog Post Styles */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333333;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    color: #333333;
}

.blog-post-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: #000000;
}

.blog-post-content pre {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: #000000;
}

.blog-post-content blockquote {
    border-left: 4px solid rgba(0, 0, 0, 0.2);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666666;
}

.blog-post-content a {
    color: #000000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post-content a:hover {
    color: #666666;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

/* Blog Category Badge */
.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-category.active {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Blog List Grid */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Back to Blogs Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #666666;
}

/* Interactive Hero Styles */
.interactive-avatar {
    transition: transform 0.3s ease;
}

.interactive-avatar:hover {
    transform: scale(1.05);
}

.interactive-avatar img {
    transition: all 0.3s ease;
}

.interactive-avatar:hover img {
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.6);
}

.avatar-pulse {
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    }
}

.avatar-tooltip {
    pointer-events: none;
}

.interactive-avatar:hover .avatar-tooltip {
    opacity: 1;
}

/* Typing Animation */
.typing-text {
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #000000;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Story Cards */
.story-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.story-card:hover::before {
    left: 100%;
}

.story-card.active {
    transform: scale(1.05);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.015), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.018), transparent);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

/* Interactive Buttons */
.interactive-btn {
    position: relative;
    overflow: hidden;
}

.interactive-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.interactive-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Journey Timeline */
.journey-step {
    position: relative;
    transition: all 0.3s ease;
}

.journey-step:hover {
    transform: translateX(10px);
}

.journey-year {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.journey-step:hover .journey-year {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* Scroll Prompt */
.scroll-prompt {
    margin-top: 4rem;
}

/* Story Content Animation */
.story-content {
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Effect */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: scale(1.05);
}

/* Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}
