
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.rtl,
html.rtl body {
    direction: rtl !important;
    text-align: right !important;
}


html.rtl .download-content {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
}


html.rtl #download-icon {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

html.rtl #download-info {
    margin-right: 0 !important;
    margin-left: 10px !important;
    text-align: right !important;
    flex-shrink: 1 !important;
}

html.rtl #download-button {
    margin-right: auto !important;
    margin-left: 0 !important;
}




html.rtl {
    font-family: 'Arial Unicode MS', 'Tahoma', 'sans-serif' !important;
}


body {
    background-color: #f5f5f5; 
    min-height: 100vh;
}


html {
    font-size: 16px;
}


@media only screen and (max-width: 360px) {
    html {
        font-size: 14px;
    }
    .middle-content {
        margin-top: 22rem;
    }
}


@media only screen and (min-width: 361px) and (max-width: 480px) {
    html {
        font-size: 16px;
    }
    .middle-content {
        margin-top: 30rem;
    }
}


@media only screen and (min-width: 481px) and (max-width: 767px) {
    html {
        font-size: 18px;
    }
    .middle-content {
        margin-top: 35rem;
    }
}




@media only screen and (max-width: 480px) {
    .list-item {
        padding: 12px;
        margin-bottom: 8px;
    }
    .user-info {
        flex: 1;
        min-width: 0;
    }
    .user-name {
        font-size: 0.75rem;
        max-width: 100px;
    }
    .user-withdraw {
        font-size: 0.875rem;
    }
    .user-time {
        font-size: 0.625rem;
    }
    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .invite-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    .scroll-list-title {
        font-size: 1rem;
    }
    .download-text {
        font-size: 1.125rem;
    }
}




.page-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #E2B02B;
    max-width: 414px;
    margin: 0 auto;
}


.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    z-index: 0;
    overflow: hidden;
}


.background-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
}


.content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    text-align: center;
    z-index: 1;
    background-color: transparent;
}


.middle-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 27rem;
    transform: translateY(0);
}


.button-container {
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out 0.4s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    text-align: center;
}


.button-wrapper {
    position: relative;
    display: inline-block;
    width: 70%;
    max-width: 1046px;
}


.download-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        -2px -2px 0 #472500,
         2px -2px 0 #472500,
        -2px  2px 0 #472500,
         2px  2px 0 #472500,
        -2px 0 0 #472500,
         2px 0 0 #472500,
        0 -2px 0 #472500,
        0 2px 0 #472500;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    width: 100%;
    padding: 0 0.625rem;
    box-sizing: border-box;
}


@keyframes buttonScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.button-wrapper {
    animation: buttonScale 2s ease-in-out infinite;
}


.invite-text {
    margin-top: 0.9375rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    max-width: 80%;
    animation: fadeIn 1s ease-in-out 0.6s both;
    margin-bottom: 1.25rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}


.invite-text .highlight {
    color: #FFD700;
    font-weight: bold;
}


.scroll-list-section {
    width: 100%;
    max-width: 95%;
    margin-top: -10px;
    animation: fadeIn 1s ease-in-out 0.8s both;
}


.white-card {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #D4A017;
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
}


.title-container {
    padding: 0 0 16px 0;
    border-bottom: none;
    margin-bottom: 0;
}


.scroll-list-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #472500;
    text-align: left;
    margin: 0;
    padding: 0;
}


.scroll-list-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 30vh;
    min-height: 350px;
    max-height: 400px;
}


.scroll-list {
    width: 100%;
    animation: scroll 60s linear infinite;
    position: relative;
    z-index: 1;
}


@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


.list-item {
    display: flex;
    align-items: center;
    height: 70px;
    margin-bottom: 12px;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #D4A017;
    padding: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-weight: bold;
    font-size: 14px;
}


.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.user-info-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2px;
}


.user-full-info {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.user-full-info > * {
    font-size: 14px;
}


.user-name {
    font-size: 14px;
    font-weight: bold;
    color: #573F02;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    margin-right: 0;
    font-family: 'Arial', sans-serif;
}


.withdraw-text {
    font-size: 14px;
    color: #573F02;
    font-weight: bold;
    margin-right: 0;
    font-family: 'Arial', sans-serif;
}


.user-withdraw {
    font-size: 14px;
    font-weight: bold;
    color: #ff6a00;
    text-align: left;
    font-family: 'Arial', sans-serif;
}


.user-time {
    font-size: 14px;
    color: #A79582;
    text-align: left;
    margin-top: 2px;
    font-family: 'Arial', sans-serif;
}


html.rtl .scroll-list-title {
    text-align: right !important;
    direction: rtl !important;
}


.list-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}


.user-avatar {
    flex-shrink: 0 !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
    order: 1 !important;
}


.user-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    order: 2 !important;
}


.user-full-info {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}


.user-name,
.withdraw-text,
.user-time {
    text-align: left !important;
    direction: ltr !important;
}


.user-withdraw {
    text-align: left !important;
    direction: ltr !important;
}


html.rtl .list-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
}


html.rtl .user-avatar {
    margin-right: 0 !important;
    margin-left: 10px !important;
    order: 1 !important;
}


html.rtl .user-info {
    align-items: flex-start !important;
    order: 2 !important;
}


html.rtl .user-full-info {
    justify-content: flex-start !important;
}


html.rtl .user-name,
html.rtl .withdraw-text,
html.rtl .user-time {
    text-align: left !important;
    direction: rtl !important;
}


html.rtl .user-withdraw {
    text-align: left !important;
    direction: ltr !important;
}


html.rtl .highlight {
    direction: ltr !important;
    display: inline-block !important;
}


html.rtl {
    font-family: 'Arial Unicode MS', 'Tahoma', 'sans-serif' !important;
}


@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


.button {
    width: 100%;
    max-width: 1046px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 5;
}

.button:active {
    transform: scale(0.98);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 10px 0;
}

.download-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    max-width: 100%;
    margin: 0 auto;
}


.download-icon {
    flex-shrink: 0;
    margin-right: 8px;
}

.download-info {
    flex-shrink: 1;
    margin-left: 0;
    margin-right: 10px;
    min-width: 0;
    flex-basis: auto;
}

.download-button {
    flex-shrink: 0;
    background-color: #FF5722;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    margin-left: auto;
}

.app-icon {
    width: 5vh;
    height: 5vh;
    min-width: 32px;
    min-height: 32px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.app-name {
    font-size: 0.875rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-desc {
    font-size: 0.7rem;
    color: #666666;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-button:active {
    background-color: #E64A19;
    transform: translateY(0);
}


.content {
    padding-bottom: 5.625rem;
}