:root {
    --primary-color: #4a6bdf;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}
.pagination {
            display: flex;
            justify-content: center;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        .pagination a, .pagination span {
            display: inline-block;
            padding: 8px 16px;
            margin: 0 4px;
            border: 1px solid #ddd;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
        }
        .pagination a:hover {
            background-color: #f5f5f5;
        }
        .pagination .current {
            background-color: #4CAF50;
            color: white;
            border-color: #4CAF50;
        }
        .pagination .disabled {
            color: #ccc;
            pointer-events: none;
        }
        .related-links {
            margin: 20px 0;
            padding: 15px;
            background-color: #f9f9f9;
            border-radius: 5px;
        }
        .related-links h3 {
            margin-top: 0;
            color: #333;
        }
        .related-links ul {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .related-links li a {
            color: #06c;
            text-decoration: none;
        }
        .related-links li a:hover {
            text-decoration: underline;
        }
		
.commercial-badge {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-top: 0.3rem;
}

.font-link {
    display: block;
    margin-top: 0.6rem;
    color: #0073e6;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 通用样式 */
ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: all 0.3s;
}
.search-box {
            margin: 20px 0 30px;
            text-align: center;
        }
        .search-box input[type="text"] {
            padding: 10px 15px;
            width: 60%;
            max-width: 500px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 8px;
        }
        .search-box button {
            padding: 10px 20px;
            font-size: 16px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }
        .no-results {
            text-align: center;
            color: #999;
            font-size: 1.2em;
            margin-top: 40px;
        }
        .pagination {
            text-align: center;
            margin: 30px 0;
        }
        .pagination a {
            display: inline-block;
            padding: 8px 14px;
            margin: 0 4px;
            background: #f0f0f0;
            border-radius: 6px;
            text-decoration: none;
            color: #333;
        }
        .pagination a.active {
            background-color: #007BFF;
            color: white;
        }
/* 头部样式 */
header {
    background: linear-gradient(135deg, #333333, #343a40);
    color: white;
    padding: 0.5rem 0;
    box-shadow: var(--box-shadow);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}
.logo img{width: 233px;}

.logo a {
    color: white;
}

nav ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    font-weight: 500;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* 主体布局 */
.main-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0;
    margin-left: 15%;
}

.sidebar,
.main-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}


/* 侧边栏 */
.sidebar h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar ul li {
    margin-bottom: 0.5rem;
}

.sidebar ul li a {
    color: var(--dark-color);
}

.sidebar ul li a:hover {
    color: var(--primary-color);
}

/* 主内容 */
.page-title,
.related-title,
.featured-title {
    margin-bottom: 1.0rem;
    color: var(--primary-color);
	margin-top: 1rem;
}

.font-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.font-preview-large {
    flex: 0 0 200px;
    height: 150px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 2rem;
    border-radius: var(--border-radius);
}

.font-meta {
    flex: 1;
}
.font-header .font-meta h1{font-size: 3.0rem;}
.font-name-large,
.font-name {
    font-size: 1.0rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.font-modified,
.font-size {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.font-properties {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.font-properties th,
.font-properties td {
    padding: 0.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.font-properties th {
    width: 30%;
    color: var(--secondary-color);
    font-weight: 500;
}

/* 下载按钮 */
.download-btn,
.font-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
}

.download-btn:hover,
.font-link:hover {
    background: #3a56c8;
}

/* 字体卡片网格 */
.font-grid,
.related-list,
.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 最小300px时排成两列 */
    gap: 1.5rem;
}

.font-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.featured-list {
    display: flex;
    flex-wrap: wrap;
	line-height: 40px;
}

.featured-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 200px;
}

.font-card,
.related-item {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s;
}

.font-card:hover,
.related-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.font-preview {
    height: 120px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    padding: 1rem;
    text-align: center;
}

.font-info {
    padding: 1rem;
}

/* 相关推荐 */
.related-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-item a {
    color: var(--dark-color);
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #adb5bd;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.9rem;
}

.keytags {
    background: #f1f1f1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #555;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
        margin-left: 2%;
    }

    .sidebar {
        display: none; /* 隐藏左侧边栏 */
    }

    .font-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .font-preview-large {
        width: 100%;
        margin-bottom: 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0px;
    }
	nav{width:100%;}
nav ul {
        display: grid;
        grid-template-columns: repeat(3, 30%); /* 每行显示两个标签，每个标签占40%的宽度 */
        gap: 10px; /* 标签之间的间距 */
        padding: 0;
        list-style: none;
    }

    nav ul li {
        width: 100%; /* 确保每个列表项都占满相应的宽度 */
        text-align: center; /* 居中对齐文本 */
    }
    .logo{width: 250px;}
    nav ul li a {
        display: block;
        padding: 0px;
        background: #4a6bdf;
        color: white;
        text-align: center;
        border-radius: 4px;
        font-weight: bold;
    }

    nav ul li a:hover {
        background: #3a56c8; /* 改变悬停时的背景颜色 */
    }
    header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 10px;
    }

    header nav ul {
        flex-direction: column;
        gap: 0 10px;
        padding-left: 0;
    }

    .main-layout {
        flex-direction: column;
    }

    aside.sidebar {
        width: 100%;
        margin-bottom: 20px;
        display: none; /* 隐藏左侧边栏 */
    }

    .main-content {
        width: 100%;
        padding: 10px!important;
    }

    .container {

        padding: 10px;
    }
    .font-grid {
        grid-template-columns: 1fr !important;
    }

    .font-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .font-preview img {
        max-width: 100%;
        height: auto;
    }

    .pagination {
        flex-wrap: wrap;
        font-size: 14px;
        padding: 0 5px;
    }

    .related-links ul {
        flex-direction: column;
    }

    .keytags {
        display: inline-block;
        padding: 6px 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .sidebar {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .main-layout {
        grid-template-columns: 1fr;
        margin-left: 2%; /* 更改左边距 */
    }
	.yulantu {max-width:100%;}
    .sidebar {
        display: none; /* 隐藏左侧边栏 */
    }
	.basic-controls .form-group label {
    font-size: 14px;
    color: #2196f3;
}
    .container {
        padding: 0 10px!important;
    }

    header {
        padding: 0rem 0;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.1rem;
    }

    .main-layout {
        grid-template-columns: repeat(1, 98%);
        margin: 1rem 0;
    }

    .sidebar,
    .main-content {
        padding: 0rem;
        box-shadow: none;
    }
    .main-content .page-title{font-size:18px;}
    .main-content .search-box{margin: 5px 0 5px;}
    .main-content .page-title{margin-bottom: 0.5rem;}
    .font-header .font-meta h1{font-size:2.0rem;}
    .main-content .search-box input[type="text"] {padding: 10px 5px;width: 70%;}
    .font-preview-large img {
        width: 100%;
        height: auto;
    }

    .font-preview-large {
        flex: 1 1 auto;
        height: auto;
    }

    .font-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .font-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .font-preview-large {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .font-meta {
        width: 100%;
    }

    .font-properties th,
    .font-properties td {
        padding: 0rem;
        font-size: 0.85rem;
    }

    .font-grid,
    .related-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .featured-list {
        flex-direction: column;
    }

    .featured-item {
        width: 100%;
    }

    .font-card,
    .related-item {
        flex-direction: column;
        text-align: center;
    }

    .font-preview {
        height: auto;
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .font-info {
        padding: 0.8rem;
    }

    .download-btn,
    .font-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .related-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    footer {
        padding: 1.5rem 0;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 48%);
        gap: 1rem;
    }

    .footer-column h4 {
        margin-bottom: 0.5rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
        margin-top: 1.5rem;
        padding-top: 0.8rem;
    }

    .keytags {
        display: inline-block;
        background: #f1f1f1;
        padding: 6px
}
.preview-container .preview-result {min-height: 100px;}
.xiazai{padding-left:10px;}
}
@media (min-width: 995px) {
/* 导航菜单基础样式 */
/* 头部容器样式 - 使logo和nav在一行 */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    background-color: #333; /* 可选：给整个头部添加背景色 */
}

/* logo样式 */
.logo {
    height: 50px; /* 根据实际logo尺寸调整 */
    margin-right: 20px;
}

/* 导航菜单基础样式 */
nav {
    background-color: transparent; /* 移除nav的背景色 */
    padding: 0; /* 移除padding */
    border-radius: 5px;
    box-shadow: none; /* 移除阴影 */
    flex-grow: 1; /* 占据剩余空间 */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* 改为右对齐 */
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
    margin: 0 3px; /* 缩小间距 */
    min-width: auto; /* 取消最小宽度 */
}

nav li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px 12px; /* 缩小内边距 */
    font-size: 14px; /* 缩小字体 */
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap; /* 防止文字换行 */
}

/* 鼠标悬停效果 - 整个区块变为金色 */
nav li:hover {
    background-color: #FFD700; /* 金色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

nav li:hover a {
    color: #333; /* 悬停时文字颜色变为深色 */
}

/* 搜索按钮特殊样式 */
nav li:last-child a {
    background-color: #4CAF50; /* 绿色背景 */
    color: white;
    padding: 8px 15px; /* 保持搜索按钮稍宽 */
}

nav li:last-child:hover {
    background-color: #45a049; /* 深绿色悬停 */
}

nav li:last-child:hover a {
    color: white;
}

/* 添加金色边框和过渡效果 */
nav li {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav li:hover {
    border-color: #FFD700;
}
}
h1 {
        text-align: center;
        color: #333;
        margin-bottom: 30px;
    }
    .preview-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .controls {
        width: 100%;
        font-size: 16px;
    }
    .preview-result {
        width: 100%;
        border: 1px solid #ddd;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
        background-color: white;
        border-radius: 8px;
    }
	.form-group  label{font-size: 18px;
    color: #2196f3;}
    .form-group {
        margin-bottom: 15px;
    }
    label {
        display: initial;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 14px;
    }
    input[type="text"], input[type="number"], input[type="color"], textarea, select {
     
        padding: 5px;
		border: 1px solid #ddd;
		border-radius: 4px;
		width: 100px;
		height: 30px;
		font-size: 20px;
    }
    textarea {
        min-height: 100px;
		resize: vertical;
		min-width: 100%;
		display: block;
		width: 100%;
		height: calc(1.5em + 0.75rem + 2px);
		padding: 0.375rem 0.75rem;
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.5;
		color: #495057;
		background-color: #fff;
		background-clip: padding-box;
		border: 1px solid #1178df;
		border-radius: 0.25rem;
		transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
    button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;
    }
    button:hover {
        background-color: #45a049;
    }
    .color-picker {
        display: flex;
        align-items: center;
    }
    .color-picker input {
        flex: 1;
    }
    .color-picker span {
        margin-left: 10px;
        width: 80px;
    }
    .row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .col {
        flex: 1;
    }
    .color-presets {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 10px;
    }
    .color-preset {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        cursor: pointer;
        border: 1px solid #ddd;
    }
    .color-preset:hover {
        transform: scale(1.1);
    }
    .color-combinations {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
    }
    .color-combination {
        width: 60px;
        height: 30px;
        border-radius: 4px;
        cursor: pointer;
        border: 1px solid #ddd;
        display: flex;
        overflow: hidden;
    }
    .color-combination div {
        flex: 1;
    }
    .color-combination:hover {
        transform: scale(1.05);
    }
    .image-url-container {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-top: 20px;
    }
    .image-url-container input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-top: 10px;
    }
    .btn-generate {
        background-color: #2196F3;
        font-size: 18px;
        padding: 12px 20px;
        width: 200px;
    }
    .btn-generate:hover {
        background-color: #0b7dda;
    }
    .color-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }
    .color-modal-content {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .color-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    .color-modal-title {
        font-size: 18px;
        font-weight: bold;
    }
    .color-modal-close {
        font-size: 24px;
        cursor: pointer;
    }
    .color-palette {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    .color-palette-item {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        cursor: pointer;
    }
    .custom-color-input {
        margin-top: 15px;
    }
    .custom-color-input input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    .modal-footer {
        margin-top: 15px;
        text-align: right;
    }
    .btn-confirm {
        background-color: #4CAF50;
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    
    /* 新增样式 */
    .basic-controls {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .basic-controls .form-group {
        flex: 1;
    }
    .advanced-controls {
        display: none; /* 默认隐藏高级设置 */
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        max-height: 500px;
        overflow-y: auto;
    }
    .toggle-advanced-btn {
        background-color: #666;
        width: 100%;
        margin-bottom: 10px;
    }
    .toggle-advanced-btn:hover {
        background-color: #555;
    }
    .compact-row {
        margin-bottom: 10px !important;
    }
    .compact-form-group {
        margin-bottom: 0;
        float: left;
    }
	#wppay-captcha-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
        }
        
        .wppay-modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            border-radius: 5px;
            position: relative;
        }
        
        .wppay-close-modal {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .wppay-close-modal:hover {
            color: black;
        }
        
        .wppay-captcha-box {
            margin: 20px 0;
        }
        
        .wppay-captcha-box input {
            padding: 8px;
            width: 100%;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        
        .wppay-modal-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .wppay-modal-actions button {
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        #wppay-refresh-captcha {
            background: #f0f0f0;
        }
        
        #wppay-submit-captcha {
            background: #4CAF50;
            color: white;
        }
        
        #wppay-captcha-code {
            font-size: 24px;
            letter-spacing: 3px;
            color: #333;
        }
		.guanyufont{    color: black;
    margin-top: 3px;
    border-radius: 5px;
    padding: 0px 6px;}
	
	.captcha-image-container {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    
    #wppay-captcha-image {
        height: 40px;
        border: 1px solid #ddd;
        margin-right: 10px;
        cursor: pointer;
    }
    
    #wppay-refresh-captcha-btn {
        background: none;
        border: none;
        color: #666;
        cursor: pointer;
        font-size: 13px;
    }
    
    #wppay-refresh-captcha-btn:hover {
        color: #333;
        text-decoration: underline;
    }
	/* URL显示区域样式 */
.myurl {
    margin: 25px 0;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e1e5eb;
}

.url-display {
    flex-grow: 1;
    min-width: 0;
    padding: 5px 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.url-label {
    font-weight: 600;
    color: #4b5563;
    margin-right: 8px;
}

.url-text {
    color: #1e40af;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* 复制按钮样式 */
.copy-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4a6baf 0%, #3a5a9f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(74, 107, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #3a5a9f 0%, #2a4a8f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(74, 107, 175, 0.4);
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(74, 107, 175, 0.3);
}

.copy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.copy-btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.copy-icon {
    transition: transform 0.2s;
}

.copy-btn:hover .copy-icon {
    transform: scale(1.1);
}

/* 通知样式 */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 40px));
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.copy-notification.show {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 50px));
}

.checkmark {
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}