:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #ecf0f1;
    --background-color: #1a1a2e;
    --card-background: #16213e;
    --hover-color: #4a69bd;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #0f3460 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.link-card:hover {
    transform: translateY(-3px);
    background-color: var(--hover-color);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-card .icon {
    margin-right: 15px;
}

.link-card .text {
    flex: 1;
    font-family: 'Roboto Mono', monospace;
}

.link-card .arrow {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(5px);
}

footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

footer .fa-heart {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .profile-image img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .link-card {
        padding: 14px 16px;
    }
}

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

.link-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
.link-card:nth-child(7) { animation-delay: 0.7s; }
.link-card:nth-child(8) { animation-delay: 0.8s; }

.section-heading {
    font-family: 'Roboto Mono', monospace;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    width: 100%;
}

.subsection-heading {
    font-family: 'Roboto Mono', monospace;
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-style: italic;
    padding-left: 15px;
    position: relative;
}

.subsection-heading::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Adjust animation delays for headings */
.section-heading, .subsection-heading {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.section-heading:nth-of-type(1) { animation-delay: 0.05s; }
.section-heading:nth-of-type(2) { animation-delay: 0.6s; }

