
/* 全局样式 */
* {
    box-sizing: border-box;
    color: white;
a {
    text-decoration: none;
}
}

a {
    text-decoration: none;
}

body {
    font-family: 'Noto Sans SC', Arial, sans-serif, 'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', '华文细黑', STHeiti, MingLiu;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(to bottom, rgb(9, 39, 55), rgb(6, 7, 67));
    color: #fff;
}

.container {
    /*max-width: 1200px;*/
    margin: 0 2rem;
    padding: 0 2rem;
}

.button {
    display: inline-block;
    background-color: rgba(0, 123, 255, 0.8);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    text-align: center;
}

.button:hover {
    background-color: rgba(0, 86, 179, 0.8);
}

/* Hero 区域样式 */
.hero {
    width: 100%;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    background: linear-gradient(135deg, rgba(9, 39, 55, 0.95), rgba(6, 7, 67, 0.95));
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 8rem 0 4rem;
    flex: 1;
}

.hero-content .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content .container:first-child {
    padding-top: 4rem;
    margin-bottom: 4rem;
}

.hero-content .container:last-child {
    margin-top: auto;
    padding-bottom: 4rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-buttons .button {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.hero-buttons .button.primary {
    background-color: #007bff;
    border: none;
}

.hero-buttons .button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
}

.hero-buttons .button.primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.hero-buttons .button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 40vh;
    object-fit: contain;
    border-radius: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 头部样式 */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    flex: 0 0 auto;
}

header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

header .logo img {
    height: 40px;
    margin-right: 10px;
}

header nav {
    flex: 1;
    margin: 0 20px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* 用户操作按钮样式 */
.user-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.guest-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn, .register-btn {
    display: inline-block;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.login-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
}

.register-btn {
    background-color: rgba(0, 123, 255, 0.8);
    color: #fff;
    border: none;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.register-btn:hover {
    background-color: rgba(0, 86, 179, 0.8);
}

.mobile-menu-toggle {
    display: none;
}

/* 底部样式 */
footer {
    background-color: rgba(9, 39, 55, 0.9);
    color: #eee;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-social a {
    color: #ccc;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-content img {
        height: 30vh;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: transform 0.3s ease;
    }

    header .container {
        flex-wrap: wrap;
    }

    header nav {
        flex: 1 0 100%;
        margin: 15px 0 0;
        display: none;
    }

    header nav.active {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .user-actions {
        margin-left: auto;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #00264d;
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.error-message {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

/* 认证页面样式 */
.auth-section {
    min-height: 100vh;
    padding: 100px 20px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-box {
    background: rgba(0, 38, 77, 0.95);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    height: 44px;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
}

.auth-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 注册页面特定样式 */
.email-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-group input {
    flex: 1;
}

.verification-button {
    white-space: nowrap;
    padding: 10px 15px;
    height: 44px;
    font-size: 15px;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.verification-button:hover {
    background-color: #0056b3;
}

.verification-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
}

.verification-code-group {
    position: relative;
}

.verification-timer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    margin-bottom: 20px;
}

.agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 认证页面响应式样式 */
@media (max-width: 480px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .auth-section {
        padding: 80px 15px 90px;
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .auth-box {
        padding: 25px 20px;
        margin-bottom: 20px;
        background: rgba(0, 38, 77, 0.98);
        flex: 1 0 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 450px;
        min-width: 433px;
    }

    .auth-box h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .auth-form .form-group {
        margin-bottom: 15px;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        height: 42px;
        font-size: 15px;
    }

    .email-group {
        flex-direction: column;
        gap: 10px;
    }

    .verification-button {
        width: 100%;
        min-width: unset;
        height: 42px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .agreement {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .auth-button {
        height: 42px;
        font-size: 15px;
    }

    .auth-links {
        font-size: 13px;
        margin-top: 15px;
    }
}

@media (min-width: 481px) {
    .auth-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 100px 20px 120px;
    }

    .auth-box {
        margin: 0;
    }
}

/* 认证页面footer样式 */
.auth-section + footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    background-color: rgba(9, 39, 55, 0.98);
    z-index: 100;
}

.auth-section + footer .container {
    padding: 0 15px;
}

.auth-section + footer .footer-info {
    width: 100%;
}

.auth-section + footer .footer-info p {
    font-size: 0.8rem;
    margin: 3px 0;
    text-align: center;
}

.auth-section + footer .footer-social {
    display: none;
}

@media (max-height: 700px) {
    .auth-section {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .auth-box {
        padding: 20px 15px;
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }

    .auth-box h2 {
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    .auth-section + footer {
        padding: 10px 0;
    }
}

/* 认证页面样式 */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
}

.auth-box {
    background: rgba(0, 38, 77, 0.95);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 80px;
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    height: 44px;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
}

.auth-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 注册页面特定样式 */
.email-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-group input {
    flex: 1;
}

.verification-button {
    white-space: nowrap;
    padding: 10px 15px;
    height: 44px;
    font-size: 15px;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.verification-button:hover {
    background-color: #0056b3;
}

.verification-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
}

.verification-code-group {
    position: relative;
}

.verification-timer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    margin-bottom: 20px;
}

.agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 认证页面响应式样式 */
@media (max-width: 480px) {
    .auth-section {
        padding: 80px 15px 100px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .auth-box {
        padding: 25px 20px;
        margin: 0;
        background: rgba(0, 38, 77, 0.98);
        flex: 1;
    }

    .auth-box h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .auth-form .form-group {
        margin-bottom: 15px;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        height: 42px;
        font-size: 15px;
    }

    .email-group {
        flex-direction: column;
        gap: 10px;
    }

    .verification-button {
        width: 100%;
        min-width: unset;
        height: 42px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .agreement {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .auth-button {
        height: 42px;
        font-size: 15px;
    }

    .auth-links {
        font-size: 13px;
        margin-top: 15px;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 0;
        background-color: rgba(9, 39, 55, 0.98);
        z-index: 100;
    }

    footer .container {
        padding: 0 15px;
    }

    footer .footer-info {
        width: 100%;
    }

    footer .footer-info p {
        font-size: 0.75rem;
        margin: 2px 0;
        text-align: center;
    }

    footer .footer-social {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .auth-section {
        padding: 90px 20px 120px;
    }

    .auth-box {
        padding: 30px 25px;
        margin: 0;
    }
}

@media (max-height: 700px) {
    .auth-section {
        padding-top: 70px;
        padding-bottom: 90px;
        min-height: 100vh;
    }

    .auth-box {
        padding: 20px 15px;
        margin: 0;
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }

    .auth-box h2 {
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px 0;
    }
}

@media (min-width: 769px) {
    .auth-section {
        min-height: 100vh;
        padding: 100px 20px 120px;
    }

    .auth-box {
        margin: 0;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

/* 认证页面样式 */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
}

.auth-box {
    background: rgba(0, 38, 77, 0.95);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 注册页面特定样式 */
.email-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-group input {
    flex: 1;
}

.verification-button {
    white-space: nowrap;
    padding: 10px 15px;
    height: 42px;
    font-size: 14px;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.verification-button:hover {
    background-color: #0056b3;
}

.verification-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
}

.verification-code-group {
    position: relative;
}

.verification-timer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 认证页面响应式样式 */
@media (max-width: 480px) {
    .auth-section {
        padding: 80px 15px 80px;
        min-height: 100vh;
        position: relative;
    }

    .auth-box {
        padding: 25px 20px;
        margin-bottom: 0;
        background: rgba(0, 38, 77, 0.98);
    }

    .auth-box h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .auth-form .form-group {
        margin-bottom: 15px;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        padding: 12px;
        font-size: 16px;
        height: 44px;
    }

    .email-group {
        flex-direction: column;
        gap: 10px;
    }

    .verification-button {
        width: 100%;
        height: 44px;
        font-size: 15px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .agreement {
        font-size: 14px;
        line-height: 1.4;
    }

    .agreement input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .auth-button {
        height: 44px;
        font-size: 16px;
    }

    .auth-links {
        margin-top: 15px;
        font-size: 14px;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 0;
        background-color: rgba(9, 39, 55, 0.98);
        z-index: 100;
    }

    footer .container {
        padding: 0 15px;
    }

    footer .footer-info {
        width: 100%;
    }

    footer .footer-info p {
        font-size: 0.8rem;
        margin: 3px 0;
        text-align: center;
    }

    footer .footer-social {
        display: none;
    }
}

@media (max-height: 700px) {
    .auth-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .auth-box {
        padding: 20px 15px;
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }

    .auth-box h2 {
        margin-bottom: 15px;
    }
}

@media (min-width: 481px) {
    .auth-section {
        min-height: 100vh;
        padding: 100px 20px;
    }

    .auth-box {
        margin-bottom: 0;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px 0;
        background-color: rgba(9, 39, 55, 0.95);
    }
}

/* 认证页面样式 */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.auth-box {
    background: rgba(0, 38, 77, 0.95);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 注册页面特定样式 */
.email-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-group input {
    flex: 1;
}

.verification-button {
    white-space: nowrap;
    padding: 10px 15px;
    height: 42px;
    font-size: 14px;
    background-color: #007bff;
    border: none;
    cursor: pointer;
}

.verification-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
}

.verification-code-group {
    position: relative;
}

.verification-timer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .auth-section {
        padding: 80px 15px 20px;
        min-height: calc(100vh - 60px); /* 减去footer高度 */
    }

    .auth-box {
        padding: 25px 20px;
        margin-bottom: 60px; /* 为footer留出空间 */
    }

    .auth-box h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .auth-form .form-group {
        margin-bottom: 15px;
    }

    .email-group {
        flex-direction: column;
        gap: 10px;
    }

    .verification-button {
        width: 100%;
        height: 40px;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        padding: 10px;
        font-size: 14px;
    }

    .agreement {
        font-size: 13px;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px 0;
        background-color: rgba(9, 39, 55, 0.95);
        z-index: 100;
    }

    footer .container {
        padding: 0 15px;
    }

    footer .footer-info p {
        font-size: 0.8rem;
        margin: 3px 0;
    }
}

@media (max-height: 700px) {
    .auth-section {
        padding-top: 70px;
    }

    .auth-box {
        padding: 20px 15px;
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }
}

/* 认证页面样式 */
/* 邮箱验证码组合 */
.email-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-group input {
    flex: 1;
}

.verification-button {
    white-space: nowrap;
    padding: 10px 15px;
    height: 42px;
    font-size: 14px;
    background-color: #007bff;
    border: none;
    cursor: pointer;
}

.verification-button:disabled {
    background-color: rgba(0, 123, 255, 0.5);
    cursor: not-allowed;
}

/* 验证码输入框和计时器 */
.verification-code-group {
    position: relative;
}

.verification-timer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 服务条款同意复选框 */
.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agreement a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.auth-box {
    padding: 25px 20px;
    margin-bottom: 20px;
    background: rgba(0, 38, 77, 0.98);
    flex: 1 0 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 450px;
    min-width: 433px;
}

.auth-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 48rem) {
    .auth-box {
        padding: 3rem 2rem;
    }

    .auth-box h2 {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

.pricing-section {
    margin-bottom: 2rem;
    padding: 4rem 0;
}

.pricing-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.credits-display {
    font-size: 2rem;
    font-weight: bold;
    color: #028BBF;
    margin-bottom: 0.5rem;
}

.credits-unit {
    font-size: 1.1rem;
    font-weight: normal;
    color: #028BBF;
}

.pricing-badge {
    background: linear-gradient(135deg, #028BBF, #0277bd);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing-card-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.current-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.btn-recharge {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #028BBF, #0277bd);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-recharge:hover {
    background: linear-gradient(135deg, #0277bd, #01579b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3);
}

.btn-recharge:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.2rem;
    }

    .credits-display {
        font-size: 1.6rem;
    }

    .current-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-section h2 {
        font-size: 1.3rem;
    }
}





















