/* 将原index.html中的所有CSS样式复制到这里 */
:root {
    --primary-color: #4a8e48;
    --secondary-color: #d8625e;
    --header-bg: #8B0000;
    --dark-color: #1a1a1a;
    --darker-color: #121212;
    --content-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --text-color: #e0e0e0;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --warning-bg: rgba(139, 0, 0, 0.7);
    --warning-text: #ffffff;
    --warning-icon: #ffcc00;
}

.light-theme {
    --primary-color: #3b6cb0;
    --secondary-color: #4a8e48;
    --header-bg: #3b6cb0;
    --dark-color: #f5f5f5;
    --darker-color: #e0e0e0;
    --content-bg: #ffffff;
    --card-bg: #f0f8ff;
    --text-color: #333333;
    --text-light: #222222;
    --text-muted: #666666;
    --warning-bg: rgba(230, 242, 255, 0.9);
    --warning-text: #2c5aa0;
    --warning-icon: #ff6b6b;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--darker-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主题切换按钮 - 位置下移 */
.theme-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.theme-switcher:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(30deg);
}

.light-theme .theme-switcher {
    background: rgba(255, 255, 255, 0.7);
    color: #3b6cb0;
}

.light-theme .theme-switcher:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--header-bg) 0%, #6d0000 100%);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.light-theme .header {
    background: linear-gradient(135deg, var(--header-bg) 0%, #5a8cd0 100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

.logo {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.light-theme .logo p {
    color: rgba(255, 255, 255, 0.9);
}

/* 轮播图样式 - 缩小40% */
.carousel-container {
    position: relative;
    max-width: 540px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-item img:hover {
    transform: scale(1.02);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    text-align: center;
    color: white;
}

.carousel-caption a {
    color: #fff;
    text-decoration: none;
}

.carousel-caption a:hover {
    color: #ccc;
    text-decoration: underline;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    display: none;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

/* 下载区域 - 保持黑夜模式样式 */
.download-area {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0 !important;
}

.download-area .version-info {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
}

.download-area p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-area .link-item {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.download-area .link-item:hover {
    color: #4a8e48 !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.light-theme .download-area {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
}

.light-theme .download-area .version-info {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

.light-theme .download-area p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.light-theme .download-area .link-item {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.light-theme .download-area .link-item:hover {
    color: #4a8e48 !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.version-info {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    gap: 0.4rem;
}

.download-btn:hover {
    background: #3d7a3b;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.light-theme .download-btn:hover {
    background: #2f5e8e;
}

.download-btn .btn-main-line {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.download-btn .btn-main-line i {
    font-size: 1.3rem;
}

.download-btn .dl-count-line {
    color: rgba(255, 255, 255, 0.85);
    font-weight: normal;
}

.light-theme .download-btn .dl-count-line {
    color: rgba(0, 0, 0, 0.6);
}

.download-btn.secondary {
    background: var(--secondary-color);
}

.download-btn.secondary:hover {
    background: #c15551;
}

.light-theme .download-btn.secondary {
    background: #4a8e48;
}

.light-theme .download-btn.secondary:hover {
    background: #3d7a3b;
}

/* 链接区域 */
.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.link-item {
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.link-item i {
    margin-right: 0.5rem;
}

/* 内容区域 */
.content {
    padding: 3rem 0;
}

/* 警告区域 */
.warning {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-icon);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    color: var(--warning-text);
    position: relative;
}

.warning i {
    color: var(--warning-icon);
    margin-right: 0.5rem;
}

.slogan-html {
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.slogan-html p {
    margin: 0 0 0.8rem;
}

.slogan-html p:last-child {
    margin-bottom: 0;
}

.slogan-html a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.slogan-html a:hover {
    color: var(--primary-color);
}

/* 特性区域 - 添加悬停效果 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.light-theme .feature-card {
    border: 1px solid rgba(59, 108, 176, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
}

.light-theme .feature-card:hover {
    background: rgba(59, 108, 176, 0.1);
    border: 1px solid var(--primary-color);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

/* 历史与合作区域 */
.history-cooperation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.history, .friend-links, .cooperation {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.light-theme .history,
.light-theme .friend-links,
.light-theme .cooperation {
    border: 1px solid rgba(59, 108, 176, 0.2);
}

.history h3, .friend-links h3, .cooperation h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    text-align: center;
}

.history-content {
    color: var(--text-muted);
    line-height: 1.8;
    flex-grow: 1;
}

.cooperation-methods {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.cooperation-method {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.light-theme .cooperation-method {
    background: rgba(59, 108, 176, 0.1);
}

.cooperation-method:hover {
    background: rgba(255, 255, 255, 0.1);
}

.light-theme .cooperation-method:hover {
    background: rgba(59, 108, 176, 0.2);
}

.cooperation-method:hover::after {
    content: '点击复制';
    position: absolute;
    right: 10px;
    font-size: 1.0rem;
    color: var(--primary-color);
}

.cooperation-method i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.8rem;
    width: 25px;
    text-align: center;
}

.cooperation-method span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.error-hero {
    padding-bottom: 0;
}

.error-hero-message {
    margin-top: 1.5rem;
    text-align: center;
}

.error-hero-message h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.error-hero-message p {
    color: rgba(255, 255, 255, 0.85);
}

.light-theme .error-hero-message h2 {
    color: var(--text-light);
}

.light-theme .error-hero-message p {
    color: rgba(34, 34, 34, 0.85);
}

.error-page {
    padding: 3rem 0 4rem;
}

.error-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 760px;
    margin: -3rem auto 0;
    position: relative;
    overflow: hidden;
}

.light-theme .error-card {
    border: 1px solid rgba(59, 108, 176, 0.2);
}

.error-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.error-card > * {
    position: relative;
    z-index: 1;
}

.error-code {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.light-theme .error-code {
    text-shadow: none;
}

.error-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.light-theme .error-lead {
    color: rgba(51, 51, 51, 0.8);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.error-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.error-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-button:hover::after {
    opacity: 1;
}

.error-button.primary {
    background: var(--primary-color);
    color: #ffffff;
}

.error-button.secondary {
    background: var(--secondary-color);
    color: #ffffff;
}

.error-button.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.light-theme .error-button {
    background: rgba(59, 108, 176, 0.1);
    color: #2a3f5f;
}

.light-theme .error-button.primary {
    background: #3b6cb0;
    color: #ffffff;
}

.light-theme .error-button.outline {
    border-color: rgba(59, 108, 176, 0.4);
}

.error-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.error-suggestions {
    margin-top: 2.5rem;
    text-align: left;
}

.error-suggestions h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.light-theme .error-suggestions h3 {
    color: #2a3f5f;
}

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

.error-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.error-link-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-link-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    color: var(--primary-color);
}

.error-link-item:hover::after {
    opacity: 1;
}

.error-link-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    z-index: 1;
}

.error-link-item span {
    z-index: 1;
}

.light-theme .error-link-item {
    background: rgba(59, 108, 176, 0.12);
}

.error-contacts {
    margin-top: 2.5rem;
    text-align: left;
}

.error-contacts h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.error-contact-tip {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.light-theme .error-contact-tip {
    color: rgba(51, 51, 51, 0.7);
}

.taobao-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 1.5rem;
    align-self: center;
}

.taobao-link:hover {
    background: #3d7a3b;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.light-theme .taobao-link:hover {
    background: #2f5e8e;
}

.taobao-link i {
    margin-right: 0.5rem;
}

/* 友情链接区域 */
.friend-links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    flex-grow: 1;
}

.friend-link {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
}

.light-theme .friend-link {
    background: rgba(59, 108, 176, 0.1);
}

.friend-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.light-theme .friend-link:hover {
    background: rgba(59, 108, 176, 0.2);
    color: #2a4d7a;
}

.friend-link i {
    margin-right: 0.6rem;
    font-size: 1rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* 复制提示 */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--dark-color);
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.baidu-stat {
    text-align: center;
    margin-top: 0.75rem;
}

/* 右侧中间广告位 - 修改后 */
.ad-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 150px;
    height: 300px;
    transition: var(--transition);
}

.ad-content {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    transform-origin: right center;
}

.ad-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.ad-image:hover {
    transform: scale(1.05);
}

.ad-caption {
    padding: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    cursor: default;
}

.ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 1000;
}

.ad-close:hover {
    background: #c15551;
    transform: scale(1.1);
}

.ad-container:hover .ad-content {
    transform: translateX(-75%) scale(2);
}

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

    .error-card {
        padding: 2rem;
        margin-top: -2rem;
    }

    .error-code {
        font-size: 3.5rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-button {
        width: 100%;
        justify-content: center;
    }

    .download-area {
        padding: 1.5rem;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
    }
    
    .history-cooperation {
        grid-template-columns: 1fr;
    }
    
    .friend-links-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ad-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }

    .error-card {
        padding: 1.8rem;
    }

    .error-lead {
        font-size: 1rem;
    }

    .logo p {
        font-size: 1rem;
    }

    .version-info {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .download-btn {
        min-width: auto;
        font-size: 1rem;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .friend-links-container {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ===== Copy-hint styles (non-intrusive) ===== */
.copy-hint{
  display: inline-flex;
  align-items: center;
  gap: .35em;
  margin-left: .6em;
  padding: .2em .5em;
  border-radius: .4em;
  font-size: .9em;
  opacity: .85;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease, opacity .2s ease, transform .05s ease;
}
.copy-hint:hover{
  background: rgba(0,0,0,.06);
  opacity: 1;
}
.light-theme .copy-hint:hover{
  background: rgba(0,0,0,.08);
}
.copy-hint:active{
  transform: scale(.98);
}
.copy-hint.copied{
  background: rgba(0,128,0,.10);
  opacity: 1;
}
.copy-hint i{
  font-size: .95em;
}


/* --- Click fixes --- */
.ad-container { pointer-events: none; }
.ad-container .ad-content, .ad-container .ad-content * { pointer-events: auto; }
.theme-switcher { position: fixed; z-index: 99999; }




/* --- Fix: Keep only main title color unchanged after theme switch --- */
.light-theme .logo h1 { color: #ffffff !important; }
