/* Mr. Robot Container Layout */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--accent-primary);
    margin: 5px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Canvas positioning preserved */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Modern header styling */
header {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

header h2 {
    margin-top: 0;
    font-style: italic;
    padding: 0.5em;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

/* Clean Main Content Area */
main {
    font-family: 'Inter', sans-serif;
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
}

main > article {
    font-family: 'Noto Sans', sans-serif;
    margin: auto;
    padding: 1rem;
}

/* Clean Side Elements */
aside {
    font-style: italic;
    font-size: small;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--accent-secondary);
}

/* Clean Footer */
footer {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto 1rem auto;
    text-align: center;
    clear: both;
    padding: 1.5rem;
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 12px 12px 0 0;
    backdrop-filter: blur(10px);
    overflow-x: hidden;
}

footer img {
    width: 28px;
    height: 28px;
    margin: 0.5em;
    transition: transform 0.3s ease;
    object-fit: contain;
}

footer img:hover {
    transform: scale(1.2);
}

/* Fix for SVGs in footer */
footer svg {
    width: 28px !important;
    height: 28px !important;
    margin: 0.5em;
    transition: transform 0.3s ease;
}

footer svg:hover {
    transform: scale(1.2);
}

/* Content section spacing */
.content section, 
.content div > h1,
.content div > h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* Terminal Horizontal Rule */
.content hr {
    margin: 1rem auto;
    border: 0;
    height: 2px;
    background: var(--accent-primary);
    width: 100%;
    box-shadow: 0 0 5px var(--accent-primary);
}

.content hr::before {
    content: '================================';
    display: block;
    color: var(--accent-primary);
    text-align: center;
    font-family: 'VT323', monospace;
    margin-bottom: 5px;
}

/* Recent posts section */
.content h1:not(:first-child) {
    margin-top: 3rem;
}