/* 移动设备隐藏 (屏幕宽度小于等于767px) */
@media only screen and (max-width: 1024px) {
	body .zuijin a{
	font-size: 9px;
	}
}

@keyframes colorChange {
    0% {
        color: red
    }

    50% {
        color: #006400
    }
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    /* min-height: 110vh; */
    background-color: #e8f4f8
}

.logo {
    margin-bottom: 20px;
    margin-top: 25px;
}

.logo img {
    max-width: 120px;
    height: auto
}

.container,
h1 {
    text-align: center
}

h1 {
    font-size: 2em;
    color: #333;
    margin: 0 0 30px
}
#time{
	margin: 0 4px
}
.container {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    max-width: 480px;
    width: 90%
}
.codeindex {
    font-size: 1.6em;
    color: #f50905;
    font-weight: 700;
    background-color: #f9f9f9;
    border: 1px solid#ddd;
    border-radius: 10px;
    margin-top: 5px;
    padding: 10px;
    transition: color .3s ease
}
 
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0
}

.button,
.countdown {
    color: #fff;
    text-align: center;
    width: 100px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px
}

.button {
    background: #007bff;
    border: 0;
    cursor: pointer;
    font-size: 1em;
    transition: background .3s ease, transform .3s ease
}

.button:hover {
    background: #0056b3;
    transform: scale(1.1)
}

.button:active {
    transform: scale(1);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2)
}

.countdown {
    font-size: 1.3em;
    font-weight: 700;
    background: linear-gradient(135deg, #3a3a3a, #1e1e1e);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: transform .3s ease
}

.countdown:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .3)
}

.footer {
    text-align: center;
    margin-top: 10px;
    padding: 10px 0
}

.footer-text {
    font-size: 16px;
    color: #666;
    margin: 3px
}

.footer-link {
    color: #000;
    font-weight: bold;
    text-decoration: none
}

.footer-link:hover {
    color: #0056b3
}

.ads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.ad {
    background: #f4f4f9;
    border: 1px solid#ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.ad a {
    color: #738487;
    font-weight: 700;
    animation: colorChange 5s infinite
}

.ad a:hover,
.footer-link:hover {
    text-decoration: underline
}


.friend-links {
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    margin: 8px auto;
    max-width: 800px;
}

.friend-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    /* 居中对齐 */
}

.friend-links ul li {
    flex: 1 1 calc(33.33% - 30px);
    /* 每行3个链接，减去间距 */
    max-width: 200px;
    /* 每个链接最大宽度 */
    text-align: center;
}

.friend-links ul li a {
    display: block;
    padding: 5px;
    background-color: #007bff;
    /* 链接背景颜色 */
    color: #fff;
    /* 链接文字颜色 */
    text-decoration: none;
    border-radius: 5px;
    /* 圆角 */
    transition: background-color 0.3s;
}

.friend-links ul li a:hover {
    background-color: #0056b3;
    /* 鼠标悬停时的颜色 */
}


.aboutcontainer {
    max-width: 680px;
    /* 设定最大宽度 */
    margin: 0 auto;
    /* 水平居中显示 */
    padding: 20px;
    /* 设置内边距，使页面内容有一定的空间感 */
    background-color: #ffffff;
    /* 背景色为白色 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* 增加一个轻微的阴影，使容器更有层次感 */
    border-radius: 8px
}

#secret_key{
	width: 100%; max-width: 600px; font-weight: 300; font-size: 1.3em; padding: 10px; text-align: center; color: #030ba6; border: 1px solid #ccc; border-radius: 10px; box-sizing: border-box; background-color: #f9f9f9;
}

        ul,
        li {
        	list-style-type: none;
        }



.zuijin {
	 display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
}
.zuijin a{
	font-size: 11px;
}
h5{
	text-align: left;
}