* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #00d4ff;
    --bg-dark: #0a0e27;
    --bg-darker: #060919;
    --bg-card: #111638;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #1e2749;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 14, 39, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 5px; font-size: 1.5rem; font-weight: 700; }
.logo-text { color: var(--text-primary); }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--gradient-primary); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; transition: transform 0.3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: transparent; color: var(--text-primary); text-decoration: none; border-radius: 8px; font-weight: 600; border: 2px solid var(--border-color); transition: all 0.3s; cursor: pointer; }
.btn-secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--text-primary); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px); background-size: 50px 50px; pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 20px; font-size: 0.875rem; font-weight: 600; color: var(--primary-color); margin-bottom: 20px; }
.badge-dot { width: 8px; height: 8px; background: var(--primary-color); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.highlight { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-social { display: flex; align-items: center; gap: 15px; }
.hero-social span { color: var(--text-secondary); font-size: 0.875rem; }
.social-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-secondary); text-decoration: none; transition: all 0.3s; }
.social-link:hover { background: var(--primary-color); color: white; transform: translateY(-3px); }

/* HERO IMAGE */
.hero-image { position: relative; z-index: 1; }
.image-container { position: relative; width: 100%; max-width: 450px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

.profile-frame {
    position: relative; width: 100%; height: 450px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 50%, #ff006e 100%);
    border-radius: 40px; padding: 4px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: borderGlow 3s ease-in-out infinite;
}
@keyframes borderGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 0 0 40px rgba(123, 44, 191, 0.2); }
    50% { box-shadow: 0 20px 60px rgba(0, 212, 255, 0.5), 0 0 60px rgba(123, 44, 191, 0.4), 0 0 80px rgba(255, 0, 110, 0.2); }
}

.profile-img {
    width: calc(100% - 8px); height: calc(100% - 8px);
    object-fit: cover; border-radius: 36px;
    position: relative; z-index: 2; background: white; margin: 4px;
}

.glow-effect {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%; animation: pulseGlow 4s ease-in-out infinite; z-index: 0;
}
@keyframes pulseGlow { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; } }

.deco-circle {
    position: absolute; border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border: 2px solid rgba(0, 212, 255, 0.2); z-index: 0;
}
.deco-circle-1 { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: rotate 20s linear infinite; }
.deco-circle-2 { width: 550px; height: 550px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(123, 44, 191, 0.15); animation: rotate 25s linear infinite reverse; }
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.floating-badge {
    position: absolute; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); z-index: 3; animation: badgeFloat 4s ease-in-out infinite;
}
.badge-top-left { top: 20px; left: -20px; animation-delay: 0s; }
.badge-top-right { top: 60px; right: -40px; animation-delay: 1s; }
.badge-bottom-left { bottom: 100px; left: -30px; animation-delay: 2s; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } }
.badge-icon { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: #0a0e27; }
.badge-icon i { color: #00d4ff; }

.floating-card {
    position: absolute; bottom: -30px; right: -30px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 16px;
    padding: 20px; display: flex; gap: 15px; align-items: center; z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); animation: cardFloat 3s ease-in-out infinite;
}
@keyframes cardFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.card-icon {
    width: 50px; height: 50px; background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.card-label { font-size: 0.75rem; color: #5A5E66; }
.card-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 5px; color: #0a0e27; }
.card-link { font-size: 0.75rem; color: var(--primary-color); text-decoration: none; font-weight: 600; }

/* SECTIONS */
section { padding: 100px 0; }
.section-badge { display: inline-block; padding: 6px 12px; background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: var(--primary-color); letter-spacing: 1px; margin-bottom: 15px; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.section-header { text-align: center; margin-bottom: 60px; }

/* ABOUT */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-description { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 30px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; }
.stat-number { font-size: 2.5rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; transition: all 0.3s; }
.feature-item:hover { border-color: var(--primary-color); transform: translateX(10px); }
.feature-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: white; flex-shrink: 0; }
.feature-content h4 { font-size: 1.125rem; margin-bottom: 5px; }
.feature-content p { color: var(--text-secondary); font-size: 0.875rem; }

/* SERVICES */
.services { background: var(--bg-darker); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px 30px; transition: all 0.3s; }
.service-card:hover { border-color: var(--primary-color); transform: translateY(-10px); }
.service-icon { width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.service-card p { color: var(--text-secondary); margin-bottom: 20px; }
.service-link { color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; }

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
.skill-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 20px; text-align: center; transition: all 0.3s; }
.skill-item:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.skill-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.skill-name { font-size: 0.875rem; font-weight: 600; }

/* PROJECTS */
.projects { background: var(--bg-darker); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.project-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.project-card:hover { border-color: var(--primary-color); transform: translateY(-10px); }
.project-image { height: 200px; background: var(--bg-darker); display: flex; align-items: center; justify-content: center; }
.project-placeholder { font-size: 4rem; color: var(--primary-color); opacity: 0.5; }
.project-content { padding: 30px; position: relative; }
.project-content h3 { font-size: 1.25rem; margin-bottom: 15px; }
.project-content p { color: var(--text-secondary); margin-bottom: 20px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tag { padding: 6px 12px; background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--primary-color); }
.project-link { position: absolute; top: 30px; right: 30px; width: 40px; height: 40px; background: var(--bg-darker); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; }
.project-link:hover { background: var(--primary-color); color: white; }

/* CONTACT */
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.contact-item { display: flex; align-items: center; gap: 15px; color: var(--text-secondary); }
.contact-item i { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }
.contact-form-wrapper { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; background: var(--bg-darker); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary); font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.full-width { width: 100%; justify-content: center; }

/* FOOTER */
.footer { background: var(--bg-darker); border-top: 1px solid var(--border-color); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-description, .copyright { color: var(--text-secondary); margin-top: 15px; font-size: 0.875rem; }
.footer-links h4 { margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--primary-color); }

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero .container, .about-content, .contact-content, .footer-content { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .floating-badge { display: none; }
    .profile-frame { height: 350px; }
}

/* ============================================ */
/* AUDIO POPUP STYLES */
/* ============================================ */

.audio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 25, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.6s ease;
    padding: 20px;
    pointer-events: auto !important;
}

.audio-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.audio-modal {
    background: linear-gradient(145deg, #111638 0%, #0a0e27 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.1);
    animation: modalPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 100000 !important;
    pointer-events: auto !important;
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.audio-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: discSpin 4s linear infinite;
}

.audio-icon::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: discSpin 3s linear infinite reverse;
}

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

.audio-icon i {
    font-size: 2.5rem;
    color: #d4af37;
    z-index: 2;
    animation: iconPulse 2s ease-in-out infinite;
}

.audio-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.audio-modal h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 800;
    line-height: 1.2;
}

.audio-modal p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1rem;
    line-height: 1.6;
}

.audio-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-audio-play, .btn-audio-skip {
    position: relative;
    z-index: 100001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.btn-audio-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #0a0e27;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-audio-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-audio-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-audio-skip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.audio-note {
    font-size: 0.8rem;
    color: rgba(160, 174, 192, 0.6);
    font-style: italic;
}

/* Floating Audio Button */
.floating-audio-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #0a0e27;
    border: none;
    cursor: pointer;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.floating-audio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.floating-audio-btn.muted {
    background: #333;
    color: #aaa;
    box-shadow: none;
}

.floating-audio-btn.playing {
    animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(212, 175, 55, 0.8); }
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .audio-modal {
        padding: 40px 25px;
    }
    .audio-modal h3 {
        font-size: 1.5rem;
    }
    .audio-icon {
        width: 80px;
        height: 80px;
    }
    .audio-icon i {
        font-size: 2rem;
    }
}