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

html {
    overflow: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 40%, #16213e 100%);
    color: #e2e8f0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    user-select: none;
}

/* Enhanced background with particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; top: 20%; background: #64ffda; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 80%; top: 30%; background: #ff6b6b; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 60%; top: 70%; background: #4ecdc4; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 20%; top: 80%; background: #45b7d1; animation-delay: 0.5s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 90%; top: 10%; background: #96ceb4; animation-delay: 1.5s; }
.particle:nth-child(6) { width: 3px; height: 3px; left: 40%; top: 40%; background: #feca57; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 32px 40px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64ffda, #45b7d1, #ff6b6b);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
    animation: slideInLeft 1.2s ease-out 0.1s both;
    transition: all 0.4s ease;
}

.profile-image-container:hover {
    transform: scale(1.05) rotate(45deg);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.profile-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

.profile-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(69, 183, 209, 0.2));
    border: 3px solid rgba(100, 255, 218, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #64ffda;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.profile-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    animation: shimmer 2s infinite;
}

.profile-placeholder:hover {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.3);
    border-color: rgba(100, 255, 218, 0.5);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #64ffda 0%, #45b7d1 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: slideDown 1.2s ease-out 0.2s both;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #64ffda;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-out 0.4s both;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

/* Skills Section */
.skills-container {
    margin-bottom: 80px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.skills-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #64ffda;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.skill-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.skill-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
    cursor: pointer;
}

.interests {
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 16px;
    opacity: 0.9;
}

/* Docs Section */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #64ffda;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.doc-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    cursor: pointer;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

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

.doc-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #e2e8f0;
    position: relative;
}

.doc-card-desc {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.doc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.doc-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.doc-card-link {
    display: inline-flex;
    align-items: center;
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.doc-card-link span {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-card-link span {
    transform: translateX(4px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
    position: relative;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.social-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.social-link:hover {
    color: #64ffda;
}

.social-link:hover::after {
    width: 100%;
}

.footer p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 40px 24px;
    }
    
    .hero-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .doc-card {
        padding: 24px;
    }
}
