body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
}

.page-container {
    max-width: 850px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.publication-header {
    text-align: left;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.journal-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.article-meta .tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    margin-right: 10px;
    color: #fff;
}

.open-access {
    background-color: #007368; /* MDPI Green */
}

.review {
    background-color: #c00000; /* MDPI Red */
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0 15px 0;
    line-height: 1.3;
}

h1 a {
    text-decoration: none;
    color: #000;
}

h1 a:hover {
    text-decoration: underline;
}

.authors {
    font-size: 15px;
    margin-bottom: 20px;
}

.citation {
    font-size: 14px;
    color: #555;
}

.citation a {
    color: #0056b3;
    text-decoration: none;
}

.citation a:hover {
    text-decoration: underline;
}

.celebration {
    text-align: center;
    padding: 2em;
    position: relative;
    z-index: 20;
}

h2 {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 2.5em;
    color: #d147a3;
    font-weight: bold;
}

p {
   font-family: 'Helvetica', 'Arial', sans-serif;
   font-size: 1.2em;
}

#celebration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.balloon {
    position: absolute;
    bottom: -150px; /* Start further down */
    width: 50px;
    height: 60px;
    border-radius: 50%;
    animation: float-up 10s linear forwards;
    opacity: 0.8;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 1px solid #555;
    height: 20px;
}

@keyframes float-up {
    to {
        transform: translateY(-120vh);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    opacity: 0.9;
    animation: fall-down linear forwards;
}

@keyframes fall-down {
    to {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .page-container {
        margin: 20px auto;
        padding: 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 2em;
    }
    
    .celebration {
        padding: 1em;
    }
}