:root {
    --primary-color: #0a0a1f;
    --secondary-color: #1a1a3f;
    --accent-color: #7000ff;
    --text-color: #ffffff;
    --gradient-1: linear-gradient(45deg, #7000ff, #bf00ff);
    --gradient-2: linear-gradient(135deg, #7000ff, #00ffff);
    --neon-shadow: 0 0 10px rgba(112, 0, 255, 0.5),
                   0 0 20px rgba(112, 0, 255, 0.3),
                   0 0 30px rgba(112, 0, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: none;
}

/* Particle Effect */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particle-animation 3s ease-out infinite;
}

@keyframes particle-animation {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(112, 0, 255, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crown-left, .crown-right {
    font-size: 1.5rem;
    animation: crown-bounce 2s infinite;
}

.crown-right {
    animation-delay: 1s;
}

@keyframes crown-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--secondary-color), var(--primary-color));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%237000ff' fill-opacity='0.1'%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");
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: var(--neon-shadow);
    position: relative;
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                     -0.05em -0.025em 0 rgba(0,255,0,0.75),
                     -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                     -0.05em -0.025em 0 rgba(0,255,0,0.75),
                     -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75),
                     0.025em 0.025em 0 rgba(0,255,0,0.75),
                     -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75),
                     0.025em 0.025em 0 rgba(0,255,0,0.75),
                     -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75),
                     0.05em 0 0 rgba(0,255,0,0.75),
                     0 -0.05em 0 rgba(0,0,255,0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75),
                     0.05em 0 0 rgba(0,255,0,0.75),
                     0 -0.05em 0 rgba(0,0,255,0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255,0,0,0.75),
                     -0.025em -0.025em 0 rgba(0,255,0,0.75),
                     -0.025em -0.05em 0 rgba(0,0,255,0.75);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Interactive Piano */
.interactive-piano {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.piano-key {
    width: 40px;
    height: 150px;
    background: white;
    border-radius: 0 0 5px 5px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.piano-key.black {
    width: 30px;
    height: 100px;
    background: black;
    margin: 0 -15px;
    z-index: 2;
}

.piano-key:hover {
    transform: translateY(5px);
    box-shadow: var(--neon-shadow);
}

/* Sections Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-line {
    width: 100px;
    height: 3px;
    background: var(--gradient-1);
    margin: 1rem auto;
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skills {
    margin-top: 2rem;
}

.skill {
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress {
    height: 100%;
    background: var(--gradient-1);
    animation: progressFill 1.5s ease-out;
}

/* Performance Cards */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

.performance-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.performance-card:hover::before {
    opacity: 0.1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.performance-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact {
    padding: 8rem 5%;
    background: var(--secondary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-shadow);
}

/* Footer */
footer {
    padding: 2rem;
    background: var(--primary-color);
    text-align: center;
    border-top: 1px solid rgba(112, 0, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes progressFill {
    from { width: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Additional Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 31, 0.95);
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.submit-btn.success {
    background: linear-gradient(45deg, #00ff00, #00aa00);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .interactive-piano {
        transform: scale(0.8);
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Performance Card Additional Styles */
.performance-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(112, 0, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.watch-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.watch-btn:hover {
    transform: translateY(15px);
    box-shadow: var(--neon-shadow);
}

/* Form Input Focus Effects */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.2);
}

/* Social Links Hover Effects */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-2px);
    box-shadow: var(--neon-shadow);
}


/* Audio Player Styles */
.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 10, 31, 0.95);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(112, 0, 255, 0.2);
    transition: all 0.3s ease;
    max-width: 300px;
}

.audio-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.5);
}

.audio-player-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.song-title {
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause {
    background: var(--gradient-1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-pause:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.5);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.5);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s linear;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .audio-player {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}