body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.container {
    text-align: center;
    margin-top: 50px;
    padding: 0 1rem;
}

.logo {
    max-width: 90%;
    cursor: pointer;
}

@media (min-width: 768px) {
    .logo {
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        margin-top: 20px;
        padding: 0 0.5rem;
    }
    
    .logo {
        max-width: 95%;
    }
}

.nav-links {
    margin-top: 2rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #e8e8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    text-align: center;
    cursor: pointer;
    min-width: 80px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-separator {
    color: #666;
    margin: 0 0.5rem;
    flex-shrink: 0;
}

/* Desktop navigation */
.desktop-nav {
    display: flex;
}

/* Show mobile dropdown on small screens */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

#content {
    width: 100%;
    background: transparent;
    min-height: 200px;
}


.content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: left;
    color: #f0f0f0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    width: calc(100% - 4rem);
    box-sizing: border-box;
}

/* Mobile responsive content */
@media (max-width: 768px) {
    .content {
        margin: 0.5rem auto;
        padding: 1.5rem;
        width: calc(100% - 3rem);
    }
}

@media (max-width: 480px) {
    .content {
        margin: 0.25rem auto;
        padding: 1rem;
        width: calc(100% - 2rem);
    }
}

.content h1, .content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.content h1 {
    font-size: 2rem;
    text-align: left;
}

/* Page header dropdown styles */
.page-header-dropdown {
    position: relative;
    cursor: default;
}

.mobile-only {
    display: none;
}

.page-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #333;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.page-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.page-dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    border-bottom: 1px solid #333;
}

.page-dropdown-menu a:last-child {
    border-bottom: none;
}

.page-dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile styles for page header dropdown */
@media (max-width: 768px) {
    .mobile-only {
        display: inline;
        font-size: 0.8rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .page-header-dropdown {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
    }
    
    .page-header-dropdown.active .mobile-only {
        transform: rotate(180deg);
    }
}

.content h2 {
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.content a:hover {
    color: #fff;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.post-list li.clickable-post {
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.post-list li.clickable-post:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #555;
}

.post-list li h3 {
    line-height: 1.5;
}

/* Mobile responsive post list */
@media (max-width: 768px) {
    .post-list li {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .post-list li {
        padding: 0.75rem 0.5rem;
        margin-bottom: 0.75rem;
    }
}

.post-meta {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.author {
    color: #888;
    font-style: italic;
    margin-top: 2rem;
    text-align: right;
}

.back-link {
    margin-bottom: 2rem;
}

.loading {
    text-align: center;
    color: #888;
    padding: 4rem 0;
    font-size: 1.2rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    border-top-color: #888;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

.serenity-screenshot {
    width: 100%;
    max-width: 800px;
    margin: 1rem 0;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: antiquewhite 0px 0px 10px -5px;
}

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

.download-button,
.download-button:link,
.download-button:visited,
.download-button:hover,
.download-button:active {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #7cd069;
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    width: 250px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.email-signup {
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
}

.email-signup h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.email-signup p {
    margin-bottom: 1.5rem;
}

.email-signup iframe {
    max-width: 100%;
    border-radius: 4px;
}

/* Mobile responsive email signup */
@media (max-width: 768px) {
    .email-signup {
        padding: 1.5rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .email-signup iframe {
        width: 100%;
        height: 650px;
    }
}

@media (max-width: 480px) {
    .email-signup {
        padding: 1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .email-signup iframe {
        height: 750px;
    }
}

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

.site-footer a {
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 1rem;
        font-size: 0.8rem;
    }
}
