/* =====================================================
   Header Actions
===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.10);
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.35);
    transform: translateY(-2px);
}

.theme-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* =====================================================
   Footer
===================================================== */

.footer {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(250, 204, 21, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

/* =====================================================
   Scroll to Top Button
===================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.35);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(250, 204, 21, 0.50);
    background: #eab308;
}

.scroll-to-top:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(250, 204, 21, 0.30);
}

/* =====================================================
   Logo Text Shadow Update
===================================================== */

.logo {
    text-shadow: 
        0 0 10px rgba(250, 204, 21, 0.6),
        0 0 25px rgba(250, 204, 21, 0.4),
        0 0 45px rgba(250, 204, 21, 0.25);
}

.loader-logo {
    text-shadow:
        0 0 20px rgba(250, 204, 21, 0.6),
        0 0 40px rgba(250, 204, 21, 0.4);
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 768px) {
    .header-actions {
        gap: 12px;
    }
    
    .icon-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .notice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .notice-card .notice-date {
        align-self: flex-start;
    }

    .history-card {
        padding: 0;
    }

    .history-section-title {
        font-size: 17px;
    }

    .history-item {
        font-size: 14px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
}
