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

:root {
    --bg-color: #008080;
    --text-color: #000;
    --heading-color: #FF00FF;
    --accent-color: #FFFF00;
    --border-color: #FF00FF;
    --muted-color: #666;
    --secondary-text: #000080;
    --button-bg: #00FF00;
    --button-border: #000;
}

body {
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(45deg, #FF1493 0%, #00CED1 25%, #FFD700 50%, #00FF00 75%, #FF1493 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    padding: 20px;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #FFFFFF;
    border: 5px ridge #FF00FF;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
}

header {
    margin-bottom: 30px;
    border-bottom: 5px groove var(--border-color);
    padding-bottom: 20px;
    text-align: center;
    background: linear-gradient(to right, #FFD700, #FF1493, #00CED1);
    padding: 20px;
    border: 3px outset #FFD700;
}

.profile-picture {
    margin-bottom: 20px;
}

.profile-picture img {
    width: 100px;
    height: 100px;
    border: 5px ridge var(--accent-color);
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h1 {
    font-size: 2.5em;
    color: var(--heading-color);
    margin-bottom: 10px;
    text-shadow: 3px 3px 0px #00FFFF, 6px 6px 0px #FF00FF;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.7; }
}

marquee {
    font-size: 1.1em;
    font-weight: bold;
    color: #000;
    background: #FFFF00;
    padding: 5px;
    border: 2px solid #000;
}

h2 {
    font-size: 1.5em;
    color: var(--heading-color);
    margin-bottom: 15px;
    margin-top: 25px;
    text-decoration: underline;
    text-decoration-style: wavy;
}

.intro {
    margin-bottom: 30px;
    text-align: center;
    background: #FFFF00;
    padding: 15px;
    border: 3px dashed #FF00FF;
}

.intro p {
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: bold;
}

.links {
    margin-bottom: 30px;
}

.links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.links li {
    margin-bottom: 0;
}

.links a {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to bottom, #00FF00, #008000);
    color: #000;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    border: 4px outset #00FF00;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    transition: all 0.1s;
}

.links a:hover {
    border-style: inset;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.links a:active {
    border-style: inset;
}

.works {
    margin-bottom: 30px;
    background: #FFD700;
    padding: 20px;
    border: 4px double #FF00FF;
}

.works ul {
    list-style: none;
}

.works li {
    margin-bottom: 15px;
    line-height: 1.6;
    background: #FFFFFF;
    padding: 10px;
    border: 2px solid #000;
}

.works a {
    color: #0000FF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.works a:hover {
    color: #FF00FF;
    text-decoration: underline;
}

.works em {
    color: #FF0000;
    font-size: 0.9em;
    font-style: italic;
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 3px dotted var(--border-color);
    color: var(--text-color);
    font-size: 0.9em;
    text-align: center;
    background: #00FFFF;
    padding: 15px;
}

/* Blog styles */
.blog-posts {
    margin-top: 30px;
}

.blog-post-preview {
    margin-bottom: 40px;
    padding: 20px;
    background: #FFD700;
    border: 4px ridge #FF00FF;
}

.blog-post-preview:last-child {
    border-bottom: 4px ridge #FF00FF;
}

.blog-post-preview h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-post-preview h2 a {
    color: #0000FF;
    text-decoration: none;
    text-shadow: 2px 2px 0px #FFFF00;
}

.blog-post-preview h2 a:hover {
    color: #FF00FF;
    text-decoration: underline;
}

.post-meta {
    color: #FF0000;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-weight: bold;
}

.blog-post {
    background: #FFFFFF;
    padding: 20px;
    border: 3px solid #000;
}

.blog-post p {
    margin-bottom: 20px;
}

.blog-post p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
        border-width: 3px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .profile-picture img {
        width: 80px;
        height: 80px;
    }
    
    .links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .links a {
        width: 100%;
        text-align: center;
    }
}
