/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #000000 0%, #000080 50%, #000000 100%);
    color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 0, 128, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 128, 0.2) 0%, transparent 50%);
    z-index: -2;
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(0, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.1);
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 140px 20px 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 2s ease forwards;
}

.profile-container {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #000080, #00ffff, #000080, #000000);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.profile-pic {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    border: 4px solid rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 255, 0.2);
    animation: bounceIn 2s ease forwards;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 255, 255, 0.3);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.title {
    font-size: 3rem;
    margin: 30px 0 20px;
    opacity: 0;
    background: linear-gradient(45deg, #00ffff, #ffffff, #00ffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: typeEffect 2.5s steps(20) forwards, gradientShift 3s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

@keyframes typeEffect {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 2.5s ease 1s forwards;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

/* Intro Stats */
.intro-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 2.5s ease 1.5s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 80px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text h3 i {
    font-size: 1.2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.about-text strong {
    color: #00ffff;
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-icon i {
    font-size: 1.5rem;
    color: #00ffff;
}

.stat-info h4 {
    font-size: 1.1rem;
    color: #00ffff;
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Skills Section */
.skills {
    padding: 80px 20px;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #00ffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    font-size: 1.2rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Projects Section */
.projects {
    padding: 80px 20px;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 300;
}

.project-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Links Section */
.links {
    padding: 80px 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 20px;
    color: white;
    text-decoration: none;
    width: 160px;
    height: 160px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
}

.card h2 {
    font-size: 1rem;
    margin-top: 12px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card i {
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Specific Card Colors with Original Brand Colors */
.card.youtube {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.8), rgba(200, 0, 0, 0.6));
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.card.youtube:hover {
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 0, 0, 0.3);
}

.card.instagram {
    background: linear-gradient(135deg, 
        rgba(245, 133, 41, 0.8), 
        rgba(221, 42, 123, 0.8), 
        rgba(129, 52, 175, 0.8), 
        rgba(81, 91, 212, 0.8));
    border: 1px solid rgba(221, 42, 123, 0.3);
}

.card.instagram:hover {
    border-color: rgba(221, 42, 123, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(221, 42, 123, 0.3);
}

.card.discord {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.8), rgba(88, 101, 242, 0.6));
    border: 1px solid rgba(114, 137, 218, 0.3);
}

.card.discord:hover {
    border-color: rgba(114, 137, 218, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(114, 137, 218, 0.3);
}

.card.website {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 255, 255, 0.6));
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.card.website:hover {
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 255, 255, 0.3);
}

.card.github {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.8), rgba(30, 30, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card.github:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.card.twitter {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.8), rgba(20, 136, 204, 0.6));
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.card.twitter:hover {
    border-color: rgba(29, 161, 242, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(29, 161, 242, 0.3);
}

.card.facebook {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.8), rgba(59, 89, 152, 0.6));
    border: 1px solid rgba(66, 103, 178, 0.3);
}

.card.facebook:hover {
    border-color: rgba(66, 103, 178, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(66, 103, 178, 0.3);
}

.card.telegram {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.8), rgba(0, 119, 181, 0.6));
    border: 1px solid rgba(0, 136, 204, 0.3);
}

.card.telegram:hover {
    border-color: rgba(0, 136, 204, 0.6);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 136, 204, 0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Scrolling Animations */
[data-animate="fade-in"] {
    opacity: 0;
    transform: translateY(50px);
}

.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 255, 255, 0.2);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    /* Intro */
    .intro {
        padding: 120px 20px 60px;
    }
    
    .profile-container {
        padding: 30px 20px;
    }
    
    .profile-pic {
        width: 140px;
        height: 140px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .intro-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Social Links */
    .social-links {
        gap: 20px;
    }
    
    .card {
        width: 140px;
        height: 140px;
        padding: 20px 15px;
    }
    
    .card h2 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card {
        width: 120px;
        height: 120px;
        padding: 15px 10px;
    }
    
    .card i {
        font-size: 2.5rem !important;
    }
    
    .skills-container,
    .projects-container,
    .about-container {
        padding: 20px;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
} 