/* Home Body Section */
.home-body {
    margin: 40px 0;
    min-height: 500px; /* Fixed height area */
}

.home-body-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 20px;
    align-items: start;
}

.home-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Column 1: Wanna Link Compact */
.wanna-link-compact {
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wanna-link-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.link-icon-small {
    font-size: 2em;
    margin-bottom: 10px;
    animation: gentle-pulse 2s infinite;
}

/* Column 2: Posts List */
.posts-col {
    background: rgba(13, 2, 33, 0.8);
    border-radius: 12px;
    padding: 20px;
}

.posts-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.posts-subtitle {
    color: var(--cyber-cyan);
    font-size: 0.9em;
    margin-top: 5px;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styling */
.posts-list::-webkit-scrollbar {
    width: 4px;
}

.posts-list::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.1);
    border-radius: 2px;
}

.posts-list::-webkit-scrollbar-thumb {
    background: var(--cyber-cyan);
    border-radius: 2px;
}

.post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-item:hover {
    border-left-color: var(--cyber-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.post-date {
    font-size: 0.8em;
    color: var(--cyber-cyan);
    min-width: 80px;
    flex-shrink: 0;
}

.post-title {
    flex: 1;
    font-weight: bold;
}

.post-badge {
    font-size: 0.7em;
    background: var(--cyber-cyan);
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.posts-footer {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.view-all-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateX(5px);
}

/* Column 3: Navigation Menu */
.nav-menu {
    padding: 20px;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    border-left-color: var(--cyber-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav-icon {
    font-size: 1.2em;
    width: 20px;
    text-align: center;
}

.nav-text {
    flex: 1;
    font-weight: bold;
}

.coming-soon {
    opacity: 0.6;
    position: relative;
}

.coming-soon-badge {
    font-size: 0.7em;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
}

/* Animations */
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home-body-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .posts-list {
        max-height: 300px;
    }
    
    .home-body {
        min-height: auto;
    }
}

/* Home Body Two Column Layout */
.home-body-two-col {
    margin: 40px 0;
    min-height: 600px; /* This is the height parameter */
}

.home-body-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left Column - Menu */
.home-left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 280px;
}

.menu-card {
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.menu-icon {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
    animation: gentle-pulse 3s infinite;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    border-left-color: var(--cyber-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.item-icon {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.item-text {
    font-weight: bold;
    font-size: 1.1em;
}

.item-desc {
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 3px;
}

.coming-soon {
    opacity: 0.6;
    position: relative;
}

.soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7em;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.click-hint {
    margin-top: 15px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.85em;
    text-align: center;
    animation: subtle-pulse 2s infinite;
}

/* Status Items */
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    font-size: 0.9em;
    opacity: 0.8;
}

.status-value {
    font-weight: bold;
    color: var(--cyber-cyan);
}

/* Right Column - Transmissions */
.home-right-col {
    flex: 2;
    min-width: 0;
}

.transmissions-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.transmissions-subtitle {
    color: var(--cyber-cyan);
    margin-top: 8px;
    font-size: 0.95em;
}

.transmissions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.transmission-item {
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.transmission-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.transmission-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.transmission-date {
    font-size: 0.85em;
    color: var(--cyber-cyan);
}

.transmission-badge {
    font-size: 0.75em;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.new-badge {
    background: #00ff00;
    color: #000;
}

.popular-badge {
    background: #ff0080;
    color: #fff;
}

.transmission-title {
    font-size: 1.3em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.transmission-excerpt {
    margin-bottom: 15px;
    line-height: 1.5;
    opacity: 0.9;
}

.transmission-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.transmission-tag {
    font-size: 0.8em;
    padding: 3px 8px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.transmissions-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.archive-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.archive-link:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateX(5px);
}

.link-arrow {
    animation: blink 1s infinite;
}

.archive-stats {
    margin-top: 10px;
    font-size: 0.85em;
    opacity: 0.7;
}

/* Animations */
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home-body-container {
        flex-direction: column;
    }
    
    .home-left-col {
        min-width: 100%;
    }
    
    .home-body-two-col {
        min-height: auto; /* Let it grow naturally on mobile */
    }
}
