/* ============================================
   BIG MAC'S CORNER ~ BLOG STYLES
   Y2K Green Stars Vibes 💚✨
   ============================================ */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: url('https://kennababy123.neocities.org/Blog/Green%20stars%20.jpg') repeat;
    background-attachment: fixed;
    color: #2d3a1e;
    min-height: 100vh;
    display: flex;
    line-height: 1.6;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 240px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-right: 3px dashed #7cb342;
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(124, 179, 66, 0.2);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #aed581;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #7cb342;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(124, 179, 66, 0.4);
}

.sidebar-header h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    color: #558b2f;
    margin-bottom: 5px;
    text-shadow: 1px 1px 0 #c5e1a5;
}

.tagline {
    font-size: 0.8rem;
    color: #8bc34a;
    font-style: italic;
}

.directory h3 {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: #689f38;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 2px;
}

.directory ul {
    list-style: none;
}

.directory li {
    margin-bottom: 8px;
}

.directory a {
    display: block;
    text-decoration: none;
    color: #33691e;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.directory a:hover {
    background: #dcedc8;
    border: 2px dashed #8bc34a;
    transform: translateX(5px);
}

.directory a.active {
    background: #c5e1a5;
    border: 2px solid #7cb342;
    font-weight: 700;
}

.sidebar-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
}

.blinkie img {
    max-width: 100%;
    margin-bottom: 10px;
}

.counter {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #558b2f;
}

.counter span {
    background: #1b5e20;
    color: #a5d6a7;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 2px;
}

/* --- MAIN CONTENT --- */
.main-content {
    margin-left: 240px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
}

.blog-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: 4px double #8bc34a;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.3), inset 0 0 20px rgba(139, 195, 74, 0.1);
}

.blog-header h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: #33691e;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 #c5e1a5;
    line-height: 1.8;
}

.subtitle {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: #689f38;
    letter-spacing: 1px;
}

/* --- TABS --- */
.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.tab-btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
    border: 3px solid #8bc34a;
    background: rgba(255, 255, 255, 0.8);
    color: #558b2f;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 3px;
}

.tab-btn:hover {
    background: #dcedc8;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #fff;
    border-bottom: 3px solid #fff;
    color: #33691e;
    box-shadow: 0 -4px 10px rgba(139, 195, 74, 0.2);
}

/* --- TAB CONTENT --- */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BLOG ENTRIES --- */
.blog-entry {
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid #aed581;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 
        4px 4px 0 #c5e1a5,
        8px 8px 0 rgba(139, 195, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-entry::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #aed581;
    opacity: 0.5;
}

.entry-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #c5e1a5;
}

.entry-date {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #8bc34a;
    margin-bottom: 5px;
}

.entry-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #33691e;
    margin-bottom: 5px;
}

.entry-mood {
    display: inline-block;
    font-size: 0.85rem;
    color: #689f38;
    background: #f1f8e9;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px dashed #aed581;
}

.entry-body {
    color: #3e4e2a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.entry-body p {
    margin-bottom: 12px;
}

.entry-tags {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #c5e1a5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    color: #558b2f;
    background: #f1f8e9;
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid #aed581;
    transition: all 0.2s;
}

.tag:hover {
    background: #dcedc8;
    transform: scale(1.05);
}

/* --- ARCHIVE TAB --- */
.archive-box, .about-box {
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid #aed581;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 4px 4px 0 #c5e1a5;
}

.archive-box h2, .about-box h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: #33691e;
    margin-bottom: 20px;
    text-align: center;
}

.archive-list {
    list-style: none;
}

.archive-list li {
    margin-bottom: 12px;
}

.archive-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #33691e;
    padding: 10px 15px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.archive-list a:hover {
    background: #f1f8e9;
    border: 2px dashed #8bc34a;
    transform: translateX(5px);
}

.archive-date {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #8bc34a;
    min-width: 70px;
}

/* --- ABOUT TAB --- */
.about-box p {
    color: #3e4e2a;
    margin-bottom: 15px;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dotted #c5e1a5;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #8bc34a;
}

.stat-label {
    font-size: 0.85rem;
    color: #689f38;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
.blog-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #558b2f;
    font-size: 0.85rem;
}

.blog-footer p:first-child {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f8e9;
}

::-webkit-scrollbar-thumb {
    background: #aed581;
    border-radius: 10px;
    border: 3px solid #f1f8e9;
}

::-webkit-scrollbar-thumb:hover {
    background: #8bc34a;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 3px dashed #7cb342;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    body {
        flex-direction: column;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
}