:root {
    --primary-color: #7b68ee;
    --secondary-color: #00e5ff;
    --accent-color: #00ff9d;
    --text-color: #ffffff;
    --light-bg: #0f0f1a;
    --dark-bg: #070710;
    --card-bg: #1a1a2e;
    --gradient-1: linear-gradient(135deg, #7b68ee, #00e5ff);
    --gradient-2: linear-gradient(135deg, #00e5ff, #00ff9d);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    transition: transform 0.3s ease;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    position: absolute;
    left: 2rem;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-bg), #0f0f1a);
    color: white;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.name-display {
    text-align: center;
    margin-bottom: 2rem;
}

.main-name {
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(123, 104, 238, 0.4);
    animation: fadeInUp 1s ease;
}

.name-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 0.5rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn.primary {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* About Section */
.about-content {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skill-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(123, 104, 238, 0.1);
    max-width: 300px;
    margin: 0 auto;
}

.skill-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.skill-card i {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-content {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    text-align: center;
}

.email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--dark-bg);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(123, 104, 238, 0.1);
    max-width: 400px;
    margin: 2rem auto;
}

.email-container:hover {
    border-color: var(--primary-color);
}

.email-container i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.email-container a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.email-container a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--dark-bg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(123, 104, 238, 0.1);
}

.social-links a:hover {
    border-color: var(--primary-color);
    background: var(--gradient-1);
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    body {
        margin-right: 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Main Content Wrapper */
.main-content {
    margin-right: 300px;
    transition: transform 0.3s ease;
    width: calc(100% - 300px);
    position: relative;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    left: 0;
    top: 0;
    box-shadow: 0 0 0 2px var(--dark-bg);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    left: 0;
    top: 0;
    opacity: 0.5;
    transform: translate(-50%, -50%);
}

/* Side Panel */
.side-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--card-bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.profile-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.profile-info {
    text-align: center;
    color: var(--text-color);
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.profile-info .title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.side-panel .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.side-panel .social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.side-panel .social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Section Content */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}