/* css/support.css */
/* Support Page Styles with Coupon Modal and User Menu */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1000;
    transition: transform 0.4s ease, background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
}

.navbar.hide {
    transform: translateY(-100%);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 3.5%;
    max-width: 1920px;
    margin: 0 auto;
}

.navbar-brand .logo {
    height: 36px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e50914;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #e50914;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.premium-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #000;
    padding: 7px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
}

.nav-link.premium-link::after {
    display: none;
}

.nav-link.premium-link:hover {
    background: linear-gradient(135deg, #ffb800, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 6px 14px;
    transition: all 0.3s ease;
    min-width: 180px;
    border: 1px solid rgba(255,255,255,0.1);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.85rem;
    width: 100%;
    padding: 0 8px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: scale(1.15);
}

/* ===== Support Hero Section ===== */
.support-hero-section {
    width: 100%;
    padding: 120px 4% 60px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(10,10,20,0.8) 100%);
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.support-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229,9,20,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.support-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.support-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.support-hero-title i {
    color: #e50914;
    margin-left: 10px;
}

.support-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* ===== Support Content ===== */
.support-content {
    position: relative;
    z-index: 2;
    padding: 60px 4%;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Contact Info Cards ===== */
.contact-info-section {
    margin-bottom: 80px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: #e50914;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

.email-icon {
    background: linear-gradient(135deg, #e50914, #c20812);
    color: #fff;
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: #fff;
}

.telegram-group-icon {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    color: #fff;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e50914;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #fff;
}

/* ===== Support Form ===== */
.support-form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 9, 20, 0.15);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
}

.support-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #e50914;
    outline: none;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ✅ Dropdown Styling */
select.form-input {
    color-scheme: dark;
}

select.form-input option {
    background: #1a1a1a;
    color: #fff;
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e50914, #c20812);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #c20812, #e50914);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Success/Error Messages ===== */
.success-message {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.success-message i {
    font-size: 48px;
    color: #4caf50;
    display: block;
    margin-bottom: 15px;
}

.success-message h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.7);
}

.error-alert {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(229, 57, 53, 0.2));
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.error-alert i {
    font-size: 48px;
    color: #f44336;
    display: block;
    margin-bottom: 15px;
}

.error-alert h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.error-alert p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FAQ Section ===== */
.faq-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.faq-items {
    display: grid;
    gap: 15px;
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: right;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-button:hover {
    background: rgba(229, 9, 20, 0.1);
}

.faq-button h3 {
    font-size: 1.05rem;
    margin: 0;
}

.faq-button i {
    transition: transform 0.3s ease;
    color: #e50914;
}

.faq-item.active .faq-button {
    background: rgba(229, 9, 20, 0.15);
}

.faq-item.active .faq-button i {
    transform: rotate(-180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ✅✅✅ ===== COUPON MODAL CSS ===== ✅✅✅ */

/* Modal Overlay Container */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

/* عند فتح Modal */
.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* الخلفية السوداء مع Blur */
.modal-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* Coupon Modal Content */
.coupon-modal {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    z-index: 2;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e50914, #b20710);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.modal-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.modal-close:hover {
    background: rgba(229, 9, 20, 0.8);
    transform: rotate(90deg);
}

/* Modal Body */
.coupon-form {
    padding: 30px 25px;
}

.coupon-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.coupon-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
}

.coupon-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #e50914;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

/* Submit Button */
.btn-activate {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
}

.btn-activate:active {
    transform: translateY(0);
}

/* RESPONSIVE COUPON MODAL */
@media (max-width: 768px) {
    .coupon-modal {
        width: 95%;
        max-width: 450px;
    }
    
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .modal-header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .modal-header p {
        font-size: 13px;
    }
    
    .coupon-form {
        padding: 25px 20px;
    }
    
    .coupon-input {
        padding: 12px 14px;
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    
    .btn-activate {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .coupon-modal {
        width: 98%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px 15px;
    }
    
    .modal-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-header p {
        font-size: 12px;
    }
    
    .coupon-form {
        padding: 20px 15px;
    }
}

/* ===== Footer ===== */
.footer {
    background: #0a0a0a;
    padding: 35px 0 25px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4%;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.35s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.tiktok:hover {
    background: #000;
}

.social-icon.telegram:hover {
    background: #0088cc;
}

.social-icon.telegram-group:hover {
    background: #229ED9;
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e50914;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    margin-top: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom span {
    color: #e50914;
    font-weight: 600;
}

.footer-bottom .team {
    color: #e50914;
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .support-hero-title {
        font-size: 1.8rem;
    }
    
    .support-form-section {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .faq-items {
        max-width: 100%;
    }
    
    .navbar-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .support-hero-title {
        font-size: 1.3rem;
    }
    
    .support-hero-subtitle {
        font-size: 0.85rem;
    }
    
    .support-content {
        padding: 40px 4%;
    }
    
    .form-input,
    .form-textarea {
        padding: 10px 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links .separator {
        display: none;
    }
}
