.modern-footer {
    background: linear-gradient(135deg, #0D1E34 0%, #2E3E53 100%);
    color: #ffffff;
    margin-top: 60px;
    padding: 40px 0 20px 0;
    box-shadow: 0 -4px 20px rgba(13, 30, 52, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #D2AA92, #7E5841);
    border-radius: 2px;
}

/* Support Section */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-contact-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-support-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-support-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: inherit;
}

.footer-support-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.footer-support-btn img {
    filter: brightness(0) invert(1);
}

/* Social Section */
.footer-social-links {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Legal Section */
.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: inline-block;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #D2AA92, #7E5841);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

/* Support Ticket Overlay - Ensure it's above everything */
.support-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    pointer-events: all !important;
    display: none;
}

.support-overlay-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(13, 30, 52, 0.95) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-sizing: border-box !important;
}

.support-overlay-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(13, 30, 52, 0.3);
    position: relative;
    animation: supportOverlayFadeIn 0.3s ease-out;
}

@keyframes supportOverlayFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.support-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.support-overlay-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0D1E34;
    margin: 0;
}

.support-overlay-close {
    font-size: 24px;
    font-weight: bold;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.support-overlay-close:hover {
    color: #2c3e50;
}

/* Support Form */
.support-ticket-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-form-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.support-form-select,
.support-form-input,
.support-form-textarea {
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.support-form-select:focus,
.support-form-input:focus,
.support-form-textarea:focus {
    outline: none;
    border-color: #2E3E53;
    box-shadow: 0 0 0 3px rgba(46, 62, 83, 0.1);
}

.support-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.support-char-count {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: right;
}

.support-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.support-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.support-btn-cancel {
    background: #ecf0f1;
    color: #7f8c8d;
}

.support-btn-cancel:hover {
    background: #d5dbdb;
    color: #2c3e50;
}

.support-btn-submit {
    background: linear-gradient(135deg, #2E3E53, #0D1E34);
    color: #ffffff;
}

.support-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 62, 83, 0.3);
}

.support-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.support-btn img {
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-support-buttons {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .support-overlay-content {
        padding: 20px;
        margin: 10px;
    }
    
    .support-form-actions {
        flex-direction: column;
    }
}
