/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: transparent;
    --text-color: #ffffff;
    --link-color: #ffa400;
    --link-hover: #ffb733;
    --border-color: rgba(255, 255, 255, 0.3);
    --secondary-text: rgba(255, 255, 255, 0.85);
}

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

html {
    height: 100%;
    width: 100%;
}

/* Container */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

/* Header and Navigation */
header {
    margin-bottom: 3rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--link-color);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Home Page */
.home {
    max-width: 600px;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

.home h1 {
    margin-bottom: 1.5rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
}

.profile-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

.subtitle {
    color: var(--secondary-text);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 164, 0, 0.4);
    color: var(--link-color);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 164, 0, 0.2);
}

.social-btn svg {
    flex-shrink: 0;
}

/* Post List */
.post-list {
    list-style: none;
    margin-top: 1.5rem;
}

.post-list li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.post-list a {
    flex: 1;
}

.post-date {
    color: var(--secondary-text);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Article */
article {
    margin-bottom: 2rem;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    margin-bottom: 0.5rem;
}

.article-header time {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.content {
    line-height: 1.7;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.content pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

.content pre code {
    padding: 0;
    background-color: transparent;
}

.content blockquote {
    border-left: 3px solid var(--border-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--secondary-text);
}

.content ul, .content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Easter Egg Toast */
.easter-egg-toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    max-width: 90%;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.easter-egg-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .post-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
