.win2k-window {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin-bottom: 15px;
}

.win2k-titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    font-weight: bold;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.win2k-content {
    padding: 15px;
    background: #d4d0c8;
}

.ascii-content {
    background: #000000;
    color: #ffffff;
    padding: 12px;
    border: 2px solid;
    border-color: #919191 #919191 #919191 #919191;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.2;
    margin: 12px 0;
}

.ascii-content pre {
    margin: 0;
    white-space: pre;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 15px;
}

.content-area {
    background: rgba(212, 208, 200, 0.95);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 15px;
}

.sidebar-area {
    background: rgba(212, 208, 200, 0.95);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.sidebar-area.hidden {
    display: none;
}

.profile-pic {
    width: 100%;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    margin-bottom: 12px;
}

.series-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 15px auto;
    display: block;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
}

.sidebar-videos-section {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.sidebar-videos-box {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: flex;
    flex-direction: column;
    max-height: 650px;
    overflow-y: auto;
}

.sidebar-video-wrapper {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
}

.sidebar-video-wrapper:not(:last-child) {
    border-bottom: none;
}

.sidebar-video-titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 2px 3px;
    font-weight: bold;
    font-size: 10px;
}

.sidebar-video {
    width: 100%;
    height: 100px;
}

.video-loading-overlay {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7) url('https://img1.picmix.com/output/stamp/normal/2/2/8/8/58822_3cfda.gif');
    background-size: 80px 80px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.video-loading-overlay.hidden {
    display: none !important;
}

.video-container {
    text-align: center;
    margin: 15px 0;
}

.video-wrapper {
    display: inline-block;
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
}

.video-titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    font-weight: bold;
    font-size: 11px;
}

.marquee-container {
    background: #000000;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 23s linear infinite;
    font-weight: bold;
    color: #ffffff;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.blog-post {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 12px;
    margin-bottom: 12px;
}

.blog-post-title {
    color: #ff8c00;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.blog-post-meta {
    color: #666;
    font-size: 10px;
    margin-bottom: 8px;
}

.blog-post-content {
    color: #ff8c00;
    line-height: 1.6;
}

.section-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.links-section,
.downloads-section,
.doc-section {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.links-section h3,
.downloads-section h3,
.doc-section h3 {
    color: #ff8c00;
    margin-bottom: 10px;
}

.links-section a {
    display: block;
    margin: 5px 0;
    color: #ff8c00;
    text-decoration: underline;
}

.section-content {
    display: none;
    margin-top: 10px;
    background: #f0f0f0;
    padding: 8px;
    border: 1px solid #999;
}

.section-content.active {
    display: block;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 5px 0;
    border-bottom: 1px solid #ccc;
    color: #ff8c00;
}

.download-size {
    font-size: 9px;
    color: #666;
    margin-right: 10px;
}

.download-btn {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
}

.download-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.comments-section {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 0;
    margin-bottom: 12px;
    position: relative;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comments-titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 6px 8px;
    font-weight: bold;
    font-size: 11px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.comments-content {
    padding: 12px;
    background: #f5f5f5;
    overflow-y: auto;
    flex: 1;
}

.msn-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DAE4E6;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOutMSN 4s ease-out forwards;
}

@keyframes fadeOutMSN {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

#disqus_thread {
    margin-top: 10px;
    font-size: 10px;
}

.media-player {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    margin-bottom: 12px;
}

.player-controls {
    background: linear-gradient(to right, #000080, #1084d0);
    padding: 3px 5px;
    font-size: 10px;
    color: white;
    font-weight: bold;
}

.re4-logo {
    width: 250px;
    height: auto;
    margin-bottom: 1px;
    margin-left: 15px;
}

/* ABOUT PAGE STYLES */
.about-layout {
  
    min-height: calc(100vh - 50px);
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 30px;
}

.about-content {
    width: 100%;
    max-width: 500px;
    background: rgba(212, 208, 200, 0.95);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 20px;
    margin-right: 50px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-pic-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    background: white;
    border: 3px solid #ffffff;
    border-bottom: 3px solid #808080;
    border-right: 3px solid #808080;
    padding: 2px;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    color: #000080;
    letter-spacing: 2px;
}

.about-intro-box {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 15px;
    width: 100%;
    color: #000;
    font-size: 11px;
    line-height: 1.6;
}

.about-intro-box p {
    margin: 0;
    text-align: justify;
}

.about-intro-box p:not(:last-child) {
    margin-bottom: 10px;
}

.about-links-box {
    background: #003366;
    border: 2px solid;
    border-color: #ffffff #000000 #000000 #ffffff;
    padding: 15px;
    width: 100%;
}

.about-links-box h3 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 12px;
    border-bottom: 1px solid #00ccff;
    padding-bottom: 8px;
}

.about-links-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-links-grid a {
    color: #00ccff;
    font-size: 11px;
    text-decoration: underline;
    display: block;
}

.about-links-grid a:hover {
    color: #ffffff;
}

/* DOWNLOADS PAGE STYLES */
.downloads-layout {
    background-size: cover;
    min-height: calc(100vh - 50px);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 30px;
    position: relative;
}

.downloads-content {
    width: 100%;
    max-width: 500px;
    background: rgba(212, 208, 200, 0.95);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 20px;
    margin-left: 50px;
}

.downloads-section,
.doc-section {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.downloads-section h3,
.doc-section h3 {
    color: #ff8c00;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.downloads-section p,
.doc-section p {
    margin: 0 0 10px 0;
    font-size: 10px;
}

.section-content {
    display: none;
    margin-top: 10px;
    background: #f0f0f0;
    padding: 8px;
    border: 1px solid #999;
}

.section-content.active {
    display: block;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 5px 0;
    border-bottom: 1px solid #ccc;
    color: #ff8c00;
    font-size: 11px;
}

.download-item:last-child {
    border-bottom: none;
}

.download-btn {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
    color: #000;
}

.download-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.postal-button-container {
    position: fixed;
    bottom: 50px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.postal-button-wrapper {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.1s;
}

.postal-button-wrapper:active {
    transform: scale(0.95);
}

.postal-button {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.postal-button-wrapper:hover .postal-button {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* BLOG LAYOUT */
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-content {
    background: rgba(212, 208, 200, 0.95);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 20px;
    margin-bottom: 60px;
}

.blog-content h1 {
    text-transform: uppercase;
}

.blog-content h2 {
    text-transform: uppercase;
}

.blog-post {
    background: white;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 12px;
    margin-bottom: 12px;
}

.blog-post-title {
    color: #ff8c00;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.blog-post-meta {
    color: #666;
    font-size: 9px;
    margin-bottom: 8px;
}

.blog-post-content {
    color: #ff8c00;
    font-size: 11px;
    line-height: 1.6;
}

.blog-post-content p {
    margin: 0;
    text-align: justify;
}

/* Responsividade */
@media (max-width: 768px) {
    .about-layout {
        justify-content: center;
    }

    .about-content {
        margin-right: 0;
        max-width: 100%;
    }

    .downloads-layout {
        flex-direction: column-reverse;
        align-items: center;
    }

    .downloads-content {
        margin-left: 0;
        max-width: 100%;
    }

    .postal-button-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
}
