:root {
 
    --tg-theme-bg-color: #070ca0ff;
    --tg-theme-text-color: #fff;
    --tg-theme-secondary-bg-color: #15232d;
    --tg-theme-button-color: #4CAF50;
    --tg-theme-button-text-color: #fff;
}
@font-face {
    font-family: 'Laleh Zari';
    src: local('Lalezar Regular'), local('Lalezar-Regular'),
         url('/ci3/assets/fonts/Lalezar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    text-align: right;
    direction: rtl;
    padding: 80px;
    min-height: 100vh;
    padding-bottom: 60px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
}

.game-container {
    max-width: 90%;
    margin: 0 auto 25px;
    background: var(--tg-theme-secondary-bg-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.game-container:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    transform: translateY(-3px);
}

h1 {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    margin-bottom: 25px;
    color: var(--tg-theme-button-color);
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--tg-theme-button-color), #4b6cb7);
    border-radius: 2px;
}

.game-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 15px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tg-theme-text-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
}

.tab.active {
    background: linear-gradient(to right, var(--tg-theme-button-color), #4b6cb7);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}



.word-wrapper {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    display: flex;
    justify-content: center;
    margin: 25px 0;
    flex-direction: column;
    align-items: center;
}

.word-display {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    direction: rtl;
    flex-wrap: wrap;
    max-width: 100%;
}

.word-display span {
    width: 55px;
    height: 55px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tg-theme-text-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.word-display span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.word-display span.correct {
    background: rgba(76, 175, 80, 0.3);
    color: var(--tg-theme-button-color);
    border-color: var(--tg-theme-button-color);
    transform: scale(1.1);
}

.word-display span.correct::before {
    opacity: 1;
}

.word-display span.wrong {
    background: rgba(244, 67, 67, 0.2);
    color: #f44336;
    border-color: #f44336;
}

.instructions {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 15px;
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    border-left: 3px solid var(--tg-theme-button-color);
    position: relative;
}

.game-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.hint-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
}

.hint-label {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:19px;
    color: #fff200;
    margin-bottom: 5px;
    font-weight:normal;
}

.hint-btn {
    background: linear-gradient(45deg, #ff9966, #ff5e62);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 16px; 
    font-weight: normal;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s;
    width: 100%;
    max-width: 150px;
    text-align: center;
    height: 46px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hint-section-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start !important; 
    gap: 10px;
    margin-bottom: 15px;
    width: 100%; 
}
.reveal-btn {
    background: linear-gradient(45deg, #FF512F, #DD2476); /* رنگ صورتی/قرمز */
}

.reveal-btn:hover {
    opacity: 0.9;
}

/* اگر دکمه‌ها در موبایل خیلی نزدیک بودند */
@media (max-width: 350px) {
    .hint-section-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
.coin-guide-btn {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    font-family: 'Laleh Zari', sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-right: 10px;
    
    width: auto !important;
    min-width: 110px !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    
    position: relative !important;
    overflow: hidden !important;
}

.coin-guide-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    
    /* --- تغییر: انیمیشن مستقیماً اینجا اعمال می‌شود --- */
    animation: shine 2s infinite; /* مدت زمان ۲ ثانیه و تکرار بی‌نهایت */
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* استایل متن توضیحات در مودال */
.shop-description {
    font-size: 14px;
    color: #555;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
    background: #fffbe6;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ffe58f;
}

/* تنظیمات دکمه‌های خرید داخل مودال */
.coin-shop {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.buy-btn {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    border: none;
    border-radius: 8px;
    padding: 18px 12px; 
    color: white;
    font-family: 'Laleh Zari', sans-serif;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.buy-btn:active {
    transform: scale(0.98);
}

.tabs-header {
    display: flex !important;
    gap: 10px !important;
}

/* استایل مودال نام */
.name-modal-content {
    text-align: center;
    padding: 30px 20px;
}

.name-modal-title {
    color: #4CAF50;
    font-size: 28px;
    margin-bottom: 10px;
}

.name-modal-desc {
    color: #666;
    margin-bottom: 25px;
}

.name-input-wrapper {
    margin-bottom: 20px;
}

.name-input-large {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s;
}

.name-input-large:focus {
    border-color: #4CAF50;
}

.submit-name-btn {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-name-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.submit-name-btn:active {
    transform: translateY(0);
}

.name-modal-note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* مخفی کردن مودال */
.modal {
    display: none;
}

.modal.show {
    display: flex;
}
/* استایل باکس سکه در تب بازی */
.game-tab-coin {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    font-family: 'Laleh Zari', sans-serif !important;
    font-weight: bold !important;
    color: #333 !important;
}

.game-tab-coin .coin-icon {
    font-size: 18px !important;
}

.game-tab-coin #game-coin-display {
    font-size: 24px !important;
}
.guess-section {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-grow: 1;
    flex-wrap: nowrap; 
    min-width: 200px;
}

.guess-input {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    width: 60px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    height: 46px;
}

.guess-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--tg-theme-button-color);
}

.guess-btn {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background-color: var(--tg-theme-button-color);
    color: white;
    font-weight: normal;
    cursor: pointer;
    height: 46px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Laleh Zari', Tahoma, sans-serif; 
}

.guess-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.wrong-guesses {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.3rem;
    color: #ff4d4d;
    direction: ltr;
}
.wrong-guesses .letters span {
    display: inline-flex ;
    align-items: center;
    justify-content: center;
    width: 40px ;
    height: 40px;
    border-radius: 50%;
    background: rgba(244, 67, 67, 0.2);
    color: #f44336;
    font-weight: normal;
    font-size: 2rem;
    transition: all 0.3s ease;
}
.modal {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size:24px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--tg-theme-secondary-bg-color);
    color: var(--tg-theme-text-color);
    padding: 35px;
    border-radius: 25px;
    text-align: center;
    max-width: 90%;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal h2 {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.modal h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--tg-theme-button-color), #4b6cb7);
    border-radius: 2px;
}
/* استایل مودال سکه */
.modal-content-nocoin {
    background: linear-gradient(to bottom, #b3feae, #4ad4f7)!important; /* رنگ سفید */
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 10px; /* اضافه کردن گوشه‌های گرد */
}
.coin-required-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 20px 0;
}


.lose-title {
    color: #ff4d4d !important;
    text-shadow: 0 0 10px rgba(244, 67, 67, 0.5);
}

.flag {
    font-size: 4.5rem;
    margin: 25px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.modal p {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.3rem;
    margin: 15px 0;
    line-height: 1.5;
}

.modal strong {
    color: var(--tg-theme-button-color);
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.close-modal {
    background: linear-gradient(to right, #f44336, #d32f2f);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.close-modal:hover {
    background: linear-gradient(to right, #e53935, #c62828);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 67, 0.4);
}

.banner-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.color-box {
    width: 100%;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    animation: colorChange 2s infinite alternate;
}

@keyframes colorChange {
    0% { background-color: #ff4d4d; }
    25% { background-color: #ffaf40; }
    50% { background-color: #fffa65; }
    75% { background-color: #32ff7e; }
    100% { background-color: #18dcff; }
}

.banner-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.banner-container img:hover {
    transform: scale(1.02);
}

.about-link {
    color: rgba(255, 255, 255, 0.6);
    text-align: right; 
    margin-top: 1px;
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    max-width: 400px;
    z-index: 100;

}
.about-link:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #ff4d4d;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    top: 50%; /* تغییر از bottom به top */
    left: 50%;
    transform: translate(-50%, -50%); /* تغییر از translateX به translate */
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s, top 0.3s; /* تغییر از bottom به top */
}

.toast.show {
    visibility: visible;
    opacity: 1;
    top: 50%; /* حفظ موقعیت مرکزی */
}
.wrong-guesses .label {
    font-weight:normal;
    color: #fbff00;
    margin-right: 10px;
    font-size: 2rem;
}
.wrong-guesses .letters {
    display: grid ;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px ;
}
.bottom-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: var(--tg-theme-secondary-bg-color);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    z-index: 100;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--tg-theme-text-color);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-btn.active {
    color: var(--tg-theme-button-color);
    background: rgba(76, 175, 80, 0.1);
}

.nav-icon {
    font-size: 20px;
}

.nav-text {
    font-size: 12px;
}
/* استایل کلی لیست لیدربرد */
#leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* فاصله بین آیتم‌ها */
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

/* --- استایل سرستون‌ها (هدر جدول) --- */
.leaderboard-header {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 10px 20px; /* فاصله از پایین برای جدا شدن از لیست */
    color: #888;
    font-size: 0.9rem;
    font-weight: bold;
    border-bottom: 2px solid #eee;
}

/* تنظیمات مشترک برای هدر و آیتم‌ها جهت تراز بودن */
.leaderboard-header .rank-col,
.leaderboard-item .rank {
    width: 40px; /* عرض ثابت برای رتبه */
    text-align: center;
     color: #fffb00;
}

.leaderboard-header .name-col{
       flex-grow: 1; /* نام بقیه فضا را پر می‌کند */
    text-align: right;
    padding-right: 15px;
     color: #fffb00;
}
.leaderboard-item .name {
    flex-grow: 1; 
    text-align: right;
    padding-right: 15px;
}

.leaderboard-header .score-col{
        width: 80px; /* عرض ثابت برای امتیاز */
    text-align: center;
     color: #fffb00;
}
.leaderboard-item .score {
    width: 80px; /* عرض ثابت برای امتیاز */
    text-align: center;
     color: #ff7b00 !important;
}

/* --- استایل کارت بازیکن --- */
.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    padding: 15px 20px; /* افزایش پدینگ برای بزرگتر شدن باکس */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
    font-weight: bold;
    font-family: 'Tahoma', sans-serif;
    /* افزایش عرض: چون در مودال است، معمولا 100% عرض والد را میگیرد. 
       اگر باز هم کوچک است، میتوانید width: 95% اضافه کنید */
}

.rank {
    font-size: 1.1rem;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    border-radius: 50%;
    color: #555;
    margin-left: 10px;
}

/* رتبه اول */
.leaderboard-item:nth-child(2) .rank { /* چون هدر child 1 است، نفر اول child 2 میشود */
    background: linear-gradient(135deg, #ffd700, #ffb900);
    color: white;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
/* رتبه دوم */
.leaderboard-item:nth-child(3) .rank {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: white;
}
/* رتبه سوم */
.leaderboard-item:nth-child(4) .rank {
    background: linear-gradient(135deg, #cd7f32, #a05a2c);
    color: white;
}
.my-row {
    background-color: #8400ff !important; 
    border: 1px solid #4CAF50 !important;
    background: linear-gradient(135deg, #0adf38 0%, #f0f2f5 100%);
    position: relative;
}

#wins-display {
   color: #28a745 !important; 
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}


#losses-display {
    color: #dc3545; 
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}
.score {
    font-size: 1.2rem;
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
    padding: 5px 10px;
    border-radius: 8px;
}
.submit-name {
  background-color: green;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}
.buy-btn {
  background-color: gold;
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .game-container {
        padding: 20px;
    }
    h1 {
        font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
        font-size: 2rem;
    }
    .word-display span {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }
    .guess-input {
        font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
        width: 50px;
        font-size: 1.2rem;
    }
    .modal-content {
        padding: 30px 20px;
    }
    .modal h2 {
        font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
        font-size: 2rem;
    }
      .ad-container a {
        text-decoration: none !important;
        color: inherit !important;
    }
.ad-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    margin: 10px auto !important;
    background: linear-gradient(45deg, #f5f6fa, #d2bee6) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    position: relative !important;
    cursor: pointer !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    z-index: 10 !important;
    clear: both !important;
    float: none !important;
}
.ad-box {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 60px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    margin-top: 20px !important;
}
.plus {
    font-size: 36px !important;
    font-weight: normal !important;
    color: #333333 !important; 
    margin-bottom: 5px !important;
}

.ad-text {
    font-family: 'Laleh Zari', 'Segoe UI', Tahoma, sans-serif;
    font-size: 12px !important;
    color: #333333 !important; 
    text-align: center !important;
    
}


}