body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    overflow-y: scroll;
    height: 150vh;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

.stars {
    position: fixed; 
    width: 100vw;
    height: 100vh; 
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    background-size: cover;
    background-repeat: repeat-y;
    animation: animStar 40s linear infinite;
    z-index: -1; 
}

h1 {
    font-size: 3em;
    color: #00e5ff;
    text-shadow: 0 0 10px #6a11cb, 0 0 20px #6a11cb, 0 0 30px #6a11cb, 0 0 40px #6a11cb;
    align-items: self-end;
}
p {
    font-size: 2em;
    counter-reset: white;
    text-shadow: #00e5ff;
    padding: 0 30px;
    text-align: justify;
    direction: rtl;
}

.fadeIn {
    animation: fadeIn 3s ease-in-out forwards;
    text-align: center;
    padding: 0 30px;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes animStar {

    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-30%);
    }
    100%{
        transform: translateY(30%);
    }
}
.app-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    color: #000;
    margin-top: 20px;
}

.app-icon img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    border-radius: 20%;
    margin-bottom: 10px;
}

.app-details {
    text-align: center;
    margin-bottom: 20px;
}

.download-button {
    background-color: #6a11cb;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: right;
    font-size: 16px;
    direction: rtl;
    width: auto;
    min-width: 150px;
    
}

.download-button:hover {
    background-color: #009fcc;
}

.swiper-container {
    width: 80%;
    max-width: 500px;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}
.swiper-pagination {
    position: absolute;
    bottom: 70px; /* فاصله نقاط از پایین */
    left: 2;
    width: 100%;
    text-align: center;
    z-index: 10; /* بالا بردن لایه نقاط روی تصاویر */
}
.swiper-pagination-bullet {
    background: #000;
}

@media (max-width: 768px) {
    .download-buttons {
        display: flex;
        flex-direction: column; /* تنظیم دکمه‌ها به صورت ستونی */
        align-items: center; /* هم‌تراز کردن دکمه‌ها به مرکز */
    }
    .download-button {
        font-size: 14px; /* تنظیم اندازه فونت کوچکتر برای موبایل */
        padding: 8px 15px; /* تنظیم اندازه فاصله داخلی برای موبایل */
    }
}
/* Drawer styles */
.drawer {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0; /* Changed to right for RTL */
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    direction: rtl; /* Ensure RTL direction for text */
}

.drawer a {
    padding: 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.drawer a:hover {
    color: #f1f1f1;
}

.drawer .closebtn {
    position: absolute;
    top: 0;
    left: 25px; /* Changed to left for RTL */
    font-size: 36px;
    margin-right: 50px;
}

.open-drawer-btn {
    font-size: 30px;
    cursor: pointer;
    background-color: #111;
    color: white;
    border: none;
    position: fixed;
    top: 20px;
    right: 20px; /* Changed to right for RTL */
    z-index: 2;
}

/* Open state for the drawer */
.drawer.open {
    width: 250px;
}

/* Add transition for open/close animation */
.drawer {
    transition: width 0.3s ease;
}
.guide-dialog {
    width: 80%;
    max-width: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
    text-align: right;
    direction: rtl;
    font-size: 18px;
}

/* Animation for dialog show */
.guide-dialog[open] {
    transform: scale(1);
}

/* Close button style */
.guide-dialog button {
    background-color: #fff;
    color: #2575fc;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.guide-dialog button:hover {
    background-color: #f1f1f1;
}

/* Adding overlay effect */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-overlay.active {
    display: flex;
}
