:root {
    --primary-color: #e0e5ec;
    --secondary-color: #c2c9d6;
    --accent-color: #6d94ff;
    --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: #ffffff;
    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;
}


nav ul li {
    margin: 10px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    box-shadow: inset 3px 3px 5px var(--shadow-color), 
                inset -3px -3px 5px var(--highlight-color);
}

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;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    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);
}

.neumorphic-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 50px;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-color), 
                -5px -5px 10px var(--highlight-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.neumorphic-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-color), 
                inset -5px -5px 10px var(--highlight-color);
}

.social-icons {
    margin-top: 20px;
    text-align: center;
}

.social-icons a {
    margin: 0 10px;
    color: var(--text-color);
    font-size: 1.5em;
}

.info-box {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--light-text-color);
    text-align: center;
}

.form-box {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px var(--shadow-color), 
                -5px -5px 10px var(--highlight-color);
    margin-bottom: 20px;            
}

.details-box {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-color), 
                -5px -5px 10px var(--highlight-color);
    line-height: 1.8;
}

.details-box p {
    margin-bottom: 10px;
}

.details-box a {
    color: var(--accent-color);
    text-decoration: none;
}

.details-box a:hover {
    text-decoration: underline;
}
.details-box {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-color), 
                -5px -5px 10px var(--highlight-color);
    line-height: 1.8;
    color: var(--text-color);
}

.details-box p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.details-box a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.details-box a:hover {
    text-decoration: underline;
}

.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;
    margin-top: 20px;
}

.btn:hover {
    box-shadow: 3px 3px 5px var(--shadow-color), 
                -3px -3px 5px var(--highlight-color);
}
.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    position: relative; /* 添加相对定位作为水印容器 */
}



.details-table th {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    width: 150px;
}

.details-table td a {
    color: var(--accent-color);
    text-decoration: none;
}

.details-table td a:hover {
    text-decoration: underline;
}
.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.footer-link a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-link a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 20px;
    text-align: center;
}

.social-icons a {
    margin: 0 10px;
    color: var(--text-color);
    font-size: 1.5em;
}
a {
    text-decoration: none;
    color: var(--text-color);
}

a:hover {
    text-decoration: underline;
}
.featured-website {
    background-color: #f0f0f3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #d1d9e6, -5px -5px 10px #ffffff;
    margin-bottom: 20px;
    text-align: center;
    transition: opacity 0.5s ease;
}

.featured-website.hidden {
    opacity: 0;
}

.featured-website h2 {
    color: #3498db;
    margin-bottom: 15px;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.website-name {
    font-weight: bold;
    color: #2c3e50;
}

.website-url a {
    color: #3498db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.website-url a:hover {
    text-decoration: underline;
}

.website-registration {
    color: #7f8c8d;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .featured-website {
        padding: 15px;
    }

    .featured-content {
        gap: 8px;
    }
}



footer {
    background-color: #f0f0f3;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #d1d9e6, -5px -5px 10px #ffffff;
    margin-top: 20px;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

nav {
    width: 100%;
    padding: 20px 0;
}

nav .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav ul li {
    flex: 0 1 auto;
}

nav ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
    white-space: nowrap;
}

nav ul li a i {
    font-size: 16px;
}

nav ul li a:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 12px #d1d1d1, -7px -7px 12px #ffffff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    nav ul li a {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
    }
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 200px;  /* 限制最大宽度 */
    height: auto;      /* 保持宽高比 */
    width: auto;       /* 自动宽度 */
    max-height: 50px;  /* 限制最大高度 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .logo img {
        max-width: 150px;  /* 移动端更小的宽度 */
        max-height: 40px;  /* 移动端更小的高度 */
    }
}

/* 修改 header 相关式 */
header {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.title-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.title-group .logo {
    width: auto;
    height: 50px; /* 调整为与文字高度接近的值 */
    object-fit: contain;
    vertical-align: middle; /* 确保图片与文字垂直对齐 */
}

.title-group h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
    line-height: 30px; /* 与logo高一致 */
    display: inline-block;
    vertical-align: middle;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin: 5px 0 0 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .title-group {
        gap: 8px;
    }


    .title-group h1 {
        font-size: 24px;
        line-height: 24px;
    }

    .subtitle {
        font-size: 14px;
    }
}
.details-box a img {
    vertical-align: middle; /* 确保图标和文字水平对齐 */
}
    .modal, .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;
    }

    .modal-content, .alert-content {
        background-color: #fefefe;
        margin: 8% auto;
        padding: 20px;
        border: 1px solid #888;
        /* width: 50%; */
        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;
    }

    .report-btn-container {
        text-align: center;
        margin: 20px 0;
    }

    .report-btn {
        background-color: #e74c3c;
        color: var(--light-text-color);
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        font-size: 14px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        margin: 0;
        box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2), 
                    -3px -3px 5px rgba(255, 255, 255, 0.5);
    }


    .report-btn:hover {
        background-color: #c0392b;
        box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.2), 
                    inset -3px -3px 5px rgba(255, 255, 255, 0.5);
    }

    .status {
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
        display: inline-block;
    }

    .status.已通过 {
        background-color: #2ecc71;
        color: #fff;
    }

    .status.待审核 {
        background-color: #f1c40f;
        color: #fff;
    }

    .status.已拒绝 {
        background-color: #e74c3c;
        color: #fff;
    }

    .details-box {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        background: var(--primary-color);
        box-shadow: 5px 5px 10px var(--shadow-color), 
                    -5px -5px 10px var(--highlight-color);
        line-height: 1.8;
        color: var(--text-color);
        overflow-x: auto;
        max-width: 100%;
    }

    .code-container {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .details-box pre {
        background-color: #f5f5f5;
        padding: 10px;
        border-radius: 8px;
        overflow-x: auto;
        flex-grow: 1;
        position: relative;
        /* 自定义滚动条样式 */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: var(--accent-color) #ffe2e2; /* Firefox */
    }

    /* Webkit浏览器的滚动条样式 */
    .details-box pre::-webkit-scrollbar {
        height: 8px; /* 水平滚动条高度 */
    }

    .details-box pre::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }

    .details-box pre::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .details-box pre::-webkit-scrollbar-thumb:hover {
        background: #6f9dff; /* 深一点的蓝色 */
    }

    .details-box code {
        font-family: 'Courier New', Courier, monospace;
        color: #333;
    }

    .copy-btn {
        background-color: #6f9dff;
        color: #ffffff;
        border: none;
        padding: 5px;
        cursor: pointer;
        margin-left: 10px;
        border-radius: 4px;
        box-shadow: 3px 3px 5px var(--shadow-color), 
                    -3px -3px 5px var(--highlight-color);
        transition: all 0.3s ease;
    }

    .copy-btn:hover {
        box-shadow: inset 3px 3px 5px var(--shadow-color), 
                    inset -3px -3px 5px var(--highlight-color);
    }

    .success-message, .error-message {
        background-color: #2ecc71;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        margin: 20px auto;
        max-width: 400px;
    }

    .error-message {
        background-color: #e74c3c;
    }

    .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;
    }

    .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;
    }

    .verified-icon {
        height: 20px;
        vertical-align: middle;
        cursor: pointer;
    }

    .styled-input {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-color: #f9f9f9;
        font-size: 16px;
        color: #333;
    }

    .watermark-text {
        position: absolute;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.1);
        pointer-events: none;
        transform: rotate(-45deg);
        white-space: nowrap;
        z-index: 1000; /* 确保水印在最上层 */
    }

    /* #watermarkContainer {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1; 
        pointer-events: none;
    } */

    
    .container {
        max-width: 1200px;
        padding: 20px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
        #watermarkContainer {
            height: 100%; /* 确保在移动端也能填满容器 */
        }
        
        .container {
            min-height: 150px;
        }
    }

    .btn-2 {
        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;
    }


    
    nav ul {
        list-style-type: none;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    nav ul li {
        flex: 1;
        max-width: 150px;
    }

    nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        /* padding: 10px; */
        text-decoration: none;
        color: #333;
        background-color: #f0f0f0;
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
        white-space: nowrap;
        font-size: 14px;
    }

    nav ul li a i {
        font-size: 16px;
    }

    nav ul li a:hover {
        transform: translateY(-2px);
        box-shadow: 7px 7px 12px #d1d1d1, -7px -7px 12px #ffffff;
    }

    @media (max-width: 768px) {
        nav ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 一行���示两个按钮 */
            gap: 10px;
            padding: 10px;
        }

        nav ul li {
            max-width: none;
        }


        nav ul li a i {
            font-size: 14px;
        }
    }

    /* 详情表格容器样式 */
    .details-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        position: relative; /* 添加相对定位作为水印容器 */
    }

    /* 水印容器样式 */
    #watermarkContainer {
        position: absolute;
        top: 100%; /* 修改为50%使其居中 */
        left: 50%;
        transform: translate(-50%, -50%); /* 使用transform居中 */
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
        pointer-events: none;
    }

    .watermark-text {
        position: absolute;
        font-size: 16px; /* 增大字体 */
        color: rgba(0, 0, 0, 0.08); /* 调整透明度 */
        pointer-events: none;
        transform: rotate(-45deg);
        white-space: nowrap;
        user-select: none;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg); /* 居中并旋转 */
    }


    /* 移动端适配 */
    @media (max-width: 768px) {
        .watermark-text {
            font-size: 14px;
        }
    }

    /* 超小屏幕适配 */
    @media (max-width: 480px) {
        .watermark-text {
            font-size: 12px;
        }
    }

    /* 表格响应式样式 */
    @media (max-width: 768px) {
        table {
            border-spacing: 0 15px;
        }

        table thead {
            display: none;
        }

        table tr {
            display: flex;
            flex-direction: column;
            margin-bottom: 15px;
            background: var(--primary-color);
            border-radius: 10px;
            box-shadow: 3px 3px 5px var(--shadow-color), 
                        -3px -3px 5px var(--highlight-color);
        }

        table td {
            display: flex;
            padding: 12px 15px;
            border: none;
            align-items: center;
        }

        table td:before {
            content: attr(data-label);
            font-weight: bold;
            width: 80px;
            min-width: 80px;
            color: var(--text-color);
            margin-right: 15px;
        }

        table td:not(:last-child) {
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        /* 操作列样式 */
        table td:last-child {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
        }

        table td:last-child:before {
            content: attr(data-label);
        }

        /* 按钮样式 */
        .btn {
            width: 32px;
            height: 32px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            border-radius: 50%;
        }

        .btn i {
            font-size: 14px;
        }

        /* 状态标签样式 */
        .status {
            padding: 5px 12px;
            font-size: 13px;
            margin-left: auto;
        }

        /* 认证图标样式 */
        .verified-icon {
            height: 20px;
            margin-left: 8px;
        }
    }

    /* 超小屏幕适配 */
    @media (max-width: 480px) {
        table td {
            padding: 10px 12px;
        }

        table td:before {
            width: 70px;
            min-width: 70px;
            font-size: 12px;
        }

        .btn {
            width: 28px;
            height: 28px;
        }

        .btn i {
            font-size: 12px;
        }

        .status {
            padding: 4px 10px;
            font-size: 12px;
        }
    }

    /* 详情表格样式 */
    .details-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        position: relative;
    }

    .details-table th,
    .details-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .details-table th {
        background-color: #f5f5f5;
        color: #333;
        width: 150px;
        font-weight: 600;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
        .details-table {
            display: block;
        }
    
        .details-table tr {
            display: flex;
                margin-bottom: 10px;
                background: var(--primary-color);
                border-radius: 8px;
                box-shadow: 3px 3px 5px var(--shadow-color), -3px -3px 5px var(--highlight-color);
                align-items: flex-end;
                align-content: center;
                flex-wrap: nowrap;
                flex-direction: row;
            }
        
        
        .details-table th,
        .details-table td {
            display: block;
            padding: 12px 15px;
            border: none;
        }
        
        .details-table th {
            width: 80px; /* 减小标签宽度 */
            min-width: 80px;
            background: none;
            font-size: 14px;
            display: flex;
            align-items: center;
            padding-right: 5px; /* 减小右边距 */
        }
        
        .details-table td {
            flex: 1;
            background: none;
            display: flex;
            align-items: center;
            padding-left: 5px; /* 减小左边距 */
        }

        /* 状态标签样式 */
        .details-table .status {
            display: inline-block;
            margin: 0;
        }

        /* 图标样式 */
        .details-table .verified-icon {
            height: 20px;
            vertical-align: middle;
            margin-left: 8px;
        }

        /* 链接样式 */
        .details-table td a {
            word-break: break-all;
        }
    }

    /* 超小屏幕适配 */
    @media (max-width: 480px) {
        .details-table tr {
            margin-bottom: 8px;
        }

        .details-table th {
            width: 70px; /* 进一步减小标签宽度 */
            min-width: 70px;
            font-size: 13px;
            padding: 10px 5px 10px 10px; /* 调整内边距 */
        }
        
        .details-table td {
            font-size: 13px;
            padding: 10px 10px 10px 5px; /* 调整内边距 */
        }
    }