/* Global Styles */
:root {
    --bg-primary: #0a0a13;
    --bg-secondary: #10101e;
    --bg-card: rgba(17, 24, 39, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --card-border: rgba(31, 41, 55, 0.5);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --accent-color: #3b82f6;
    --accent-color-transparent: #3b82f655;
    --accent-color-hover: #2563eb;
    --accent-glow: 0 0 10px #3b82f6aa, 0 0 20px #3b82f677, 0 0 30px #3b82f644;
    --glow-color: #3b82f677;
    --scrollbar-thumb: #3b82f6;
    --scrollbar-thumb-hover: #2563eb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 25%);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 2rem;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.3;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-hover);
}

ul {
    list-style-type: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

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

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    70% { opacity: 0.7; transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(-30px); }
    70% { opacity: 0.7; transform: translateX(5px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--glow-color); }
    50% { box-shadow: 0 0 15px 5px var(--glow-color); }
    100% { box-shadow: 0 0 0 0 var(--glow-color); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px var(--glow-color); }
    50% { text-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color); }
    100% { text-shadow: 0 0 5px var(--glow-color); }
}

@keyframes borderGlow {
    0% { border-color: var(--accent-color); }
    50% { border-color: #60a5fa; box-shadow: 0 0 20px rgba(96, 165, 250, 0.5); }
    100% { border-color: var(--accent-color); }
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: 1fr 2fr;
    }
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideIn 0.6s ease-out 0.2s both;
}

.profile-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 0 var(--glass-highlight),
                0 0 20px 5px rgba(59, 130, 246, 0.2);
    transform: translateY(-10px);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 
                0 15px 20px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-image:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: #60a5fa;
    box-shadow: 0 0 25px 5px var(--glow-color);
    animation: borderGlow 3s infinite;
}

.profile-header h1 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    background: var(--accent-glow);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.title {
    color: var(--text-secondary);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.role-switcher {
    display: inline-block;
    position: relative;
    margin-right: 0.3rem;
    color: var(--text-secondary);
}

.role {
    display: inline-block;
    transition: all 0.3s ease;
}

.role.frontend {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-color);
    opacity: 0;
    transform: translateY(100%);
}

.title:hover .role.software {
    opacity: 0;
    transform: translateY(-100%) scale(0.8);
}

.title:hover .role.frontend {
    opacity: 1;
    transform: translateY(0) scale(1.1);
}

.developer {
    font-weight: bold;
    color: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.title:hover .developer {
    color: #60a5fa;
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--glow-color);
    animation: glow 2s infinite;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    transition: all 0.3s ease;
}

.social-links:hover {
    box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.4);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 0.8rem;
    background-color: rgba(10, 10, 19, 0.6);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 25px -5px var(--glow-color);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    animation: pulse 2s infinite;
}

.command-button {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--card-border);
    color: var(--accent-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
}

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

.command-button:hover {
    transform: translateY(-8px) scale(1.03);
    background-color: rgba(17, 24, 39, 0.95);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
                0 0 25px 0px var(--glow-color);
}

.command-button:hover::before {
    animation: shimmer 1.5s infinite;
}

.command-button span {
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.command-button.active {
    background: var(--accent-glow);
    color: white;
}

/* About Section */
.about-section {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.about-section:hover {
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 0 var(--glass-highlight);
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-glow);
    border-radius: 3px;
}

.about-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1rem;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.about-content p span {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.about-content p span:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--glow-color);
}

/* Skills Section */
.skills-container {
    margin-top: 2rem;
}

.skills-container h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.skills-container h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-glow);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.skill-item i {
    font-size: 2.2rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.skill-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.skill-item:hover i {
    transform: scale(1.2) rotate(5deg);
    animation: glow 2s infinite;
}

/* Specific skill item icon colors */
.skill-item .fa-html5,
.skill-item .fa-css3-alt,
.skill-item .fa-js,
.skill-item .fa-git-alt,
.skill-item .fa-github,
.skill-item .fa-figma {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.skill-item:hover .fa-html5,
.skill-item:hover .fa-css3-alt,
.skill-item:hover .fa-js,
.skill-item:hover .fa-git-alt,
.skill-item:hover .fa-github,
.skill-item:hover .fa-figma {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--glow-color);
}

/* Projects Section */
.projects-section {
    grid-column: 1 / -1;
    margin-top: 2rem;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.projects-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.projects-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-glow);
    border-radius: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    padding: 1.8rem;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 5px;
    background: var(--accent-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    border-radius: 5px 5px 0 0;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.5),
                0 0 30px 0px var(--glow-color);
}

.project-card:hover::before {
    transform: scaleX(1);
    animation: borderGlow 3s infinite;
}

.project-card:hover .project-header i {
    animation: pulse 2s infinite;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.project-header i {
    font-size: 1.3rem;
    color: var(--accent-color);
    background-color: rgba(59, 130, 246, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-header h3 {
    flex-grow: 1;
    font-size: 1.3rem;
    position: relative;
    transition: all 0.3s ease;
}

.project-link {
    color: var(--accent-color);
    background-color: rgba(59, 130, 246, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px -2px var(--glow-color);
}

.project-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 10px;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
    padding-top: 3px;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.project-card:hover .project-description {
    border-left-color: var(--accent-color);
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
}

.project-features li:hover {
    background-color: rgba(59, 130, 246, 0.08);
    transform: translateX(5px);
}

.project-features li i {
    color: var(--accent-color);
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.tech-badge {
    background-color: rgba(10, 10, 19, 0.5);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(31, 41, 55, 0.3);
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px -3px var(--glow-color);
}

/* Light theme overrides */
body.light-theme {
    --bg-primary: #f5f7fa;
    --bg-secondary: #edf2f7;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --card-border: rgba(203, 213, 224, 0.5);
    --hover-color: #e2e8f0;
    --glow-color: rgba(59, 130, 246, 0.2);
}

/* Add a nice scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

/* Education Section */
.education-section {
    grid-column: 1 / -1;
    margin-top: 2rem;
    animation: slideUp 0.8s ease-out 0.7s both;
}

.education-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.education-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-glow);
    border-radius: 4px;
}

.education-item {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    padding: 1.8rem;
    border: 1px solid var(--card-border);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 5px;
    background: var(--accent-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    border-radius: 5px 5px 0 0;
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4),
                0 0 25px -5px var(--glow-color);
}

.education-item:hover::before {
    transform: scaleX(1);
}

.education-icon {
    background-color: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.education-item:hover .education-icon {
    background-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px -2px var(--glow-color);
}

.education-item:hover .education-icon i {
    color: white;
}

.education-content {
    flex-grow: 1;
}

.education-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.education-item:hover .education-content h3 {
    color: var(--accent-color);
}

.education-program {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.education-date {
    display: inline-block;
    background-color: rgba(10, 10, 19, 0.3);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(31, 41, 55, 0.3);
    transition: all 0.3s ease;
}

.education-item:hover .education-date {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-color: rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .education-item {
        flex-direction: column;
    }
    
    .education-icon {
        margin-bottom: 1rem;
    }
}

/* Particles Effect */
.particle {
    position: fixed;
    background-color: var(--accent-color);
    opacity: 0.3;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: float linear infinite, pulseOpacity 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(15px) rotate(5deg); }
    50% { transform: translateY(-60px) translateX(-15px) rotate(0deg); }
    75% { transform: translateY(-30px) translateX(-25px) rotate(-5deg); }
    100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

@keyframes pulseOpacity {
    0% { opacity: 0.2; }
    50% { opacity: 0.5; }
    100% { opacity: 0.2; }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 0 var(--glass-highlight),
                0 0 0 1px var(--card-border);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

/* Dialog for particle density */
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dialog-content {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    width: 350px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 0 var(--glass-highlight);
}

.dialog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.slider {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--bg-secondary), var(--accent-color));
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 1.5rem 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 0 10px 0 var(--glow-color);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.density-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.apply-button {
    background: var(--accent-glow);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 0;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px -5px var(--glow-color);
}

.apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -5px var(--glow-color);
}

/* Remove theme-toggle styles */
.theme-toggle, .theme-picker, .color-menu, .color-menu-header, 
.color-grid, .color-item, .theme-picker-header, .close-btn, 
.theme-grid, .theme-item, .theme-preview, .preview-card {
    display: none !important;
}

/* Apply accent color to the user's name */
.name {
    color: var(--accent-color) !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Apply accent color to section titles */
.section-title {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

/* Apply accent color to links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-hover);
}

/* Apply accent color to skill titles */
.skill-name {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Make the progress bars use accent color */
.progress-bar {
    background-color: var(--accent-color);
    height: 100%;
    width: 0;
    border-radius: 0.25rem;
    transition: width 1s ease-in-out;
}

/* Highlight keywords in about section */
.about-content p span {
    color: var(--accent-color);
    font-weight: 600;
}

/* Section title and underline styles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--underline-color, var(--accent-color));
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                background-color 0.3s ease;
}

.section-title:hover::after {
    transform: scaleX(1.1);
    background-image: linear-gradient(90deg, var(--accent-color), #60a5fa, var(--accent-color));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Add scroll-triggered animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Staggered animation for skills */
.skills-grid .skill-item {
    opacity: 0;
    transform: translateY(20px);
}

.skills-grid.animated .skill-item {
    animation: staggeredFadeIn 0.5s forwards;
}

.skills-grid.animated .skill-item:nth-child(1) { animation-delay: 0.1s; }
.skills-grid.animated .skill-item:nth-child(2) { animation-delay: 0.2s; }
.skills-grid.animated .skill-item:nth-child(3) { animation-delay: 0.3s; }
.skills-grid.animated .skill-item:nth-child(4) { animation-delay: 0.4s; }
.skills-grid.animated .skill-item:nth-child(5) { animation-delay: 0.5s; }
.skills-grid.animated .skill-item:nth-child(6) { animation-delay: 0.6s; }
.skills-grid.animated .skill-item:nth-child(7) { animation-delay: 0.7s; }
.skills-grid.animated .skill-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes staggeredFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Enhanced Command Button Animation */
.command-button:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Futuristic Glow Effects */
@keyframes cyberGlow {
  0% { text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color); filter: brightness(1); }
  50% { text-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color), 0 0 40px var(--accent-color); filter: brightness(1.2); }
  100% { text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color); filter: brightness(1); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes holographicShimmer {
  0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
  50% { background-position: 100% 50%; filter: hue-rotate(30deg); }
  100% { background-position: 0% 50%; filter: hue-rotate(0deg); }
}

@keyframes dataFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@keyframes glitchText {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes matrixRain {
  0% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

/* Add futuristic scanline effect */
.container::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  opacity: 0.3;
  z-index: 1000;
  pointer-events: none;
  animation: scanline 3s linear infinite;
}

/* Enhance profile card with futuristic effects */
.profile-card {
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  animation: rotate 15s linear infinite;
  z-index: -1;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.2), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: holographicShimmer 3s linear infinite;
}

.profile-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.5), transparent) border-box;
}

/* Enhanced profile image with holographic effect */
.profile-image {
  position: relative;
}

.profile-image::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3b82f6, #60a5fa, #93c5fd, #60a5fa, #3b82f6);
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: holographicShimmer 3s linear infinite;
}

.profile-image:hover::before {
  opacity: 0.7;
}

.profile-image:hover {
  animation: levitate 2s ease-in-out infinite;
}

/* Enhanced name glow effect */
.name {
  animation: cyberGlow 2s ease-in-out infinite;
}

/* Enhanced role switching animation */
.role.frontend {
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: holographicShimmer 3s linear infinite;
}

/* Add data stream effect to project cards */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.03), transparent);
  background-size: 100px 100px, 200% 200%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 1;
  transition: opacity 0.3s ease;
  animation: dataFlow 20s linear infinite;
}

.project-card:hover::after {
  opacity: 0.5;
}

/* Add glowing border to project cards */
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.2rem;
  padding: 1px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% auto;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: holographicShimmer 3s linear infinite;
}

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

/* Enhanced project tech badges */
.tech-badge {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.tech-badge:hover::before {
  left: 100%;
  transition: left 0.7s ease;
}

.project-card:hover .tech-badge {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px -3px rgba(59, 130, 246, 0.3);
}

/* Enhance skill items with futuristic effects */
.skill-item i {
  position: relative;
}

.skill-item i::before {
  position: relative;
  z-index: 2;
}

.skill-item i::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  filter: blur(10px);
}

.skill-item:hover i::after {
  opacity: 0.3;
}

.skill-item:hover i {
  animation: cyberGlow 2s ease-in-out infinite;
}

/* Enhanced section titles with glitch effect */
.section-title:hover {
  animation: glitchText 0.3s ease-in-out;
}

/* Enhanced particles */
.particle {
  box-shadow: 0 0 5px var(--accent-color);
}

.particle:nth-child(5n+1) {
  animation-name: matrixRain, pulseOpacity;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

/* Enhanced command button with futuristic design */
.command-button {
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.command-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.command-button:hover::after {
  opacity: 1;
}

/* Enhanced social icons with digital effect */
.social-icon {
  position: relative;
  overflow: hidden;
}

.social-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(59, 130, 246, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotate 3s linear infinite;
}

.social-icon:hover::after {
  opacity: 1;
}

/* Enhanced title effect with futuristic animation */
.title {
  position: relative;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  transition: width 0.3s ease;
}

.title:hover::after {
  width: 100%;
  animation: holographicShimmer 3s linear infinite;
}

/* Holographic borders for education items */
.education-item {
  position: relative;
}

.education-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.2rem;
  padding: 1px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% auto;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: holographicShimmer 3s linear infinite;
}

.education-item:hover::before {
  opacity: 1;
}

/* Digital rain effect for backgrounds */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(59, 130, 246, 0.03) 75%, rgba(0, 0, 0, 0) 100%);
  background-size: 100% 20px;
  pointer-events: none;
  z-index: -1;
  animation: matrixRain 10s linear infinite;
}

/* Futuristic scroll indicator */
body::after {
  content: '';
  position: fixed;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
  opacity: 0.3;
  border-radius: 3px;
  pointer-events: none;
}

/* Hide default cursor */
body, a, button, .project-card, .skill-item, .social-icon, .education-item, .command-button {
    cursor: none !important;
}

/* Cursor bubbles animation - smaller and smoother */
@keyframes bubbleFloat {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    15% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.7;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) translate(calc(var(--rand-x, 0) * 50px), calc(var(--rand-y, -1) * 70px)) scale(0.2);
        opacity: 0;
    }
}

.cursor-bubble {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 9999;
    opacity: 0;
    animation: bubbleFloat 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    box-shadow: 0 0 4px 1px var(--accent-color-transparent);
    will-change: transform, opacity;
}

.cursor-dot {
    filter: drop-shadow(0 0 8px var(--accent-color));
    z-index: 10000;
}

.cursor-ring {
    backdrop-filter: blur(2px);
    z-index: 9999;
}

/* Mobile responsiveness - disable card animations */
@media screen and (max-width: 768px) {
    .profile-card, .project-card, .education-item {
        transform: none !important;
        transition: none !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
    }
    
    .card-shine {
        display: none !important;
    }
    
    /* Fallback hover state for mobile */
    .project-card:hover, .education-item:hover, .profile-card:hover {
        transform: translateY(-5px) !important;
        transition: transform 0.3s ease !important;
    }
} 