/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1598d8;
    --primary-dark: #0877b8;
    --secondary: #ffd91a;
    --bg: #06111d;
    --white: #ffffff;
    --text: #f8fafc;
    --text-secondary: #d8efff;
    --text-muted: #9fc5dc;
    --border: #164263;
    --hover: #0e2a42;
    --card-bg: #0d1c2b;
    --shadow: 0 1px 2px rgba(0,0,0,0.55), 0 12px 28px rgba(45,136,255,0.16);
    --shadow-hover: 0 10px 28px rgba(45,136,255,0.28);
    --live-red: #f02849;
    --gold: #1598d8;
    --gold-light: #7ed3ff;
    --gold-dark: #0877b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top left, #1598d8 0%, #06111d 34%, #02070d 100%);
    color: var(--text);
    line-height: 1.5;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(135deg, #03101c 0%, #0b3e63 52%, #03101c 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.55), 0 0 20px rgba(21, 152, 216, 0.14);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold-dark);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(21, 152, 216, 0.35));
}
.brand-text h1 {
    font-size: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text span {
    font-size: 12px;
    color: var(--gold-dim);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: linear-gradient(180deg, #082037 0%, #0d1c2b 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-item > a:hover {
    color: var(--gold);
    background: rgba(21, 152, 216, 0.08);
    border-bottom-color: var(--gold);
}

.nav-item.active > a {
    color: var(--gold);
    background: rgba(21, 152, 216, 0.11);
    border-bottom: 3px solid var(--gold);
}

.nav-item i.fa-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s;
    color: var(--gold-dark);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, #0d1c2b 0%, #0e2a42 100%);
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.62), 0 0 20px rgba(21, 152, 216, 0.14);
    border-radius: 0 0 8px 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu {
    pointer-events: none;
}

.nav-item.has-dropdown:hover > a {
    color: var(--gold);
    background: rgba(21, 152, 216, 0.11);
}

.nav-item.has-dropdown:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
    background: rgba(21, 152, 216, 0.14);
    color: var(--gold);
    padding-left: 24px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    color: var(--gold);
    font-size: 24px;
    padding: 10px 16px;
    cursor: pointer;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 20px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 16px;
}

/* ===== LEFT SIDEBAR ===== */
.left-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-menu {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background: var(--hover);
    color: var(--gold);
}

.sidebar-item.active {
    background: rgba(21, 152, 216, 0.18);
    color: var(--gold);
}

.sidebar-item i {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.sidebar-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-section h3 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.shortcut-item:hover {
    color: var(--gold);
    padding-left: 4px;
}

.shortcut-item i {
    color: var(--gold);
    width: 20px;
}

/* ===== MAIN FEED ===== */
.main-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Create Post */
.create-post {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 12px 16px;
    border: 1px solid var(--border);
}

.post-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06111d;
    font-size: 18px;
    font-weight: bold;
}

.post-input input {
    flex: 1;
    border: none;
    background: var(--hover);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.post-input input:hover {
    background: #153b66;
    border-color: var(--gold-dark);
}

.post-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 8px;
}

.post-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.post-actions button:hover {
    background: var(--hover);
    color: var(--gold);
}

/* Streaming Card */
.streaming-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, #0d1c2b 0%, #12375f 100%);
}

.stream-header h2 {
    font-size: 18px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stream-header h2 i {
    color: var(--live-red);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--live-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    50% { opacity: 0.5; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.stream-container {
    position: relative;
}

.video-wrapper {
    position: relative;
    background: #02070d;
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stream-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    cursor: pointer;
    transition: opacity 0.3s;
}

.stream-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 64px;
    margin-bottom: 8px;
    opacity: 0.9;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(21, 152, 216, 0.38);
}

.overlay-content p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-light);
}

.stream-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(90deg, #06111d 0%, #0e2a42 100%);
    color: var(--text-secondary);
    font-size: 13px;
    border-top: 1px solid var(--border);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.now-playing i {
    color: var(--gold);
}

.stream-stats {
    display: flex;
    gap: 16px;
}

.stream-stats i {
    color: var(--live-red);
}

.stream-actions {
    display: flex;
    padding: 8px 16px;
    gap: 8px;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: none;
    background: var(--hover);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.action-btn:hover {
    background: rgba(21, 152, 216, 0.14);
    color: var(--gold);
    border-color: var(--gold-dark);
}

.action-btn.like:hover { color: var(--primary); border-color: var(--primary); }
.action-btn.share:hover { color: var(--secondary); border-color: var(--secondary); }
.action-btn.comment:hover { color: var(--gold); border-color: var(--gold); }
.action-btn.fullscreen:hover { color: var(--text); border-color: var(--border); }

/* Feed Section */
.feed-section {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 16px;
    border: 1px solid var(--border);
}

.section-title {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title i {
    color: var(--gold);
}

/* Post Card */
.post-card {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.post-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #06111d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.post-meta h4 {
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}

.post-meta span {
    font-size: 13px;
    color: var(--text-muted);
}

.post-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 12px;
}

.post-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2f55 0%, #0f172a 100%);
    color: var(--gold);
    gap: 8px;
    border: 1px solid var(--border);
}

.post-image i {
    font-size: 48px;
    opacity: 0.8;
}

.post-image span {
    font-size: 18px;
    font-weight: 600;
}

.placeholder-image {
    background: linear-gradient(135deg, #0d1c2b 0%, #8d96a3 100%);
    color: var(--text-muted);
}

.post-stats {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.post-buttons {
    display: flex;
    padding-top: 8px;
    gap: 4px;
}

.post-buttons button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.post-buttons button:hover {
    background: var(--hover);
    color: var(--gold);
}

/* ===== RIGHT SIDEBAR ===== */
.right-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    font-size: 15px;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-widget h3 i {
    color: var(--gold);
}

/* Trending */
.trending-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.trending-item:hover {
    background: var(--hover);
    margin: 0 -16px;
    padding: 12px 16px;
    border-radius: 6px;
}

.trend-category {
    display: block;
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.trend-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 4px 0;
}

.trend-stats {
    font-size: 12px;
    color: var(--text-muted);
}

/* Ministries */
.ministry-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ministry-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ministry-item:hover {
    background: var(--hover);
    color: var(--gold);
}

.mini-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #06111d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* Schedule */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.schedule-item:hover {
    background: var(--hover);
}

.schedule-item .time {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    min-width: 50px;
}

.schedule-item .program {
    font-size: 14px;
    color: var(--text);
}

.schedule-item.now {
    background: rgba(21, 152, 216, 0.18);
    border: 1px solid var(--gold-dark);
}

.schedule-item.now .time {
    color: var(--live-red);
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(180deg, #06111d 0%, #02070d 100%);
    margin-top: 40px;
    border-top: 2px solid var(--gold-dark);
    padding: 40px 16px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    margin-bottom: 0;
    padding-left: 0 !important;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #06111d;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(21, 152, 216, 0.28);
}

.footer-bottom {
    max-width: 1400px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--gold-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 240px 1fr 260px;
    }
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stream-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1 1 45%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-text span {
        display: none;
    }

    .post-buttons button span {
        display: none;
    }

    .stream-header h2 {
        font-size: 14px;
    }

    .stream-info {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

/* Mobile Menu Active State */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #06111d;
    z-index: 1002;
    border-top: 2px solid var(--gold);
    padding: 10px 20px;
}

.nav-menu.mobile-active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(21, 152, 216, 0.05);
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    margin-left: 20px;
    margin-bottom: 10px;
    min-width: auto;
}

.nav-menu.mobile-active .dropdown-menu li a {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
}

/* ===== PAGE TEMPLATE STYLES ===== */
.page-content {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 32px;
    border: 1px solid var(--border);
    max-width: 1200px;
    margin: 40px auto;
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gold-dark);
}

.page-header h1 {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-section {
    margin-bottom: 32px;
}

.page-section h2 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.page-section h2 i {
    color: var(--gold);
}

.page-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.info-card {
    background: linear-gradient(135deg, #0d1c2b 0%, #122b49 100%);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.55), 0 0 30px rgba(21, 152, 216, 0.14);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card i {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(21, 152, 216, 0.28);
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
}

.coming-soon i {
    font-size: 64px;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(21, 152, 216, 0.34);
}

.coming-soon h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--gold);
    font-weight: 800;
}

.coming-soon p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: radial-gradient(circle at top left, #1598d8 0%, #06111d 34%, #02070d 100%);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}












/* ===== NAV MORE & COMMITTEE PUBLISHING ===== */
.nav-more {
    margin-left: auto;
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-menu li a i {
    width: 18px;
    margin-right: 8px;
    color: var(--gold-light);
}

.publishing-page {
    min-height: calc(100vh - 120px);
    padding: 32px 16px;
}

.publishing-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 18px;
    align-items: start;
}

.publishing-panel {
    background: linear-gradient(180deg, rgba(13, 28, 43, 0.96), rgba(6, 17, 29, 0.96));
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.posts-panel {
    grid-row: span 2;
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.panel-heading.compact {
    align-items: flex-start;
}

.panel-heading > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #06111d;
    font-size: 20px;
    flex-shrink: 0;
}

.panel-heading h2 {
    font-size: 22px;
    line-height: 1.2;
    color: var(--text);
}

.panel-heading p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.committee-form {
    display: grid;
    gap: 14px;
}

.committee-form label {
    display: grid;
    gap: 7px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

.committee-form input,
.committee-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #071522;
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    outline: none;
}

.committee-form input:focus,
.committee-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(21, 152, 216, 0.18);
}

.primary-action,
.ghost-action {
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-action {
    color: #06111d;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.ghost-action {
    margin-left: auto;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.form-message {
    min-height: 20px;
    color: var(--secondary);
    font-size: 13px;
}

.demo-users {
    margin-top: 18px;
    display: grid;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.demo-users strong {
    color: var(--text-secondary);
}

.file-picker {
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    background: rgba(21, 152, 216, 0.08);
}

.file-picker input {
    display: none;
}

.post-preview {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.hidden {
    display: none !important;
}

.committee-admin-posts,
.committee-posts-feed {
    display: grid;
    gap: 16px;
}

.committee-admin-empty {
    color: var(--text-muted);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.post-card.committee-post {
    border-color: rgba(21, 152, 216, 0.45);
}

.post-card.committee-post .post-image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.delete-post-btn {
    margin-top: 10px;
    color: #fff;
    background: #d7352a;
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 980px) {
    .nav-more {
        margin-left: 0;
    }

    .publishing-shell {
        grid-template-columns: 1fr;
    }

    .posts-panel {
        grid-row: auto;
    }
}


/* ===== FULL 12-TAB NAVIGATION ===== */
.header-publish-link {
    color: #06111d;
    background: linear-gradient(135deg, var(--secondary), #ffb000);
    border-radius: 8px;
    padding: 9px 13px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 18px rgba(255, 217, 26, 0.16);
    white-space: nowrap;
}

.nav-menu-full {
    justify-content: center;
    overflow: visible;
    gap: 1px;
}

.nav-menu-full .nav-item > a {
    padding: 12px 8px;
    font-size: 12px;
    gap: 5px;
}

.nav-menu-full .nav-item > a i:first-child {
    font-size: 12px;
}

.nav-menu-full .nav-item i.fa-chevron-down {
    margin-left: 1px;
}

.nav-menu-full .dropdown-menu {
    min-width: 210px;
}

.section-posts {
    scroll-margin-top: 140px;
}

@media (max-width: 1280px) {
    .nav-menu-full .nav-item > a {
        padding: 11px 6px;
        font-size: 11px;
    }
}

@media (max-width: 1080px) {
    .nav-menu-full {
        justify-content: flex-start;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .header-top {
        gap: 10px;
    }

    .header-publish-link {
        padding: 8px 10px;
        font-size: 12px;
    }

    .nav-menu-full {
        overflow-x: visible;
    }
}

/* ===== MOBILE NAVIGATION FIX ===== */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .main-header {
        position: sticky;
        top: 0;
    }

    .header-top {
        padding: 8px 12px;
    }

    .logo {
        width: 52px;
        height: 52px;
    }

    .brand-text h1 {
        font-size: 18px;
    }

    .main-nav {
        min-height: 48px;
        justify-content: flex-end;
        padding: 0 12px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: rgba(21, 152, 216, 0.12);
        color: var(--gold-light);
        margin-left: auto;
    }

    .mobile-menu-btn.active {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: #06111d;
    }

    .nav-menu,
    .nav-menu-full {
        display: none;
    }

    .nav-menu.mobile-active,
    .nav-menu-full.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 10px 12px 24px;
        background: linear-gradient(180deg, #06111d 0%, #082037 100%);
        z-index: 2000;
        border-top: 2px solid var(--gold);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
    }

    .nav-menu.mobile-active .nav-item,
    .nav-menu-full.mobile-active .nav-item {
        width: 100%;
        border: 1px solid rgba(126, 211, 255, 0.14);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        overflow: hidden;
    }

    .nav-menu.mobile-active .nav-item > a,
    .nav-menu-full.mobile-active .nav-item > a {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 13px 14px;
        font-size: 15px;
        border-bottom: 0;
        white-space: normal;
    }

    .nav-menu.mobile-active .nav-item > a .fa-chevron-down,
    .nav-menu-full.mobile-active .nav-item > a .fa-chevron-down {
        margin-left: auto;
    }

    .nav-menu.mobile-active .dropdown-menu,
    .nav-menu-full.mobile-active .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0 0 8px 0;
        background: rgba(21, 152, 216, 0.08);
        border: 0;
        border-top: 1px solid var(--border);
        box-shadow: none;
        pointer-events: auto;
    }

    .nav-menu.mobile-active .nav-item.mobile-open .dropdown-menu,
    .nav-menu-full.mobile-active .nav-item.mobile-open .dropdown-menu {
        display: block;
    }

    .nav-menu.mobile-active .nav-item.mobile-open > a,
    .nav-menu-full.mobile-active .nav-item.mobile-open > a {
        color: var(--gold-light);
        background: rgba(21, 152, 216, 0.14);
    }

    .nav-menu.mobile-active .nav-item.mobile-open .fa-chevron-down,
    .nav-menu-full.mobile-active .nav-item.mobile-open .fa-chevron-down {
        transform: rotate(180deg);
    }

    .nav-menu.mobile-active .dropdown-menu li a,
    .nav-menu-full.mobile-active .dropdown-menu li a {
        padding: 12px 18px 12px 38px;
        font-size: 14px;
        border-bottom: 1px solid rgba(126, 211, 255, 0.12);
    }

    .header-publish-link {
        position: fixed;
        right: 68px;
        top: 72px;
        z-index: 2001;
        padding: 8px 10px;
        font-size: 12px;
    }

    .main-container,
    .page-content,
    .publishing-page {
        margin-top: 16px;
    }
}

@media (max-width: 420px) {
    .header-publish-link {
        font-size: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .header-publish-link i {
        font-size: 16px;
    }

    .nav-menu.mobile-active,
    .nav-menu-full.mobile-active {
        top: 110px;
    }
}
