:root {
    --primary: #00E5FF;
    --secondary: #00BFA5;
    --background: #0A1929;
    --card-bg: rgba(13, 25, 42, 0.95);
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --gradient: linear-gradient(135deg, #00E5FF, #00BFA5);
    --tech-glow: 0 0 20px rgba(0, 229, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 165, 0.1) 0%, transparent 40%);
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotate(45deg);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: rotate(45deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(45deg) translate(0%, 0%);
    }
}

.pulse-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pulse {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(1px);
    animation: pulseRise linear forwards;
}

@keyframes pulseRise {
    0% {
        transform: translateY(100vh) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-20px) scale(0);
        opacity: 0;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

.tech-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.card-inner {
    padding: 3rem 2rem;
    position: relative;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.avatar-circuit {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 229, 255, 0.5)),
        linear-gradient(-45deg, transparent 40%, rgba(0, 191, 165, 0.5));
    border-radius: 50%;
    animation: circuitPulse 3s infinite;
    opacity: 0.3;
}

@keyframes circuitPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.avatar-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient);
    position: relative;
    z-index: 1;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
}

.tech-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tech-glow);
    animation: techPulse 2s ease-in-out infinite;
}

@keyframes techPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    }
}

.profile-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: var(--tech-glow);
}

.profile-title {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.profile-bio {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.expertise-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.expertise-item:hover {
    transform: translateY(-2px);
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
}

.expertise-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.expertise-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-link {
    background: rgba(13, 25, 42, 0.8);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.tech-link.power-on {
    opacity: 1;
    transform: translateY(0);
}

.tech-link:hover {
    transform: translateY(-2px);
    background: rgba(13, 25, 42, 0.9);
    border-color: var(--link-color);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.link-icon {
    width: 45px;
    height: 45px;
    background: var(--link-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.link-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: techShine 3s linear infinite;
}

@keyframes techShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.link-text {
    flex-grow: 1;
}

.link-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.link-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.link-arrow {
    color: var(--link-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tech-link:hover .link-arrow {
    transform: translateX(5px);
}

.link-pulse {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--link-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tech-link:hover .link-pulse {
    transform: scaleX(1);
}

.tech-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.tech-badge {
    background: var(--gradient);
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    box-shadow: var(--tech-glow);
}

.badge-text {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    .card-inner {
        padding: 2rem 1.5rem;
    }

    .profile-name {
        font-size: 2.5rem;
    }

    .expertise-container {
        gap: 1rem;
    }

    .expertise-item {
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .card-inner {
        padding: 1.5rem 1rem;
    }

    .avatar-container {
        width: 120px;
        height: 120px;
    }

    .expertise-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .tech-link {
        padding: 1rem;
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }

    .profile-bio {
        font-size: 1rem;
    }

    .tech-badge {
        padding: 0.6rem 1.5rem;
    }

    .badge-text {
        font-size: 0.9rem;
    }
} 