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

body {
    background: radial-gradient(circle at 10% 20%, #0a0c18 0%, #020308 100%);
    font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(245, 176, 66, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.scale-container {
    width: 100%;
    display: flex;
    justify-content: center;
    transform-origin: top center;
    transition: transform 0.1s ease-out;
}

.container {
    max-width: 500px;
    width: 100%;
    margin: 0;
    padding: 0 16px 0 16px;
    position: relative;
    z-index: 2;
}

.brand {
    text-align: center;
    margin: 6px 0 4px 0;
}
.logo-img {
    height: 54px;
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.carousel-section {
    margin: 6px 0 12px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    background: #0b0e16;
}
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-wrapper {
    display: flex;
    transition: transform 0.4s ease;
}
.carousel-slide {
    flex: 0 0 100%;
    line-height: 0;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 5;
}
.dot {
    width: 7px;
    height: 7px;
    background: rgba(255,255,200,0.6);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    width: 20px;
    border-radius: 10px;
    background: #ffbc3c;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFD966;
    font-size: 1rem;
    z-index: 5;
}
.arrow-left { left: 8px; }
.arrow-right { right: 8px; }

.dual-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 12px;
}
.btn-large {
    background: linear-gradient(95deg, #1e1a2f, #151225);
    border: 1px solid rgba(255,180,60,0.6);
    border-radius: 60px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #FFE6B3;
    cursor: pointer;
    transition: 0.1s;
}
.btn-large i {
    font-size: 1.3rem;
    color: #f5a623;
}
.btn-large:active {
    transform: scale(0.97);
}

.info-note {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    padding: 6px 14px;
    text-align: center;
    font-size: 0.7rem;
    color: #ddd9ce;
    border-left: 2px solid #f5b042;
    border-right: 2px solid #f5b042;
    margin: 6px 0 10px;
}

.footer {
    text-align: center;
    padding-top: 6px;
    font-size: 0.65rem;
    color: #aaa;
    border-top: 1px solid rgba(255,180,60,0.3);
    margin-top: 4px;
}
.footer .vip {
    font-family: monospace;
    font-weight: bold;
    color: #ffcc66;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}
.modal-container {
    background: #1a1628;
    width: 88%;
    max-width: 380px;
    border-radius: 40px;
    padding: 20px 18px 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.6);
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}
.modal-header h3 {
    font-size: 1.3rem;
    color: #FFD580;
}
.close-modal {
    font-size: 26px;
    cursor: pointer;
    color: #cbbd92;
}
.line-list {
    overflow-y: auto;
    max-height: 50vh;
    margin: 8px 0;
}
.line-item {
    background: rgba(0,0,0,0.4);
    border-radius: 60px;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.delay-badge {
    background: #00000066;
    border-radius: 30px;
    padding: 3px 10px;
    font-size: 0.85rem;
    font-family: monospace;
    color: #6eff9e;
    min-width: 60px;
    text-align: center;
}
.domain-name {
    font-size: 0.85rem;
    color: #FFEAC5;
    flex: 1;
    text-align: left;
}
.enter-link {
    background: #f5a623;
    border: none;
    border-radius: 40px;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #1e1a2f;
    cursor: pointer;
}
.modal-close-btn {
    background: rgba(255,180,60,0.2);
    border: 1px solid #f5a623;
    border-radius: 40px;
    padding: 8px;
    width: 50%;
    margin: 12px auto 0;
    font-size: 0.75rem;
    color: #ffdd99;
    cursor: pointer;
    text-align: center;
}