* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #000000;
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    z-index: 100;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #81c784;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
        linear-gradient(135deg, #81c784, #4caf50) border-box;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.3), rgba(76, 175, 80, 0.3));
    opacity: 0;
    transition: opacity 0.5s;
}

.avatar:hover::before {
    opacity: 1;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.glitch {
    font-size: 4.5em;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    color: #fff;
    letter-spacing: -2px;
}

.nickname {
    font-size: 1.5em;
    color: #81c784;
    margin-bottom: 20px;
    font-weight: 600;
}
.nickname a {
    color: #81c784;
    text-decoration: none;
    transition: color 0.3s;
}
.role {
    font-size: 1.8em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.description {
    font-size: 1.2em;
    color: #a0a0a0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(129, 199, 132, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(129, 199, 132, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #81c784;
    border: 2px solid #81c784;
}

.btn-secondary:hover {
    background: rgba(129, 199, 132, 0.1);
    transform: translateY(-3px);
}

section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(129, 199, 132, 0.5);
    box-shadow: 0 20px 60px rgba(129, 199, 132, 0.3);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.skill-name {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.skill-desc {
    color: #a0a0a0;
    line-height: 1.6;
}

.project-showcase {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    max-width: 1000px;
    margin: 80px auto 0;
    transition: all 0.4s ease;
}

.project-showcase:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 234, 109, 0.3);
}

.project-header {
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.project-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.project-title {
    font-size: 2.8em;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.project-subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
}

.project-body {
    padding: 50px 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(129, 199, 132, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(129, 199, 132, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(129, 199, 132, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2em;
}

.feature-text {
    font-size: 1.1em;
    color: #e0e0e0;
}

.project-cta {
    text-align: center;
    padding: 40px;
    background: rgba(129, 199, 132, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    background: rgba(129, 199, 132, 0.1);
    border-color: rgba(129, 199, 132, 0.5);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.contact-text {
    color: #a0a0a0;
    word-break: break-all;
}

footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    text-align: center;
    color: #a0a0a0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Apps Slider */
.apps-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
    overflow: hidden;
    padding: 0 60px;
}

.apps-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.app-slide {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.app-slide:hover {
    transform: translateY(-10px);
    border-color: rgba(129, 199, 132, 0.5);
    box-shadow: 0 20px 60px rgba(129, 199, 132, 0.3);
}

.app-slide:hover::before {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: #fff;
    font-size: 24px;
}

.slider-btn:hover {
    background: rgba(129, 199, 132, 0.3);
    border-color: rgba(129, 199, 132, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9em;
    }

    .glitch {
        font-size: 2.5em;
    }

    .nickname {
        font-size: 1.2em;
    }

    .role {
        font-size: 1.3em;
    }

    .description {
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
    }

    .skills-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .avatar {
        width: 150px;
        height: 150px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    

    .apps-slider-container {
        padding: 0 40px;
    }

    .app-slide {
        min-width: calc(50% - 15px);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .apps-slider-container {
        padding: 0 30px;
    }

    .app-slide {
        min-width: 100%;
    }
}
