@charset "UTF-8";
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 8px 4px 0;
    text-align: center;
}
h2 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}
/*排行榜的logo展示*/
.game-rank-logo {
   max-width: 100%;
}

.game-rank-logo .log_image{
   height: 60px;
    width: 60px;
}

.game-rank-logo{
    padding: 5px 5px;
    font-weight: bold;
    color: black;
    display: flex;
    align-items: flex-start; /* 确保顶部对齐 */
}
.game-rank-logo .each_logo_show{
    display:inline-block;
    padding-top: 10px;
    padding-left: 20px;
}
.tg-button{
    display: block;
    padding-top: 5px;


}


.game-rank-logo .tg-button img{
    width: 90px;
    height: 30px
}
/*总的描述标题*/
.main-title {
    padding: 10px 10px;
    background-color: #7dd2b4;
}

/*前三排行榜内容*/
.ranking-container {
    height: 220px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    margin: auto;
    max-width: 90%;
}

.rank-card {
    flex: 1;
    border-radius: 4px;
    padding: 10px 6px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}

.rank-card:hover {
    transform: scale(1.03) rotateX(5deg);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.rank-card::before,
.rank-card::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    transform-origin: left;
}

.rank-card::before {
    top: 0;
    left: 100%;
    width: 16px;
    height: 100%;
    transform: skewY(-45deg);
}

.rank-card::after {
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 16px;
    transform: skewX(-45deg);
}

.rank-1 {
    background: linear-gradient(to top left, #ff5858, #f09819);
    height: 200px;
    z-index: 3;
}

.rank-2 {
    background: linear-gradient(to top left, #9e9e9e, #c5c5c5);
    height: 179px;
    margin-top: 20px;
    z-index: 2;
}

.rank-3 {
    background: linear-gradient(to top left, #cd7f32, #e6a756);
    height: 175px;
    margin-top: 40px;
    z-index: 1;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 12px auto 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
    z-index: 5;
    position: relative;
}

.rank_logo {
    padding-top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crown {
    width: 18px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.rank-number {
    background: rgba(255,255,255,0.8);
    color: #000;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin: 4px auto;
    display: inline-block;
    position: relative;
    z-index: 5;
}

.rank-label {
    font-weight: bold;
    font-size: 12px;
    margin-top: 4px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 5;
    position: relative;
}

.btn-download {
    background: linear-gradient(to bottom, #7df37d, #3ea93e);
    border: none;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    border-radius: 14px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 5;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    background: linear-gradient(to bottom, #5bd75b, #2c802c);
    text-decoration: none;
    color: #fff;
}

.trusted {
    font-size: 8px;
    font-weight: bold;
    color: #fff;
    margin-top: 4px;
    z-index: 5;
    position: relative;
}
/*telegram标签内容*/

.telegram-banner-box{
    width: 100%;
    padding: 10px 10px;
}

.telegram-banner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f8ff;
    border: 2px solid #0077b6;
    animation: blinkBorder 1.5s infinite;
    padding: 10px 5px;
    box-sizing: border-box;
    margin: 10px 0px;
}

.telegram-banner .text {
    font-size: 13px;
    color: #222; /* darker text */
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.telegram-banner .text img,
.telegram-banner .button img {
    width: 16px;
    height: 16px;
}

.telegram-banner .button {
    background-color: #28a745; /* green button */
    color: white;
    padding: 10px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.telegram-banner .button:hover {
    background-color: #218838; /* darker green on hover */
}

/*游戏列表内容展示css*/
.leaderboard {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px 5px;
    border-bottom: 1px solid #000; /* 黑线分隔 */
}

/* 去除最后一个条目的黑线 */
.leaderboard-item:last-child {
    border-bottom: none;
}

.rank {
    font-size: 18px;
    font-weight: bold;
    color: #8B8D8E;
    width: 30px;
    text-align: center;
}

.app-icon {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 8px;
}

.app-info {
    flex-grow: 1;
}

.app-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.app-details {
    font-size: 14px;

    display: flex;
    flex-direction: column;
    font-weight: bold;
}
.app-details .award_info {
    font-size: small;
    color: red;
}
.app-details .withdraw_info {
    font-size: small;
    color: green;
}
.download-button {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    font-size: medium;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #2563eb;
}

/*重要提示信息弄内容css*/
.notice-box {
    display: block;
    background-color: #ffe6e6;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.notice-icon {
    color: #ff0000;
    font-size: 20px;
    margin-left: 50px;
    margin-right: 10px;
}

.notice-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 10px;
}




/*底部说明内容css*/
.describe-box{
    display: block;
    padding:15px;
    width: 100%;
    text-align: left;
}




