/*
 * /footer-styles.css
 * Styles for the new Nexus Command Footer
 */

/* --- Main Footer Layout --- */
.site-footer {
    background-color: #0c0d12; /* A very dark, near-black blue */
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    padding: 50px 40px 0;
    color: #a9b3c1;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.footer-column h4 {
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    padding-bottom: 10px;
}

/* --- Column 1: Navigation --- */
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li a {
    color: #a9b3c1;
    text-decoration: none;
    padding: 5px 0;
    display: inline-block;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* --- Column 2: Nexus Status --- */
.status-feed p {
    margin: 0 0 12px;
}
.status-feed strong {
    color: #fff;
}
#online-users-count, #latest-chapter-title {
    color: #4a90e2;
    font-weight: bold;
}
#system-time-jst {
    font-family: monospace;
    font-weight: bold;
    color: #67c23a; /* Green terminal color */
}

/* --- Column 3: Archives & Lore Button --- */
#lore-btn {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.5);
    color: #fff;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}
#lore-btn:hover {
    background-color: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
}

/* --- Sub-Footer Bar --- */
.footer-sub-bar {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-sub-bar p {
    margin: 0;
}


/* --- Secret Star Modal Fix --- */
.secret-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.secret-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.secret-modal-content {
    background: #0f111a;
    border: 1px solid rgba(74, 144, 226, 0.5);
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.secret-modal-content h3 {
    margin: 0 0 15px 0;
    color: #4a90e2;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}