:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: #ededed;
    --main-color: #a070ff;
    --glow-color: rgba(160, 112, 255, 0.3);
    --glass-bg: rgba(20, 20, 20, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

#cursor-glow {
    display: none;
}

#pixel-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.logo {
    font-size: 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
}

.logo span {
    color: var(--main-color);
}

.navbar a {
    font-size: 18px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

section {
    min-height: 100vh;
    padding: 10rem 10% 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-section {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero {
    text-align: center;
}

.hero-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: #a0a0a0;
}

#role {
    color: var(--main-color);
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    text-decoration: none;
    margin: 0 7px 30px 7px;
    transition: 0.5s ease;
}

.social-links a:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--main-color);
    border-radius: 40px;
    box-shadow: 0 0 10px var(--main-color);
    font-size: 16px;
    color: var(--second-bg-color);
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
}

.about, .projects, .contact, .experience {
    background: transparent;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-wrapper {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    width: 100%;
    max-width: 1200px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title span {
    color: var(--main-color);
}

.about-content {
    max-width: 800px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card .project-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.project-card:hover .project-layer {
    transform: translateY(0);
}

.project-layer h4 {
    font-size: 1.8rem;
}

.project-layer p {
    font-size: 1rem;
    margin: 0.3rem 0 1rem;
}

.project-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--text-color);
    border-radius: 50%;
    color: var(--second-bg-color);
    font-size: 1.5rem;
}

.contact {
    text-align: center;
}

.contact-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.footer {
    padding: 1.5rem 10%;
    text-align: center;
    font-size: 0.9rem;
    color: #a0a0a0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
}

.skill-category {
    background: var(--bg-color);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(160, 112, 255, 0.2);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-align: center;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.skill-category ul li::before {
    content: '▹';
    color: var(--main-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--main-color);
    top: 0;
    bottom: 0;
    left: 15px; 
}

.timeline-item {
    padding: 10px 40px;
    padding-left: 50px;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    right: auto;
    left: 8px;
    top: 22px;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--bg-color);
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #a0a0a0;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.project-content {
    position: relative;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tech span {
    background: var(--second-bg-color);
    color: var(--main-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--main-color);
}

.project-content a {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--text-color);
    border-radius: 50%;
    color: var(--second-bg-color);
    font-size: 1.3rem;
    transition: background-color 0.3s, color 0.3s;
}

.project-content a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .header {
        padding: 20px 5%;
    }
    .navbar {
        display: none;
    }
    section {
        padding: 8rem 5% 2rem;
    }
     .content-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .section-wrapper {
        padding: 2rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content h3 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
}