/* Footer Styles */
.site-footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 12px;
    color: #6b7280;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-button:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Modal Styles */
.fab-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-modal.show {
    display: flex;
    /* Flex to center */
    opacity: 1;
}

.fab-modal-content {
    background: #111827;
    /* Solid dark background for visibility */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.fab-modal.show .fab-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff !important;
    /* Force White */
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    /* Added margin-top */
    margin-bottom: 32px;
}

.quick-link-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: #ffffff !important;
    /* Force White */
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.quick-link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-link-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.quick-link-text {
    font-size: 13px;
    font-weight: 500;
}

/* Popular Searches in Modal */
.modal-popular-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    /* Added margin-top */
}

.modal-search-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 8px 16px;
    color: #e2e8f0;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.modal-search-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.modal-search-rank {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 6px;
}

.modal-search-tag:hover .modal-search-rank {
    color: #fff;
}