/* استایل‌های پایه */
html,
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    background: url('img/bg.jpg') no-repeat center center fixed;
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    color: white;
}

main {
    flex: 1;
    padding: 20px;
}

/* فوتر */
.footer {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 3px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            #667eea 0%,
            #764ba2 25%,
            #667eea 50%,
            #764ba2 75%,
            #667eea 100%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* بخش شبکه‌های اجتماعی */
.social-section {
    text-align: center;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-title i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.social-link i {
    font-size: 1.4rem;
}

/* اینستاگرام */
.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram:hover {
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.5);
}

/* تلگرام */
.telegram::before {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.telegram:hover {
    box-shadow: 0 10px 30px rgba(34, 158, 217, 0.5);
}

/* واتساپ */
.whatsapp::before {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* بخش درباره ما */
.about-section {
    text-align: center;
    padding: 0 20px;
}

.about-text,
.license-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0bec5;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.about-text i,
.license-text i {
    font-size: 1.2rem;
    color: #667eea;
}

/* بخش نمادها */
.enamad-section {
    display: flex;
    justify-content: center;
}

.trust-badges {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
}

.badge-item img {
    max-height: 80px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* بخش کپی‌رایت */
.copyright-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text,
.designer-text {
    font-size: 0.95rem;
    color: #90a4ae;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copyright-text i {
    color: #667eea;
}

.designer-text strong {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.heart-beat {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }
}

.fa-mug-hot {
    color: #8d6e63;
}

/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.back-to-top i {
    animation: bounce-up 1s infinite;
}

@keyframes bounce-up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .footer-content {
        padding: 40px 20px 20px;
        gap: 30px;
    }

    .social-title {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .social-link i {
        font-size: 1.2rem;
    }

    .about-text,
    .license-text {
        font-size: 0.95rem;
    }

    .trust-badges {
        gap: 15px;
    }

    .badge-item img {
        max-height: 65px;
    }

    .copyright-text,
    .designer-text {
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        flex-direction: column;
    }
}

