/* ========================================
   RESET E BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;https://neocities.org/site_files/text_editor?filename=style.css#
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 16px;
    line-height: 1.8;
    background-color: #06090f;
    color: #00d9ff;

background-image:
    repeating-linear-gradient(
        0deg,
        rgba(0, 217, 255, 0.04) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 217, 255, 0.02) 2px,
        transparent 4px,
        rgba(0, 217, 255, 0.03) 6px,
        transparent 9px
    );
    background-size: 100% 8px;
    text-shadow: 0 0 4px rgba(0, 217, 255, 0.4);
}

/* ========================================
   LAYOUT DE 3 COLUNAS
   ======================================== */
.container {
    display: grid;
    grid-template-columns: 250px 1fr 320px;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px;
    min-height: 100vh;
}

/* ========================================
   SIDEBAR ESQUERDA - MENU
   ======================================== */
.sidebar-left {
    background: #0a0a0a;
    border: 2px solid #1a1a1a;
    border-radius: 0;
    padding: 0;
    height: fit-content;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
}

.site-header {
    background: #111;
    border-bottom: 2px solid #00d9ff;
    padding: 20px;
    text-align: center;
}

.site-title {
    font-size: 18px;
    color: #00d9ff;
    font-weight: normal;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Menu Hierárquico */
.menu {
    list-style: none;
    padding: 15px 0;
}

.menu-item {
    margin: 0;
}

.menu-link {
    display: block;
    padding: 12px 25px;
    color: #6bcfff;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
}

.menu-link:hover {
    background: rgba(0, 217, 255, 0.1);
    border-left-color: #00d9ff;
    color: #00d9ff;
    padding-left: 30px;
}

.menu-link.active {
    background: rgba(0, 217, 255, 0.15);
    border-left-color: #00d9ff;
    color: #00d9ff;
}

/* Submenu */
.menu-item-parent .menu-toggle::before {
    content: '▸ ';
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-item-parent.open .menu-toggle::before {
    transform: rotate(90deg);
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.menu-item-parent.open .submenu {
    max-height: 500px;
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 10px 25px 10px 50px;
    color: #a0e7e5;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background: rgba(160, 231, 229, 0.1);
    border-left-color: #a0e7e5;
    color: #fff;
    padding-left: 55px;
}

/* Menu Footer */
.menu-footer {
    padding: 20px 25px;
    border-top: 1px solid #1a1a1a;
    background: rgba(0, 0, 0, 0.3);
}

.small-text {
    font-size: 11px;
    color: #666;
    margin: 3px 0;
}

.update-date {
    color: #00d9ff;
}

/* ========================================
   CONTEÚDO CENTRAL - FEED
   ======================================== */
.main-content {
    background: transparent;
    padding: 0;
}

/* Cabeçalho do Site */
.site-intro {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid #00d9ff;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.site-intro h2 {
    color: #00d9ff;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #00d9ff;
    padding-bottom: 10px;
}

.site-intro p {
    color: #d0d0d0;
    margin-bottom: 12px;
    line-height: 1.7;
}

.intro-note {
    background: rgba(255, 217, 61, 0.1);
    border-left: 4px solid #ffd93d;
    padding: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: #ffd93d;
}

/* Feed de Posts - Cards para Hub */
.posts-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Card de Post - Versão Hub (Resumo) */
.post-card {
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.post-card:hover {
    border-color: #ff6b6b;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.post-header {
    background: #111;
    border-bottom: 2px solid #2a2a2a;
    padding: 20px 25px;
}

.post-date {
    display: inline-block;
    background: #00d9ff;
    color: #000;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.post-title {
    color: #ff6b6b;
    font-size: 20px;
    margin-bottom: 12px;
}

.post-title a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #ff9999;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Excerpt do Post */
.post-excerpt {
    padding: 25px;
}

.post-excerpt p {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #00d9ff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #00d9ff;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more:hover {
    background: #00d9ff;
    color: #000;
}

/* Card de Post */
.post {
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.post:hover {
    border-color: #ff6b6b;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.post-header {
    background: #111;
    border-bottom: 2px solid #2a2a2a;
    padding: 20px 25px;
}

.post-date {
    display: inline-block;
    background: #00d9ff;
    color: #000;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.post-title {
    color: #ff6b6b;
    font-size: 20px;
    margin-bottom: 12px;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.post-content {
    padding: 30px;
}

.post-content h4 {
    color: #ffd93d;
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.post-content p {
    color: #d0d0d0;
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 10px;
    color: #d0d0d0;
}

.post-content strong {
    color: #00d9ff;
}

/* Boxes Especiais em Posts */
.info-box,
.warning-box,
.help-box {
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid;
    padding: 20px;
    margin: 25px 0;
}

.info-box {
    border-left-color: #00d9ff;
    background: rgba(0, 217, 255, 0.05);
}

.warning-box {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.warning-text {
    color: #ff6b6b;
    font-weight: bold;
}

.help-box {
    border-left-color: #6bcf6b;
    background: rgba(107, 207, 107, 0.05);
}

.help-box p {
    color: #6bcf6b;
    margin-bottom: 8px;
    font-size: 14px;
}

/* ========================================
   SIDEBAR DIREITA - ARTÍSTICO
   ======================================== */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: fit-content;
}

.art-section {
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    padding: 20px;
    transition: all 0.3s ease;
}

.art-section:hover {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.15);
}

.section-title {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-color: #00d9ff;
}

.logo h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.logo-text {
    color: #00d9ff;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 2px;
}

/* Poema Section */
.poem-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
}

.poem-content {
    text-align: center;
}

.poem-text {
    font-style: italic;
    color: #a0e7e5;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 13px;
}

.poem-author {
    color: #666;
    font-size: 11px;
    text-align: right;
}

/* Imagem Section */
.image-section {
    background: #0a0a0a;
}

.placeholder-image {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #333;
}

.placeholder-image {
    font-size: 48px;
}

.image-caption {
    color: #888;
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, #2e1a1a 0%, #0a0a0a 100%);
}

.quote-box {
    text-align: center;
}

.daily-quote {
    color: #ff9999;
    font-style: italic;
    line-height: 1.7;
    font-size: 13px;
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, #1a2e1a 0%, #0a0a0a 100%);
}

.motivational-text {
    text-align: center;
}

.motivational-text p {
    color: #6bcf6b;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

/* Links Section */
.links-section {
    background: #0a0a0a;
}

.external-links {
    list-style: none;
}

.external-links li {
    margin-bottom: 10px;
}

.external-links a {
    color: #a0e7e5;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 10px;
    border-left: 2px solid transparent;
}

.external-links a:hover {
    color: #00d9ff;
    border-left-color: #00d9ff;
    padding-left: 15px;
    background: rgba(0, 217, 255, 0.05);
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #d63447 100%);
    border-color: #ff4757;
    text-align: center;
    animation: pulse-banner 3s ease-in-out infinite;
}

@keyframes pulse-banner {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.7);
    }
}

.help-banner p {
    font-size: 32px;
    margin-bottom: 5px;
}

.banner-text {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtext {
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
}

/* ========================================
   LINKS GERAIS
   ======================================== */
a {
    color: #6bcfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00d9ff;
}

.post-content a {
    color: #ff9999;
    text-decoration: underline;
}

.post-content a:hover {
    color: #ff6b6b;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 220px 1fr 280px;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
    }

    .sidebar-right {
        order: 3;
    }

    .main-content {
        order: 2;
    }

    .sidebar-left {
        order: 1;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 13px;
    }

    .container {
        padding: 15px;
        gap: 20px;
    }

    .site-intro {
        padding: 20px;
    }

    .site-intro h2 {
        font-size: 20px;
    }

    .post-header {
        padding: 15px 20px;
    }

    .post-title {
        font-size: 18px;
    }

    .post-content {
        padding: 20px;
    }

    .art-section {
        padding: 15px;
    }
}

/* ========================================
   SCROLL SUAVE
   ======================================== */
section[id],
article[id],
h4[id] {
    scroll-margin-top: 30px;
}

/* ========================================
   ANIMAÇÕES SUTIS
   ======================================== */
.post,
.art-section {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post:nth-child(1) {
    animation-delay: 0.1s;
}

.post:nth-child(2) {
    animation-delay: 0.2s;
}

.post:nth-child(3) {
    animation-delay: 0.3s;
}

.post:nth-child(4) {
    animation-delay: 0.4s;
}

/* ========================================
   UTILIDADES
   ======================================== */
.text-center {
    text-align: center;
}

::selection {
    background: #00d9ff;
    color: #000;
}

/* ========================================
   POSTS COMPLETOS (Páginas Individuais)
   ======================================== */
.post-full {
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    padding: 0;
}

.post-full-header {
    background: #111;
    border-bottom: 2px solid #00d9ff;
    padding: 30px;
}

.post-full-title {
    color: #ff6b6b;
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-full-content {
    padding: 40px;
}

.post-full-content h2 {
    color: #00d9ff;
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.post-full-content h3 {
    color: #ffd93d;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.post-full-content p {
    color: #d0d0d0;
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 15px;
}

.post-full-content ul,
.post-full-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.post-full-content li {
    margin-bottom: 12px;
    color: #d0d0d0;
    line-height: 1.8;
}

.post-full-content strong {
    color: #00d9ff;
}

/* Navegação entre Posts */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #333;
}

.post-nav-button {
    display: inline-block;
    padding: 12px 24px;
    background: #111;
    border: 2px solid #00d9ff;
    color: #00d9ff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.post-nav-button:hover {
    background: #00d9ff;
    color: #000;
}

/* Posts Relacionados */
.related-posts {
    list-style: none;
    margin-top: 15px;
}

.related-posts li {
    margin-bottom: 10px;
}

.related-posts a {
    color: #ff9999;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 10px;
    border-left: 2px solid transparent;
}

.related-posts a:hover {
    color: #ff6b6b;
    border-left-color: #ff6b6b;
    padding-left: 15px;
    background: rgba(255, 107, 107, 0.05);
}

/* Link de voltar no menu */
.menu-footer a {
    color: #6bcfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-footer a:hover {
    color: #00d9ff;
}

/* Responsividade para posts completos */
@media (max-width: 600px) {
    .post-full-header {
        padding: 20px;
    }

    .post-full-title {
        font-size: 24px;
    }

    .post-full-content {
        padding: 25px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .post-nav-button {
        text-align: center;
    }
}