/* style.css - 从 index.html 拆分的全部 CSS */
:root {
    --primary-gradient: linear-gradient(135deg, #00c3ff, #3a7bd5, #7f53ac);
    --secondary-color: #00ffd0;
    --accent-color: #7f53ac;
    --dark-bg: linear-gradient(135deg, #181c2b, #232946, #0f2027);
    --card-bg: rgba(24, 28, 43, 0.92);
    --highlight: #00ffd0;
    --button-bg: linear-gradient(90deg, #00c3ff 0%, #7f53ac 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: #eaf6fb;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    min-height: 100vh;
    min-width: 100vw;
}

.container {
    position: relative;
    width: 85%;
    max-width: 900px;
    margin: 5% auto;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(42, 253, 141, 0.4);
    position: relative;
}

.header h1 {
    font-size: 3.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 1px;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(254, 180, 123, 0.5); }
    to { text-shadow: 0 0 20px rgba(254, 180, 123, 0.8); }
}

.header h3 {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #e0f7ff;
    max-width: 800px;
    margin: 0 auto;
}

.content-box {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.content-box h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.content-box h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 15px 0;
    font-size: 1.2rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

ul li:hover {
    background: rgba(42, 253, 141, 0.1);
    transform: translateX(10px);
    border-radius: 5px;
    padding-left: 15px;
}

ul li:last-child {
    border-bottom: none;
}

ul li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 255, 208, 0.12);
    color: var(--secondary-color);
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 255, 208, 0.25);
}

.social-links a:hover {
    background: rgba(0, 255, 208, 0.32);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 208, 0.18);
}

.social-links a:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0b8c0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
    color: #20a53a;
}

.coming-soon {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(90deg, rgba(0, 255, 208, 0.18), rgba(127, 83, 172, 0.18));
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 208, 0.22);
    position: relative;
    overflow: hidden;
}

.coming-soon:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.logo {
    width: 120px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 4s infinite;
}

.logo-text {
    font-weight: bold;
    font-size: 2.5rem;
    color: #0f2027;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(254, 180, 123, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(254, 180, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 180, 123, 0); }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.2rem;
}

.countdown span {
    background: rgba(0, 255, 208, 0.13);
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 50px;
    display: inline-block;
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-gradient: linear-gradient(135deg, #FF9E7D, #FEC19A);
        --secondary-color: #3dffa3;
    }
    body {
        background: linear-gradient(135deg, #0a151a, #15242d, #1e3a4a);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 25px;
    }
    .header h1 {
        font-size: 2.5rem;
    }
    .header h3 {
        font-size: 1.3rem;
    }
    ul li {
        font-size: 1rem;
    }
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .countdown {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    .header h1 {
        font-size: 2rem;
    }
    .content-box {
        padding: 20px;
    }
    .countdown {
        flex-direction: column;
        align-items: center;
    }
}

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 253, 141, 0.7) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(42, 253, 141, 0.4);
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary-color);
}

.qrcode-container {
    margin: 20px auto;
    padding: 15px;
    background: white;
    border-radius: 10px;
    display: inline-block;
}

.qrcode-title {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.three-col-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.col-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-box {
    flex: 1;
    background: rgba(12, 18, 30, 0.6);
    border-radius: 15px;
    padding: 30px;
}

.vertical-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.vertical-menu li {
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(0, 255, 208, 0.07);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.vertical-menu li:hover {
    background: rgba(0, 255, 208, 0.18);
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .three-col-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .content-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .vertical-menu li {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .content-box h2 {
        font-size: 1.5rem;
    }
}

.top-nav {
    position: fixed;
    top: 0; right: 0;
    width: 100vw;
    height: 56px;
    background: rgba(24,28,43,0.92);
    z-index: 10001;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-right {
    margin-right: 40px;
}
.nav-btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    margin-left: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,255,208,0.08);
    transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover {
    background: linear-gradient(90deg, #00ffd0 0%, #7f53ac 100%);
    transform: scale(1.06);
}
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}
.modal-content input[type="text"],
.modal-content input[type="password"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #2afd8d44;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}
.modal-content input:focus {
    border: 1.5px solid var(--secondary-color);
}
.verify-row {
    display: flex;
    gap: 10px;
}
#send-code {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 100px;
}
#send-code:disabled {
    background: #888;
    color: #eee;
    cursor: not-allowed;
}
.modal-content button[type="submit"] {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-content button[type="submit"]:hover {
    background: linear-gradient(90deg, #00ffd0 0%, #7f53ac 100%);
}
@media (max-width: 600px) {
    .modal-content {
        min-width: 90vw;
        padding: 18px 6vw 18px 6vw;
    }
    .nav-right {
        margin-right: 10px;
    }
}
