:root {
    --primary-color: #121212;
    --secondary-color: #6c5ce7;
    --accent-color: #00cec9;
    --light-color: #2d3436;
    --dark-color: #0d0d0d;
    --text-color: #e0e0e0;
    --text-light: #b2bec3;
    --section-padding: 5rem 2rem;
    --transition: all 0.3s ease;
    --glass-bg: rgba(25, 25, 35, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Background animation */
@keyframes animateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #fff, 134px 1321px #fff, 92px 859px #fff, 235px 1045px #fff, 366px 912px #fff, 491px 942px #fff, 14px 1831px #fff, 582px 476px #fff, 588px 1230px #fff, 1520px 1343px #fff, 1671px 203px #fff, 550px 341px #fff, 1491px 549px #fff, 558px 161px #fff, 896px 1823px #fff, 999px 1463px #fff, 1557px 636px #fff, 1754px 1307px #fff, 753px 1133px #fff, 1976px 1049px #fff, 1965px 1790px #fff, 1597px 1894px #fff, 1960px 1973px #fff, 1475px 1192px #fff, 835px 1163px #fff, 1432px 1557px #fff, 1938px 1475px #fff, 526px 1860px #fff, 1346px 1675px #fff, 1315px 1287px #fff, 1500px 1131px #fff, 1932px 898px #fff, 1679px 904px #fff, 1334px 1107px #fff, 1308px 1563px #fff, 1869px 1133px #fff, 1718px 1473px #fff, 693px 1299px #fff, 1478px 1417px #fff, 180px 1883px #fff, 1389px 979px #fff, 1996px 591px #fff, 1147px 470px #fff, 1694px 697px #fff, 1022px 1996px #fff, 1404px 1230px #fff, 1609px 128px #fff, 167px 1243px #fff, 1133px 1187px #fff, 475px 1917px #fff, 1296px 1496px #fff, 1613px 1239px #fff, 1166px 196px #fff, 1253px 341px #fff, 1898px 91px #fff, 1309px 1930px #fff, 1845px 1768px #fff, 1838px 1379px #fff, 246px 1251px #fff, 1534px 1710px #fff, 112px 1529px #fff, 1900px 442px #fff, 1523px 932px #fff, 81px 1458px #fff, 774px 1281px #fff, 1623px 1881px #fff, 1629px 1929px #fff, 1061px 193px #fff, 1595px 1193px #fff, 1350px 1447px #fff, 1609px 1501px #fff, 1305px 1790px #fff, 1578px 1044px #fff, 1103px 1057px #fff, 1855px 1904px #fff, 1766px 862px #fff, 1894px 1754px #fff, 1703px 1142px #fff, 1238px 1298px #fff, 761px 1047px #fff, 1434px 1983px #fff, 1195px 742px #fff, 1662px 1079px #fff, 1462px 504px #fff, 1309px 1989px #fff, 1069px 1182px #fff, 1035px 1283px #fff, 1554px 1129px #fff, 1091px 1100px #fff, 1840px 1479px #fff, 119px 1368px #fff, 1966px 711px #fff, 1830px 1241px #fff, 1142px 1891px #fff, 504px 1030px #fff, 1989px 1015px #fff, 1696px 1143px #fff, 1672px 60px #fff, 1431px 1749px #fff, 1556px 1104px #fff, 1123px 1846px #fff, 1510px 1675px #fff, 1976px 1964px #fff, 1863px 1362px #fff, 1414px 444px #fff, 1462px 1891px #fff, 1949px 1282px #fff, 1312px 1732px #fff, 1376px 1809px #fff, 1518px 1682px #fff, 1574px 1986px #fff, 1309px 724px #fff, 1035px 1510px #fff, 1420px 1752px #fff;
    animation: animateStar 100s linear infinite;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 1448px 173px #fff, 1468px 1345px #fff, 1906px 296px #fff, 832px 1955px #fff, 1983px 632px #fff, 1454px 1316px #fff, 1360px 1227px #fff, 1753px 1332px #fff, 1085px 107px #fff, 266px 1244px #fff, 289px 1687px #fff, 1527px 1761px #fff, 1063px 1070px #fff, 100px 507px #fff, 1954px 1762px #fff, 1894px 1788px #fff, 941px 278px #fff, 1545px 1292px #fff, 1355px 389px #fff, 1021px 1686px #fff, 1238px 1588px #fff, 872px 943px #fff, 1196px 1117px #fff, 1476px 1613px #fff, 1604px 1230px #fff, 529px 1399px #fff, 1105px 1424px #fff, 1624px 306px #fff, 1654px 1452px #fff, 1166px 1573px #fff, 1518px 1740px #fff, 1325px 308px #fff, 1518px 1139px #fff, 1360px 1147px #fff, 1053px 1657px #fff, 1954px 1208px #fff, 1591px 1293px #fff, 1261px 341px #fff, 1867px 1366px #fff, 1429px 1800px #fff;
    animation: animateStar 150s linear infinite;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 387px 1878px #fff, 760px 1564px #fff, 1487px 999px #fff, 948px 1828px #fff, 1977px 1001px #fff, 1284px 1963px #fff, 656px 284px #fff, 1268px 1635px #fff, 1820px 598px #fff, 642px 1900px #fff, 296px 57px #fff, 921px 1620px #fff, 1626px 1830px #fff, 1863px 52px #fff, 1853px 1272px #fff, 1551px 1434px #fff, 1908px 1826px #fff, 1923px 1225px #fff, 1474px 524px #fff, 1336px 1621px #fff, 1739px 1062px #fff, 1551px 86px #fff, 1345px 859px #fff, 1992px 1179px #fff, 1671px 1557px #fff, 188px 1369px #fff, 1257px 1880px #fff, 1387px 136px #fff, 1517px 1734px #fff, 1401px 128px #fff;
    animation: animateStar 200s linear infinite;
}

@keyframes animateStar {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Orbs Animation */
.orbs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    left: 10%;
    top: 20%;
    animation: float 25s ease-in-out infinite alternate, moveX 45s ease-in-out infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    right: 15%;
    top: 30%;
    animation: float 20s ease-in-out infinite alternate-reverse, moveX 50s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(253, 121, 168, 1); /* Pink */
    left: 30%;
    top: 50%;
    animation: float 30s ease-in-out infinite alternate, moveX 40s ease-in-out infinite alternate;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: rgba(85, 239, 196, 1); /* Mint */
    right: 25%;
    top: 70%;
    animation: float 22s ease-in-out infinite alternate-reverse, moveX 35s ease-in-out infinite alternate-reverse;
}

.orb-5 {
    width: 280px;
    height: 280px;
    background: rgba(129, 236, 236, 1); /* Light blue */
    left: 40%;
    top: 40%;
    animation: float 28s ease-in-out infinite alternate, moveX 48s ease-in-out infinite alternate;
}

.orb-6 {
    width: 320px;
    height: 320px;
    background: rgba(162, 155, 254, 1); /* Light purple */
    right: 35%;
    top: 60%;
    animation: float 26s ease-in-out infinite alternate-reverse, moveX 42s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-50px);
    }
    100% {
        transform: translateY(50px);
    }
}

@keyframes moveX {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        transform: translateX(-100px);
    }
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.9); /* More opaque to hide orbs */
    color: white;
    padding: 2rem 0;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
    z-index: 2;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    --gradientX: 25%;
    --gradientY: 25%;
    --moveX: 0px;
    --moveY: 0px;
}

header::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -100vw;
    right: -100vw;
    bottom: 20px;
    background: radial-gradient(circle at var(--gradientX) var(--gradientY), var(--secondary-color), var(--accent-color));
    filter: blur(60px);
    opacity: 0.25;
    z-index: -1;
    transform: translate(var(--moveX), var(--moveY));
    transition: transform 0.2s ease, background 0.3s ease;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.header-content h1 {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(108, 92, 231, 0.6), 0 0 5px rgba(0, 206, 201, 0.5);
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}



.header-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: rgba(108, 92, 231, 0.5);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn:hover {
    background-color: rgba(0, 206, 201, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navigation */
nav {
    background-color: rgba(25, 25, 35, 0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    display: block;
    padding: 1rem;
    color: white;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: var(--section-padding);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 0 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: rgba(25, 25, 35, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background-color: rgba(25, 25, 35, 0.35);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
    background-color: rgba(25, 25, 35, 0.5);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

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

.skill-category ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Projects Section */
.projects {
    background-color: rgba(18, 18, 18, 0.5);
    position: relative;
    z-index: 1;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: rgba(25, 25, 35, 0.35);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
    background-color: rgba(25, 25, 35, 0.5);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.project-type {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.project-tech {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-features {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.project-features li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: rgba(25, 25, 35, 0.3);
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background-color: var(--glass-bg);
    color: white;
    text-align: center;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1.2rem;
    }
    
    .skills-container,
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .skills-container,
    .projects-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0;
        margin: 1rem 0;
        width: 100%;
    }
    
    .skill-category,
    .project-card {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 1.25rem;
        border-left: none;
        border-right: none;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .skills-container,
    .projects-container {
        margin-top: 1rem;
    }
    
    section h2 {
        margin-bottom: 1rem;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    nav ul li a {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
}