:root {
    --font-sans: 'Manrope', sans-serif;
    --bg-color: #0c0a09;
    --card-bg: rgba(23, 23, 23, 0.65);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --accent-color-1: #a855f7;
    --accent-color-2: #db2777;
    --accent-winter: #7dd3fc;
    --glow-color: rgba(168, 85, 247, 0.35);
    --glow-winter: rgba(125, 211, 252, 0.3);
    --festive-red: #e11d48;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    padding: 2rem 1rem;
}

.content-wrapper {
    width: 100%;
    max-width: 600px;
}

#snowflakes-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.snowflake { position: absolute; background: white; border-radius: 50%; opacity: 0.8; animation: snowfall linear infinite; will-change: transform, opacity; }
@keyframes snowfall {
    to { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.aurora-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; overflow: hidden; filter: blur(120px); }
.aurora-shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 450px; height: 450px; background: var(--accent-color-1); top: -100px; left: -150px; animation: move 20s infinite alternate; }
.shape-2 { width: 550px; height: 550px; background: var(--accent-color-2); bottom: -150px; right: -200px; animation: move 25s infinite alternate-reverse; }
.shape-3 { width: 350px; height: 350px; background: var(--accent-winter); bottom: 50%; right: 50%; animation: move 15s infinite alternate; }
@keyframes move {
    from { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    to { transform: translate(100px, 50px) rotate(180deg); opacity: 0.5; }
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    will-change: box-shadow;
    animation: fadeIn 1s ease-out, pulseGlow 6s infinite alternate;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseGlow {
    from { box-shadow: 0 0 30px rgba(0,0,0,0.2), 0 0 40px var(--glow-color); }
    to { box-shadow: 0 0 30px rgba(0,0,0,0.2), 0 0 65px var(--glow-winter); }
}

section { margin-bottom: 2.5rem; }
section:last-child { margin-bottom: 0; }

.profile { text-align: center; }
.avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(145deg, var(--accent-color-1), #6d28d9); display: flex; justify-content: center; align-items: center; font-size: 40px; margin: 0 auto 1rem; box-shadow: 0 0 25px var(--glow-color); position: relative; }
.santa-hat { position: absolute; top: -20px; left: 35px; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-bottom: 35px solid var(--festive-red); transform: rotate(20deg); }
.santa-hat::after { content: ''; position: absolute; top: 30px; left: -22px; width: 44px; height: 8px; background: #fff; border-radius: 3px; }
.santa-hat::before { content: ''; position: absolute; top: -10px; left: -5px; width: 10px; height: 10px; background: #fff; border-radius: 50%; }

h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem; background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-1), var(--text-primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: 1.1rem; color: var(--text-secondary); }

h2, .countdown-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-secondary); font-weight: 400; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; display: flex; align-items: center; }
h2 i, .countdown-card h3 i { margin-right: 0.75rem; color: var(--accent-color-1); width: 20px; text-align: center; }

.garland { position: relative; }
.garland::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 10px; background-image: radial-gradient(circle at 10px 50%, #facc15 2px, transparent 3px), radial-gradient(circle at 50px 50%, #22c55e 2px, transparent 3px), radial-gradient(circle at 90px 50%, #3b82f6 2px, transparent 3px), radial-gradient(circle at 130px 50%, #ef4444 2px, transparent 3px), linear-gradient(var(--text-secondary), var(--text-secondary)); background-size: 160px 100%, 160px 100%, 160px 100%, 160px 100%, 100% 1px; background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x; background-position: 0 50%; animation: blink 2s infinite linear; }
.garland::after { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f783"; color: var(--festive-red); font-size: 1rem; position: absolute; right: 0; top: 10px; transform: rotate(15deg); opacity: 0.8; }
@keyframes blink { 0%, 100% { opacity: 0.5; } 25% { opacity: 1; } 50% { opacity: 0.5; } 75% { opacity: 1; } }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.info-block ul { list-style: none; padding: 0; }
.info-block li { margin-bottom: 0.5rem; color: var(--text-secondary); transition: color 0.2s; }
.info-block li:hover { color: var(--text-primary); }
.info-block li strong { color: var(--text-primary); font-weight: 400; }

.project-item { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-top: 1rem; }
.project-item:first-of-type { margin-top: 0; }
.project-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.project-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.project-header h3 { font-size: 1.1rem; font-weight: 400; }
.expand-icon { transition: transform 0.3s ease; color: var(--text-secondary); }
.project-item.open .expand-icon { transform: rotate(180deg); color: var(--text-primary); }

.project-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding-top 0.5s ease-out; }
.project-content p { color: var(--text-secondary); margin: 0 0 1rem 0; }
.project-item.open .project-content { max-height: 500px; padding-top: 1rem; }
.project-links a { color: var(--accent-color-1); text-decoration: none; margin-right: 1rem; transition: all 0.2s; border-bottom: 1px solid transparent; padding: 2px 0; }
.project-links a:hover { color: var(--accent-winter); text-shadow: 0 0 10px var(--glow-winter); }

.socials { text-align: center; }
.social-links { display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { color: var(--text-secondary); font-size: 1.75rem; transition: color 0.2s, transform 0.2s, text-shadow 0.2s; }
.social-links a:hover { color: var(--accent-winter); transform: translateY(-5px) scale(1.1); text-shadow: 0 0 15px var(--glow-winter); }

.countdown-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    text-align: center;
    animation: fadeIn 1s ease-out 0.5s backwards;
}
.countdown-card h3 {
    justify-content: center;
}
.timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.time-unit {
    display: flex;
    flex-direction: column;
}
.time-unit span {
    font-size: 2.5rem;
    font-weight: 700;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem;
    border-radius: 10px;
    min-width: 60px;
}
.time-unit label {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    body { padding: 1rem 0.5rem; }
    .card, .countdown-card { padding: 1.5rem; }
    h1 { font-size: 2rem; }
    section { margin-bottom: 1.5rem; }
    .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .time-unit span { font-size: 1.8rem; min-width: 50px; }
}