:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-primary: #2b2b2c;
    --text-secondary: #5a5a5c;
    --divider-color: rgba(60, 60, 67, 0.12);
    --list-bg: rgba(255, 255, 255, 0.55);
    --list-hover-bg: rgba(255, 255, 255, 0.85);
    /* Subtle, sophisticated accent color (Muted Terracotta/Coral) */
    --accent-color: #d97757;
}

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

body {
    font-family: 'Sirin Stencil', sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle, opal-like iridescent animated background */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #f5e6e8 0%, #e4eae6 33%, #d5d0e5 66%, #f5e6e8 100%);
    background-size: 300% 300%;
    animation: meshFlow 24s ease infinite;
}

@keyframes meshFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.glass-panel {
    background-color: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.profile-header {
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 60px;
}

.profile-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 400;
}

.intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.link-item {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--list-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Subtle color injection on link hover */
.link-item:hover {
    background-color: var(--list-hover-bg);
    color: var(--accent-color);
    border-color: rgba(217, 119, 87, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 87, 0.1);
}

.year-section {
    margin-bottom: 48px;
}

.year-label {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 8px;
}

.list-group {
    border-radius: 16px;
    overflow: hidden;
}

.list-item {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    transition: background-color 0.3s ease;
}

.list-item:hover {
    background-color: var(--list-hover-bg);
}

.list-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 0;
    height: 1px;
    background-color: var(--divider-color);
}

.item-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    flex-shrink: 0;
    margin-top: 6px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

/* Color injection on hover for the circle */
.list-item:hover .item-circle {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(217, 119, 87, 0.4);
}

.item-text {
    flex: 1;
}

.item-text h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.list-item:hover .item-text h3 {
    color: var(--accent-color);
}

.item-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .profile-header {
        padding: 32px 24px;
    }
    
    .list-item {
        padding: 20px 16px;
    }
    
    .list-item:not(:last-child)::after {
        left: 16px;
    }
}
