:root {
    --primary-color: #e0e5ec;
    --secondary-color: #c2c9d6;
    --accent-color: #4a69bd;
    --text-color: #333;
    --light-text-color: #fff;
    --shadow-color: #babecc;
    --highlight-color: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}



.neumorphic {
    border-radius: 10px;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-color), 
                -5px -5px 10px var(--highlight-color);
}

header {
    text-align: center;
    padding: 30px 0;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.subtitle {
    font-style: italic;
    color: var(--text-color);
}

nav {
    margin-bottom: 30px;
    width: 100%;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: static;
    left: auto;
    transform: none;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
}

nav ul li {
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li a.neumorphic {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: auto;
    white-space: nowrap;
}

nav ul li a.neumorphic i {
    font-size: 1.1em;
}

nav ul li a.neumorphic:hover {
    box-shadow: inset 3px 3px 5px var(--shadow-color), 
                inset -3px -3px 5px var(--highlight-color);
    transform: translateY(-2px);
}

main {
    padding: 20px 0;
}

.welcome-message, .features, .cta {
    padding: 30px;
    margin-bottom: 30px;
}

.welcome-message h2, .cta h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex-basis: calc(33.333% - 20px);
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    box-shadow: inset 3px 3px 5px var(--shadow-color), 
                inset -3px -3px 5px var(--highlight-color);
}

.feature i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.cta {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 3px 3px 5px var(--shadow-color), 
                -3px -3px 5px var(--highlight-color);
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }

    .feature {
        flex-basis: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a.neumorphic {
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
    }

    h1 {
        font-size: 2em;
    }

    .btn {
        display: block;
        width: 100%;
    }
}


form {
    padding: 20px;
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 50px;
    background: var(--primary-color);
    box-shadow: inset 3px 3px 5px var(--shadow-color), 
                inset -3px -3px 5px var(--highlight-color);
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    box-shadow: inset 5px 5px 8px var(--shadow-color), 
                inset -5px -5px 8px var(--highlight-color);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-radius: 10px;
}

th {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

tr {
    background-color: var(--primary-color);
    box-shadow: 3px 3px 5px var(--shadow-color), 
                -3px -3px 5px var(--highlight-color);
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-item {
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.info-item:hover {
    background-color: #f8f9fa;
}

.info-item i {
    font-size: 16px;
}

.info-item:last-child {
    margin-bottom: 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* background-color: rgba(0,0,0,0.4); */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.message.error {
    background-color: #e74c3c;
    color: #fff;
}

.custom-alert {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.alert-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.success-content {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 48px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.success-content p {
    color: #666;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.success-content strong {
    color: #3498db;
}

.registration-number {
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-number i {
    color: #3498db;
}

.info-box {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.info-header {
    background: #9ec7ff;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-header i {
    font-size: 20px;
}

.info-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.info-content {
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary-color);
    margin-top: 3px;
}

.info-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}


.neumorphic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    /* border-radius: 10px; */
    background: #f0f0f3;
    box-shadow: 5px 5px 10px #d1d9e6, -5px -5px 10px #ffffff;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.neumorphic-btn:hover {
    box-shadow: 7px 7px 14px #d1d9e6, -7px -7px 14px #ffffff;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.neumorphic-btn:active {
    box-shadow: inset 5px 5px 10px #d1d9e6, inset -5px -5px 10px #ffffff;
    transform: translateY(1px);
}

.neumorphic-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

.neumorphic-btn i {
    font-size: 16px;
}


#sendCodeBtn {
    height: 42px;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

button[type="submit"].neumorphic-btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
    background: #006aff;
    color: white;
    box-shadow: 5px 5px 10px rgba(52, 152, 219, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.5);
}

button[type="submit"].neumorphic-btn:hover {
    box-shadow: 7px 7px 14px rgba(52, 152, 219, 0.3), -7px -7px 14px rgba(255, 255, 255, 0.6);
}

button[type="submit"].neumorphic-btn:active {
    box-shadow: inset 5px 5px 10px rgba(41, 128, 185, 0.5), inset -5px -5px 10px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .neumorphic-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    #sendCodeBtn {
        height: 38px;
    }

    button[type="submit"].neumorphic-btn {
        padding: 12px;
        font-size: 15px;
    }
}

.verification-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.verification-group input {
    flex: 1;
    min-width: 200px;
    height: 42px;
}

.send-code-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 15px;
    width: 110px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .verification-group {
        flex-direction: row;
        gap: 8px;
    }

    .verification-group input {
        min-width: unset;
        flex: 1;
        height: 42px;
    }

    .send-code-btn {
        width: 110px;
        height: 42px;
        padding: 0 10px;
        font-size: 13px;
    }
}

.alert {
    background-color: #d4edda;
    border-color: #c3e6cb;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    animation: fadeIn 0.5s ease;
}

.alert-success {
    background-color: #d4edda;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.success-content,
.error-content {
    text-align: center;
    padding: 30px;
}

.success-icon,
.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.success-icon {
    color: #2ecc71;
}

.error-icon {
    color: #e74c3c;
}

.success-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.success-content p,
.error-content p {
    color: #666;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.success-content strong {
    color: #3498db;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .alert {
        margin: 15px;
    }
    
    .success-content,
    .error-content {
        padding: 20px;
    }
    
    .success-icon,
    .error-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .success-content h3 {
        font-size: 20px;
    }
    
    .success-content p,
    .error-content p {
        font-size: 14px;
    }
}
.message-box, .icon-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.message-content, .icon-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

tr:hover {
    background-color: #f1f1f1;
}

.btn {
    padding: 10px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 12px #d1d1d1, -7px -7px 12px #ffffff;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
}

.verified-icon {
    height: 60px;
    vertical-align: middle;
    cursor: pointer;
}

.status {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
    position: relative;
    overflow: hidden;
}

.status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%);
}

.status-normal {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background-color: #fff8e1;
    color: #f57f17;
}

.status-rejected {
    background-color: #ffebee;
    color: #c62828;
}


@media (max-width: 768px) {

    table thead tr {
        display: none;
    }


    .container > tr {
        display: none;
    }


    table tr {
        /* display: block; 
        margin-bottom: 15px;*/
        background: white;
        /* padding: 15px; 
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    }




    table td:before {
        content: attr(data-label);
        font-weight: bold;
        width: 80px;
        min-width: 80px;
        color: #666;
    }



    table td:last-child:before {
        display: none;
    }


    .verified-icon {
        height: 40px;
    }

    .status {
        padding: 4px 10px;
        font-size: 12px;
    }


    .btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .message-content, 
    .icon-content {
        width: 90%;
        margin: 20% auto;
    }
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 10px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.first-page,
.last-page {
    font-size: 12px;
}

@media (max-width: 768px) {
    .pagination {
        gap: 4px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    .first-page,
    .last-page {
        display: none;
    }
}
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 3s forwards;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .alert {
        top: 10px;
        right: 10px;
        left: 10px;
        padding: 12px 15px;
        font-size: 14px;
    }
}
.btn {
    padding: 10px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 12px #d1d1d1, -7px -7px 12px #ffffff;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
}

.message-box {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.message-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
}

tr {
    background-color: #ffffff;
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

tr:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 15px #d1d1d1, -8px -8px 15px #ffffff;
}

.status {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
    position: relative;
    overflow: hidden;
}

.status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%);
}

.status-normal {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background-color: #fff8e1;
    color: #f57f17;
}

.status-rejected {
    background-color: #ffebee;
    color: #c62828;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    width: 60%;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    box-shadow: inset 3px 3px 6px #d1d1d1, inset -3px -3px 6px #ffffff;
}

.search-form input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
}

.search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 12px #d1d1d1, -7px -7px 12px #ffffff;
}

.search-form input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 3px 3px 6px #d1d1d1, -3px -3px 6px #ffffff;
}
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

main {
    flex: 1 0 auto;
    padding-bottom: 20px; 
}

footer {
    flex-shrink: 0; 
    width: 100%;
    background-color: #f0f0f3;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #d1d9e6, -5px -5px 10px #ffffff;
    margin-top: auto; 
    box-sizing: border-box; 
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

footer p + p {
    margin-top: 5px;
}

@media (max-width: 768px) {
    footer {
        padding: 15px;
        margin-top: auto;
    }

    footer p {
        font-size: 12px;
    }
}

/* 文字轮播容器样式 */
.text-marquee {
    width: 100%;
    height: 40px;
    background: var(--primary-color);
    overflow: hidden;
    margin: 15px 0;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    box-shadow: 5px 5px 10px var(--shadow-color),
                -5px -5px 10px var(--highlight-color);
}

.text-marquee-content {
    position: absolute;
    white-space: nowrap;
    color: var(--text-color);
    padding: 0 20px;
    animation: scroll 20s linear infinite;
    width: max-content;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translate3d(100%, -50%, 0);
    }
    100% {
        transform: translate3d(-100%, -50%, 0);
    }
}

/* 鼠标悬停时暂停动画并添加内阴影效果 */
.text-marquee:hover {
    box-shadow: inset 3px 3px 5px var(--shadow-color),
                inset -3px -3px 5px var(--highlight-color);
}

.text-marquee:hover .text-marquee-content {
    animation-play-state: paused;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .text-marquee {
        height: 35px;
        margin: 10px 15px;
        width: calc(100% - 30px);
        box-shadow: 3px 3px 8px var(--shadow-color),
                    -3px -3px 8px var(--highlight-color);
    }
    
    .text-marquee-content {
        font-size: 14px;
        padding: 0 15px;
        animation-duration: 15s;
    }
}

/* 超小屏幕适配 */
@media screen and (max-width: 480px) {
    .text-marquee {
        height: 30px;
        margin: 8px 10px;
        width: calc(100% - 20px);
        box-shadow: 2px 2px 6px var(--shadow-color),
                    -2px -2px 6px var(--highlight-color);
    }
    
    .text-marquee-content {
        font-size: 13px;
        padding: 0 10px;
        animation-duration: 12s;
    }
}

/* 导航样式修改 */
nav {
    margin-bottom: 30px;
    width: 100%;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: static;
    left: auto;
    transform: none;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
}

nav ul li {
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li a.neumorphic {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: auto;
    white-space: nowrap;
}

nav ul li a.neumorphic i {
    font-size: 1.1em;
}

nav ul li a.neumorphic:hover {
    box-shadow: inset 3px 3px 5px var(--shadow-color), 
                inset -3px -3px 5px var(--highlight-color);
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
        width: auto; /* 改为自适应宽度 */
        max-width: none; /* 移除最大宽度限制 */
    }

    nav ul li {
        width: auto; /* 改为自适应宽度 */
        display: flex;
        justify-content: center;
    }

    nav ul li a.neumorphic {
        width: auto; /* 改为自适应宽度 */
        padding: 10px 20px;
        font-size: 14px;
        display: inline-flex; /* 保持inline-flex */
        justify-content: center;
        min-width: auto; /* 移除最小宽度限制 */
    }

    nav ul li a.neumorphic i {
        font-size: 1em;
        width: auto; /* 图标宽度自适应 */
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    nav ul {
        gap: 12px;
    }

    nav ul li a.neumorphic {
        padding: 8px 18px;
        font-size: 13px;
    }

    nav ul li a.neumorphic i {
        font-size: 0.9em;
    }
}