/**
 * Dynamic Business Eid Salami & Greeting Template - 2026
 * Ultra Premium Dark Styling | Royal Obsidian & Imperial Emerald Edition
 * Dedicated 9:16 Mobile Story Container Layout
 * Design No: 12
 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #030706;
    font-family: 'Baloo Da 2', 'Rajdhani', 'Atma', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
}

/* ব্যাকগ্রাউন্ড ম্যাজেস্টিক এমারেল্ড ও গোল্ডেন গ্লো অ্যানিমেশন */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(245, 158, 11, 0.06));
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    filter: blur(12px);
    animation: royalFloat linear infinite;
}

@keyframes royalFloat {
    0% { transform: translateY(100vh) rotate(0deg) scale(0.6); opacity: 0; }
    40% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-10vh) rotate(360deg) scale(1.3); opacity: 0; }
}

/* প্রধান কন্টেইনার র‍্যাপার */
.page-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 12px;
}

/* ৯:১৬ স্টোরি ফ্রেম বাউন্ডারি */
.capture-area {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

/* কার্ড এক্সপোর্ট জোন (রয়্যাল এমারেল্ড লাক্সারি ফ্রেম) */
.card-export-zone {
    width: 100%;
    background: #040807 linear-gradient(165deg, #040807 0%, #081c15 50%, #030a08 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.15);
    border-radius: 24px;
    padding: 26px 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.98), 0 0 35px rgba(245, 158, 11, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

/* লাক্সারি গোল্ড ও এমারেল্ড টপ বর্ডার রেখা */
.card-export-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #F59E0B, #34D399);
}

/* প্রোফাইল ও ব্র্যান্ডিং সেকশন */
.profile-container {
    text-align: center;
    width: 100%;
}

.logo-box {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #F59E0B, #10B981);
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.35);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #040807;
}

/* গাঢ় ও উজ্জ্বল মেটালিক গোল্ডেন গ্রেডিয়েন্টে কোম্পানির নাম */
.biz-name {
    font-family: 'Atma', sans-serif;
    font-size: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 20%, #F59E0B 75%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

.biz-desc {
    font-size: 11.5px;
    color: #d1fae5;
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

/* রয়্যাল ইসলামিক আর্ট গ্রিটিংস কার্ড বক্স */
.greeting-card {
    width: 100%;
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 1px 15px rgba(16, 185, 129, 0.04), 0 4px 20px rgba(0, 0, 0, 0.6);
}

.islamic-art-top {
    color: #F59E0B;
    font-size: 17px;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.6));
}

.greeting-card h1 {
    font-family: 'Atma', sans-serif;
    font-size: 24px;
    background: linear-gradient(135deg, #10B981, #F59E0B, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-weight: 700;
}

.wish-text {
    font-size: 13px;
    color: #ecfdf5;
    line-height: 1.6;
    font-weight: 500;
}

/* সালামি ওয়ালেট সেকশন */
.salami-wallet-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.wallet-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(16, 185, 129, 0.09);
    border-radius: 14px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-card:hover {
    background: rgba(16, 185, 129, 0.03);
    border-color: rgba(245, 158, 11, 0.4);
    transform: scale(1.01);
    box-shadow: 0 5px 18px rgba(16, 185, 129, 0.18);
}

.wallet-brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.wallet-icon-boximg {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.wallet-icon-boximg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wallet-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.w-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

/* নাম্বার হাইলাইটের জন্য গাঢ় এমারেল্ড গ্রিন গ্লো কালার */
.w-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: #10B981;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.copy-badge {
    background: transparent;
    border: none;
    color: #112c21;
    font-size: 14px;
    transition: color 0.2s ease;
}

.wallet-card:hover .copy-badge {
    color: #F59E0B;
}

/* থ্যাংকস মেসেজ রয়্যাল মেটালিক ব্যাজ */
.thanks-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.thanks-badge {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.animate-heart {
    color: #10B981;
    animation: royalHeart 0.6s infinite alternate;
    filter: drop-shadow(0 0 5px #10B981);
}

@keyframes royalHeart {
    to { transform: scale(1.25); }
}

/* ফিক্সড ইন্টারনাল ফুটার */
.site-inner-footer {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.inner-copyright {
    font-size: 9.5px;
    color: #213d33;
    letter-spacing: 0.3px;
}

.inner-copyright b {
    color: #F59E0B;
}

.inner-credits {
    font-size: 9.5px;
    color: #213d33;
    letter-spacing: 0.5px;
}

.inner-credits a {
    color: #10B981;
    text-decoration: none;
    font-weight: 700;
}

/* ১০টি সোশ্যাল আইকন গ্রিড */
.social-grid-wrapper {
    width: 100%;
    margin-top: 14px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-items: center;
    background: rgba(4, 8, 7, 0.97);
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    background: linear-gradient(135deg, #10B981, #F59E0B);
    color: #040807;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
    border-color: transparent;
}

/* ডাউনলোড অ্যাকশন বাটন এবং ল্যাঙ্গুয়েজ কন্ট্রোল */
.interactive-controls {
    width: 100%;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.download-trigger {
    width: 100%;
    background: linear-gradient(135deg, #10B981, #F59E0B, #34D399);
    border: none;
    padding: 12px;
    border-radius: 14px;
    color: #040807;
    font-family: 'Atma', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 5px 18px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.download-trigger:hover {
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45);
    opacity: 0.95;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.lang-switcher a {
    color: #213d33;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.lang-switcher a.active, .lang-switcher a:hover {
    color: #F59E0B;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

.lang-switcher .divider {
    color: #0d1f19;
}

/* কাস্টম ইম্পেরিয়াল টোস্ট অ্যালার্ট */
.custom-toast {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #040807;
    border: 1px solid #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
    padding: 9px 22px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}

.custom-toast.show {
    top: 25px;
    opacity: 1;
}

.custom-toast i {
    color: #10B981;
}

/* ফ্লোটিং হোয়াটসঅ্যাপ আইকন */
.whatsapp-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 999;
}

.ping-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    opacity: 0.35;
    animation: ping 1.4s infinite;
    z-index: -1;
}

@keyframes ping {
    100% { transform: scale(1.4); opacity: 0; }
}