* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #050818;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1230;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #0066ff, #00ccff);
    border-radius: 4px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #0066ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 204, 255, 0.6)); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #0066ff, #00ccff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00ccff;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, rgba(5, 8, 24, 0.9) 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 102, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 204, 255, 0.05) 50%, transparent 70%);
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #0066ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #00ccff;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    color: #b3ccff;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button {
    background: linear-gradient(45deg, #0066ff, #00ccff);
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button.secondary {
    background: transparent;
    color: #00ccff;
    border: 2px solid #00ccff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffffff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #b3ccff;
    line-height: 1.8;
}

.about-text h3 {
    color: #00ccff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: rgba(0, 102, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.2);
}

.skill-item .skill-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(0, 51, 153, 0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #0066ff, #00ccff);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.project-header {
    padding: 2rem;
    background: rgba(0, 102, 255, 0.15);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ccff;
}

.project-content {
    padding: 2rem;
}

.project-description {
    color: #b3ccff;
    margin-bottom: 1.5rem;
}

.project-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-status.in-progress {
    background: rgba(51, 102, 255, 0.2);
    color: #6699ff;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #00ccff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(0, 102, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

.project-link:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #0066ff, #00ccff);
    transform: translateX(5px);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: rgba(0, 51, 153, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 102, 255, 0.15);
    transform: translateY(-5px);
}

.contact-item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ccff;
}

.contact-item a {
    color: #b3ccff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00ccff;
}

#discord-bot {
    background: rgba(0, 51, 153, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.bot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(0, 102, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

#web-projects {
    background: rgba(0, 51, 153, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.web-projects-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.web-project-item {
    background: rgba(0, 102, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.web-project-item:hover {
    transform: translateX(10px);
    box-shadow: -10px 0 20px rgba(0, 102, 255, 0.2);
}

footer {
    background: rgba(5, 8, 24, 0.8);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .web-project-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}