:root {
    --primary-color: #e0e0e0;
    --background-color: #141414;
    --text-color: #ffffff;
    --card-background: rgba(255, 255, 255, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.location-code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.location-code pre {
    margin: 0;
}

.location-code code {
    font-family: 'Courier New', Courier, monospace;
}

.intro h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.credentials {
    margin-bottom: 3rem;
}

.credential-item {
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: var(--card-background);
    transform: translateX(10px);
}

.credential-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.credential-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.blog-posts {
    margin-bottom: 3rem;
}

.post {
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.emoji {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: var(--card-background);
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.description {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.projects {
    text-align: center;
    margin: 2rem 0;
}

.projects h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-btn {
    padding: 0.8rem 1.5rem;
    background-color: #2d2d2d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.project-btn:hover {
    background-color: #404040;
}

.project-item {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.project-item h4 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.project-item p {
    margin: 0;
    color: #b0b0b0;
}

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

.container > * {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Stagger the animations */
header { animation-delay: 0.2s; }
.location-code { animation-delay: 0.4s; }
.intro { animation-delay: 0.6s; }
.credentials { animation-delay: 0.8s; }
.social-links { animation-delay: 1s; }

/* Collapsible section */
.collapsible {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsed .content {
    max-height: 0;
}

.collapsed .arrow {
    transform: rotate(-90deg);
}