@import url('https://fonts.googleapis.com/css2?family=josefin+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}

.container {
    min-height: 40vh;
    width: 100%;
    display: flex;
    margin-top:5px;
    justify-content: center;
}

.card {
    width: 500px;
    height: 300px;
    color: #fff;
    cursor: pointer;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.front, .back {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #0045c7, #87cefa);
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 30px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    backface-visibility: hidden;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: -1;
}

.card-no {
    font-size: 35px;
    margin-top: 60px;
}

.card-holder {
    font-size: 20px;
    margin-top: 10px;
}

.name {
    font-size: 22px;
    margin-top: 8px;
}

.bar {
    background: #222;
    margin-left: -30px;
    margin-right: -30px;
    height: 60px;
    margin-top: 10px;
}

.card-cvv {
    margin-top: 10px;
}

.card-cvv div {
    flex: 1;
}

.card-cvv img {
    width: 100%;
    display: block;
    line-height: 0;
}

.card-cvv p {
    background: #fff;
    color: #000;
    font-size: 20px;
    padding: 10px 20px;
}

.card-text {
    margin-top: 30px;
    font-size: 18px;
}

.signature {
    margin-top: 5px;
}

.back {
    transform: rotateY(180deg);
}

.card:hover .card-inner {
    transform: rotateY(-180deg);
}



    .glass-container {
        /* تنظیمات شیشه‌ای */
        background: rgba(60,60,60,0.5); /* سفیدی شفاف */
        backdrop-filter: blur(12px);            /* مات کردن پشت شیشه */
        -webkit-backdrop-filter: blur(12px);    /* برای آیفون */
        border: 1px solid rgba(255, 255, 255, 0.4); /* خط دور نازک */
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); /* سایه نرم */
        
        /* تنظیمات ابعاد و فاصله */
        border-radius: 20px;
        padding: 30px;
        margin: 20px auto; /* وسط چین */
        width: 85%;        /* عرض باکس */
        max-width: 85%;  /* نهایت عرض */
        
    }

    .glass-container h3 {
        margin: 0 0 15px 0;
        font-size: 1.4rem;
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* سایه ریز برای خوانایی بهتر */
    }

    .glass-container p {
        margin: 0;
        font-size: 1.1rem;
        line-height: 1.8; /* فاصله خطوط */
        color: #f1f1f1;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    .highlight {
        color: #ffeb3b; /* رنگ زرد برای کلمات مهم */
        font-weight: 900;
        text-decoration: none;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }




       
       
       
       
    #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            /* تعریف گرادیانت رنگی (طیف آبی) */
            background: linear-gradient(-45deg, #005bea, #00c6fb, #0072ff, #4facfe);
            /* نکته مهم: سایز پس‌زمینه باید بزرگتر از صفحه باشد تا بتواند حرکت کند */
            background-size: 400% 400%;
            /* اجرای انیمیشن حرکت پس‌زمینه */
            animation: gradientBG 6s ease infinite;
            
            /* ترنزیشن برای محو شدن نهایی کل صفحه */
            transition: opacity 0.s ease-out, visibility 1s;
        }

        /* انیمیشن حرکت گرادیانت */
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* --- تنظیمات لوگو و متن --- */
        #loading-logo {
            width: 230px;
            height: auto;
            opacity: 0;
            /* انیمیشن سینمایی لوگو (نسخه ملایم) */
            animation: logoSequenceSoft 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
            will-change: transform, opacity, filter;
        }

        #company-name {
            color: white;
            margin-top: 25px;
            font-size: bold;
            font-size: 1.8rem;
            font-weight: bold;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
            opacity: 0;
            transform: translateY(20px);
            /* انیمیشن ظهور متن */
            animation: textReveal 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
            animation-delay: 0.8s;
        }

        /* --- تعریف انیمیشن‌های جدید (Keyframes) --- */

        /* 1. سناریوی لوگو با درخشش ملایم */
        @keyframes logoSequenceSoft {
            0% {
                transform: scale(0.5); /* شروع کوچک */
                opacity: 0;
                filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0));
            }
            30% {
                transform: scale(1); /* زوم کامل */
                opacity: 1;
            }
            75% {
                transform: scale(1); /* مکث */
                opacity: 1;
                filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0));
            }
            90% {
                /* نقطه اوج درخشش ملایم */
                transform: scale(1.05); /* کمی بزرگتر */
                opacity: 1;
                /* فقط کمی روشن‌تر + یک سایه نرم سفید */
                filter: brightness(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
            }
            100% {
                transform: scale(1.1); /* کمی بزرگتر هنگام محو شدن */
                opacity: 0; /* غیب شدن */
                filter: brightness(1); /* بازگشت فیلتر به حالت عادی */
            }
        }

        /* 2. سناریوی ظهور متن (همان قبلی) */
        @keyframes textReveal {
            0% { opacity: 0; transform: translateY(20px); }
            40% { opacity: 1; transform: translateY(0); }
            80% { opacity: 0.75; }
            100% { opacity: 0; }
        }

        /* کلاس برای محو شدن نهایی صفحه لودینگ */
        .fade-out-background {
            opacity: 0;
            visibility: hidden;
        }
#main-content {
            display: none;
            padding: 50px;
            text-align: center;
        }
        
        
        
        
        
            .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background-color: #25D366; /* سبز رسمی واتساپ */
        color: white;
        text-decoration: none;
        padding: 12px 25px;
        border-radius: 50px; /* دکمه کپسولی */
        font-family: 'Vazirmatn', sans-serif;
        font-size: 1.1rem;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        margin-top: 20px;
    }

    .whatsapp-btn:hover {
        background-color: #128C7E; /* رنگ سبز تیره‌تر هنگام موس */
        transform: translateY(-3px); /* کمی بالا رفتن */
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }

    /* استایل آیکون */
    .whatsapp-icon {
        width: 24px;
        height: 24px;
        fill: white;
    }