/* Enhanced Footer Styles */

.fantasylore-footer {
    background: var(--bg-card);
    border-top: 3px solid var(--primary-gold);
    margin-top: 3rem;
    padding: 3rem 0 1rem;
    font-family: "Inter", sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    color: var(--text-light);
}

.footer-section h3 {
    color: var(--primary-gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition-standard);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 184, 76, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2rem;
    padding: 1rem 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Message/Notification Styles */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.message {
    background: var(--bg-card);
    border-left: 4px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px var(--shadow-medium);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-gold);
}

.message.message-success::before { background: #6fbf73; }
.message.message-error::before { background: #f44336; }
.message.message-warning::before { background: #ff9800; }
.message.message-info::before { background: #2196f3; }

.message-content {
    color: var(--text-light);
    flex: 1;
    margin-right: 1rem;
}

.message-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.message-close:hover {
    color: var(--text-light);
}

/* Page Header Styles */
.page-header {
    text-align: center;
    padding: 2rem 0;
    background: var(--gradient-dark);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-gold);
    margin: 0;
    text-shadow: 2px 2px 4px var(--shadow-medium);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .message-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .message {
        margin: 0;
    }
    
    .page-header {
        padding: 1.5rem 1rem;
    }
}

/* Additional Animation Keyframes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.fade-out {
    animation: slideOutRight 0.3s ease-out forwards;
}
