/**
 * Global Styles
 */
:root {
    --brand-primary-color: #0051d5;
    --brand-secondary-color: #2df09f;
    --brand-third-color: #7878ff;
    --text-primary-color: #c0c0d0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #000000;
    color: #e0e0ff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 25%, rgba(20, 20, 60, 0.2) 0%, transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(10, 10, 40, 0.2) 0%, transparent 25%),
    radial-gradient(circle at 30% 60%, rgba(40, 40, 120, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 70% 30%, rgba(30, 30, 100, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(50, 50, 140, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}
.container {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 0;
}
/**
 * Component styles
 */
header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--text-primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.1s;
}
header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--brand-third-color), var(--brand-primary-color), var(--brand-secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    position: relative;
    animation: gradientShift 6s ease infinite, fadeInUp 1s ease forwards 0.3s;
    background-size: 200% 200%;
    opacity: 0;
}
header h1::after {
    content: '';
    position: absolute;
    bottom:-1rem;
    left: 0;
    width: 5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary-color), var(--brand-secondary-color));
    border-radius: 3px;
    animation: underlineGlow 4s ease infinite;
}
header h3 {
    font-size: clamp(0.875rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: var(--text-primary-color);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}
section {
    margin-bottom: 3rem;
}
.description {
    font-size: clamp(0.875rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: var(--text-primary-color);
    max-width: 800px;
    line-height: 1.7;
    background: rgba(15, 15, 35, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(60, 60, 120, 0.3);
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}
.tech-stack > span {
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(70, 70, 140, 0.4);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    color: var(--text-primary-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
}
.tech-stack > span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}
.tech-stack > span:hover::before {
    left: 100%;
}
.tech-stack > span:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(90, 90, 180, 0.7);
    background: rgba(40, 40, 80, 0.8);
}
.tech-stack > span i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}
.contact {
    font-size: 1.1rem;
    color: #a0a0c0;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}
.contact a {
    color: var(--brand-primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 74, 240, 0.5);
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
}
.contact a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-primary-color);
    transition: width 0.3s ease;
}
.contact a:hover {
    color: var(--brand-secondary-color);
}
.contact a:hover:after {
    width: 100%;
}
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.3s;
}
.social-links a {
    color: #a0a0c0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}
.social-links a:hover {
    color: #4a4af0;
    transform: translateY(-3px);
}
.social-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #4a4af0;
    transition: width 0.3s ease;
}
.social-links a:hover::after {
    width: 100%;
}
/*
 * Custom color icons
 */
.fa-react {
    color: #61DAFB;
}
.fa-js {
    color: #F7DF1E;
}
.fa-css3-alt {
    color: #1572B6;
}
.fa-node-js {
    color: #339933;
}
.fa-php {
    color: #777BB4;
}
.fa-laravel {
    color: #FF2D20;
}
.fa-aws {
    color: #FF9900;
}
.fa-cloudflare {
    color: #F38020;
}
.fa-html5 {
    color: #E34F26;
}
.fa-linkedin {
    color: #0077b5;
}
.fa-github {
    color: #ffffff;
}
.fa-deviantart {
    color: #05cc47;
}
.fa-facebook {
    color: #1877f2;
}
/*
 * Animations
 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(74, 146, 240, 0.77);
    }
}
@keyframes gradientShift {
    0% {
        background-position-x: 50%;
    }
    50% {
        background-position-x: 150%;
    }
    100% {
        background-position-x: 50%;
    }
}
/*
 * Responsive adjustments
 */
@media (max-width: 768px) {
    .container {
        padding: 3rem 0;
    }
    header h2 {
        margin-bottom: 0.3rem;
    }
    header h1 {
        margin-bottom: 2rem;
    }
    header h3 {
        margin-bottom: 2rem;
    }
    .description {
        margin-bottom: 2rem;
        padding: 1.2rem;
    }
    .tech-stack {
        gap: 0.5rem;
    }
    .tech-stack > span {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    .social-links {
        gap: 1rem;
        justify-content: center;
    }
}