* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.home-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 590px;
    background: url("./indexbg.png") no-repeat center center;
    background-size: 100% 100%;
    border-bottom-left-radius: 100% 20%;
    border-bottom-right-radius: 100% 20%;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: 230px;
}

.hint-text-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hint-text-section img {
    width: 100%;
    height: auto;
}

.btns {
    padding: 40px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:last-child {
    flex: 1.4;
}

.btn img {
    width: 100%;
    height: 100%;
}

.avatar-container {
    width: 80%;
    max-width: 300px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.avatar-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.logo-number {
    width: 80px;
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.logo-number img {
    width: 100%;
    height: 100%;
}

.logo-text {
    width: 100%;
    font-size: 22px;
    color: #fff;
}

.bottom-text {
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

.bottom-text2 {
    font-size: 16px;
    color: #33FFE7;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.install-guide {
    padding: 0;
}

.guide-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.title-marker {
    width: 4px;
    height: 16px;
    background-color: #FFD700;
    margin-right: 8px;
}

.title-text {
    color: #E85151;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.title-line {
    flex: 1;
    height: 1px;
    border-top: 1px dashed #ccc;
    margin-left: 8px;
}

.guide-content {
    color: #333;
    padding: 0 15px;
}

.guide-section {
    margin-bottom: 20px;
    text-align: left;
}

.guide-question {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.guide-steps {
    font-size: 14px;
}

.guide-steps div {
    margin-bottom: 8px;
    line-height: 1.4;
    padding-left: 0;
}

.category-section {
    padding: 20px 15px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 15px 0;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.warning-section {
    padding: 5px 15px 20px;
    text-align: center;
    background-color: #9E62BA;
}

.site-info {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.domain-copy {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain {
    color: #33FFE7;
    font-size: 22px;
    font-weight: bold;
    margin-right: 10px;
}

.copy-text {
    color: #33FFE7;
    font-weight: bold;
    font-size: 16px;
}

.warning-title {
    background-color: #7B3D98;
    color: #fff;
    width: 100%;
    height: 38px;
    line-height: 38px;
    border-radius: 25px;
    font-size: 17px;
    margin: 20px auto;
    display: inline-block;
}

.agreement-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.agreement-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 14, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    width: 90%;
    max-width: 320px;
    text-align: center;
}

.qrcode-title {
    color: #FF6464;
    font-size: 30px;
    margin-bottom: 20px;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    margin: 50px auto 50px;
    padding: 10px;
    border-radius: 8px;
}

.qrcode-image img {
    width: 100%;
    height: 100%;
}

.install-steps {
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.install-steps div {
    margin-top: 8px;
}