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

:root {
    --primary-color: #64ffda;
    --secondary-color: #7928ca;
    --background-color: #0a192f;
    --surface-color: #112240;
    --text-color: #e6f1ff;
    --text-secondary: #8892b0;
    --accent-color: #ff5252;
    --card-background: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: radial-gradient(var(--surface-color) 1px, transparent 1px);
    background-size: 22px 22px;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.profile::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

#profile-picture {
    width: 110px;
    height: 110px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.2);
}

.tag {
    display: inline-block;
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.profile h1 {
    font-size: 28px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 16px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.code-block {
    font-family: 'Fira Code', monospace;
    background-color: #0e1526;
    border-radius: 5px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    color: #e6f1ff;
    font-size: 14px;
    line-height: 1.5;
    overflow-x: auto;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #1c2e4a;
    border-radius: 5px 5px 0 0;
}

.code-block::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 15px;
    font-size: 12px;
    color: #8892b0;
    letter-spacing: 4px;
}

.code-content {
    padding-top: 15px;
}

.typing-animation {
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(22) 1s infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0%, 90%, 100% { width: 0 }
    30%, 60% { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link {
    background-color: var(--surface-color);
    color: var(--text-color);
    padding: 16px;
    border-radius: 6px;
    text-align: left;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.link:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    background-color: #1a2f50;
}

.link:hover::before {
    transform: scaleY(1);
}

.link i {
    margin-right: 15px;
    font-size: 20px;
    width: 26px;
    text-align: center;
    color: var(--primary-color);
}

.link.primary {
    background-color: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--primary-color);
}

.link.secondary {
    background-color: rgba(121, 40, 202, 0.15);
    border: 1px solid var(--secondary-color);
}

.link.secondary i {
    color: var(--secondary-color);
}

.link.secondary::before {
    background-color: var(--secondary-color);
}

footer {
    text-align: center;
    margin-top: 60px;
    color: var(--text-secondary);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

footer i {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile, .link-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.link-card:nth-child(2) {
    animation-delay: 0.1s;
}

.link-card:nth-child(3) {
    animation-delay: 0.2s;
}

.link-card:nth-child(4) {
    animation-delay: 0.3s;
}

.link-card:nth-child(5) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 40px 15px;
    }
    
    .profile h1 {
        font-size: 24px;
    }
    
    .link {
        padding: 14px;
    }
    
    .profile p {
        max-width: 100%;
    }
}
