html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.6;
    z-index: -1;
}
.content-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo {
	width:80px;
	height:auto;
	margin-bottom:10px;
}
h1 {
	font-size:2.5rem;
	color:#000;
	margin:0;
}
p {
	font-size:1.1rem;
	color:#333;
	margin-top:10px;
}
.glass-text {
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    position: relative;
    overflow: hidden;
    cursor: default;
}
.glass-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    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(-20deg);
    animation: shine 2s infinite ease-in-out;
}
@keyframes shine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
	margin-top:40px;
}
.btn {
    white-space: nowrap;
	display:inline-block;
	padding:10px 20px;
	font-size:16px;
	font-weight:600;
	text-decoration:none;
	border-radius:6px;
	transition:background-color 0.3s ease;
	box-shadow:0 2px 6px rgba(0,0,0,0.2);
}
.btn-download {
	background-color:#005ecd;
	color:#fff;
}
.btn-download:hover {
	background-color:#004bb591;
}
.btn-selfhost {
	background-color:#e2e8f0;
	color:#333;
}
.btn-selfhost:hover {
	background-color:#cbd5e191;
}
.btn-github {
	background-color:#000;
	color:#fff;
}
.btn-github:hover {
	background-color:#00000091;
}
.btn-contact {
    background-color: #e2e8f0;
    color: #333;
    border: none;
    outline: none;
}
.btn-contact:hover {
	background-color:#cbd5e191;
}
.btn-contact:focus {
    outline: none;
    box-shadow: none;
}
.feedback-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}
.mouse-icon-container{
    position: absolute;
    bottom: 30px;
    left: 52%;
    gap: 10px;
    justify-content: center;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.like-container {
    position: absolute;
    bottom: 30px;
    left: 48%;
    gap: 10px;
    justify-content: center;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.like-btn {
	background-color:transparent;
	border:none;
	cursor:pointer;
	font-size:2.3rem;
	color:#007bff;
	transition:color 0.3s ease-in-out;
	padding:0;
	margin:0;
	box-shadow:none;
}
.like-btn:hover {
	color:#0056b391;
}
.like-count {
	/*margin-top:10px;*/
	/*font-size:1.5rem;*/
	font-weight:bold;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    text-align: center;
}
.modal-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fff;
}
#loading-modal {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
#loading-svg {
    width: 80px;
    height: 80px;
}
#qrcode-modal {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
#qrcode-image {
    width: 200px;
    height: auto;
}
.qrcode-caption {
    font-size: 14px;
    color: #666;
    margin-top: 0;
    margin-bottom: 10px;
}
.close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}
.close-button:hover {
    color: #000;
}
.toast-container {
	position:fixed;
	right:20px;
	bottom:20px;
	z-index:999;
    display:flex;
	flex-direction:column;
	align-items:flex-end;
    gap:8px;
}
.toast-item {
	background-color:rgba(0,0,0,0.7);
	color:white;
    padding:8px 15px;
	border-radius:6px;
	box-shadow:0 4px 12px rgba(0,0,0,0.2);
    font-size:14px;
    transition:opacity 0.5s ease-out,transform 0.5s ease-out;
	transform:translateY(0);
	opacity:1;
}
.toast-item.show {
	transform:translateY(0);
	opacity:1;
}
.toast-item.fade-out {
	transform:translateY(20px);
	opacity:0;
}
/*第二屏样式*/
.second-section {
    background-color: #eff6ff;
    padding: 60px 20px;
    box-sizing: border-box;
}
.second-section-content {
    background-color: #eff6ff;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.second-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}
.lite-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.feature-item.reverse {
    flex-direction: row-reverse;
}
.feature-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}
.feature-image, .feature-text {
    flex-basis: 50%;
}
.feature-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}
.feature-text h3 {
    font-size: 1.5rem;
    color: #28a745;
    margin-top: 0;
    margin-bottom: 15px;
}
.feature-text p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}
.lite-features ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.lite-features ul li {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.lite-features ul li i {
    margin-right: 10px;
    color: #28a745;
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}
.lite-features ul li strong {
    white-space: nowrap;
}
.slideshow-container {
    position: relative;
    margin: 0;
    box-shadow: none;
}
.slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}
.mySlides {
    display: none;
}
.mySlides img {
    vertical-align: middle;
    border-radius: 8px;
    height: 420px;
    width:100%;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.5);
}
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ffffff9c;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #717171;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
.note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    text-align: center;
}
/* 第三屏样式 */
.third-section {
    background-color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.third-section-content {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.article-link {
    text-decoration: none;
    color: inherit;
}
.article-card {
    flex-basis: 300px;
    flex-grow: 1;
    max-width: 350px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.article-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
.article-content {
    padding: 20px;
}
.article-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}
.article-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
/*footer*/
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.footer p {
    color: #fff;
    margin: 5px 0;
}
/* 返回顶部按钮样式（初始隐藏状态） */
#back-to-top {
    position: fixed;
    bottom: 120px;
    right: 80px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease;
}

/* 用于显示按钮的类 */
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .mobile {
        display: none;
    }
    .btn {
        width: auto;
        margin-bottom: 10px;
    }
    .mySlides img {
        vertical-align: middle;
        border-radius: 8px;
        height: 300px;
        width:100%;
    }
    .feature-item, .feature-item.reverse {
        flex-direction: column;
    }

    .feature-image, .feature-text {
        flex-basis: 100%;
    }
    .blog-articles {
        gap: 15px;
    }
}
