:root {
    --bg-color: #0a0a0a;
    --primary-color: #00ff00;
    --secondary-color: #00ffff;
    --accent-color: #ff00ff;
    --text-color: #e6e6e6;
    --text-secondary: #a0a0a0;
    --bg-gradient: linear-gradient(135deg, rgba(0,255,0,0.1) 0%, rgba(0,255,255,0.1) 50%, rgba(255,0,255,0.1) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* Terminal Cursor Blink */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Matrix Rain Effect */
@keyframes matrixRain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 4rem 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.1) 0px,
        rgba(0, 255, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    position: relative;
}

.name {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--primary-color);
    animation: glitch 2s infinite;
}

.nickname {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.nickname::after {
    content: '_';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

.title {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    animation: expand 2s forwards;
}

@keyframes expand {
    to {
        transform: scaleX(1);
    }
}

.hero-text {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Sections */
.section {
    padding: 8rem 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

/* About Section */
.about-content {
    font-size: 1.1rem;
    max-width: 800px;
    color: var(--text-secondary);
}

.about-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 2rem;
}

.about-list li {
    margin: 1rem 0;
    position: relative;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.about-list li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.about-list li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: -2rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.skill-category {
    background: rgba(0, 255, 0, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    margin: 1rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.skills-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.skills-list li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-color);
}

.email {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.email:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -15px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-color);
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 3.5rem;
    }
    
    .nickname {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
