@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #333;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-glow {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px 5px #fff;
    animation: pulse 2s infinite;
}

.nav-brand h1 {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 4rem 0;
}

.profile-container {
    position: relative;
    margin-bottom: 3rem;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    filter: blur(40px);
    opacity: 0.1;
    animation: glow-pulse 3s infinite;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.profile-img:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

.typewriter {
    margin-bottom: 3rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter p {
    font-size: 1.2rem;
    color: #ccc;
    border-right: 2px solid #fff;
    padding-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    border: 1px solid #333;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::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: left 0.5s ease;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.social-card i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.social-card:hover i {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.social-card span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border: 1px solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: bottom 0.4s ease;
}

.notification.show {
    bottom: 30px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px 5px #fff;
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 30px 10px #fff;
        opacity: 0.8;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #fff }
}

.volbox{
    width:100%;
    display:flex;
    justify-content:center;
    padding:1.5rem 0;
}

#vol{
    -webkit-appearance:none;
    width:200px;
    height:4px;
    background:#333;
    border-radius:5px;
    outline:none;
}

#vol::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:14px;
    height:14px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 0 10px rgba(255,255,255,0.5);
    cursor:pointer;
}

#vol::-moz-range-thumb{
    width:14px;
    height:14px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 0 10px rgba(255,255,255,0.5);
    cursor:pointer;
}

.projects {
    padding: 4rem 0;
    text-align: center;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: left;
}

.project-card:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.project-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.project-card pre {
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.project-card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-img {
        width: 140px;
        height: 140px;
    }
    
    .profile-glow {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .typewriter p {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
}
