/*
Theme Name: 冰雪传奇攻略站
Theme URI: https://yourdomain.com/ice-legend
Author: Your Name
Author URI: https://yourdomain.com
Description: 冰雪传奇私服攻略主题，包含职业与技能、装备强化、升级打宝、打金搬砖、冰雪专题等模块。
Version: 1.0
License: GPL v2 or later
Text Domain: ice-legend
*/

/* ========== 全局重置与基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: #0a1628;
    color: #c0d8f0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* 冰雪背景效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 180, 219, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(100, 200, 255, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    pointer-events: none;
    z-index: -2;
}

/* 雪花飘落效果 */
body::after {
    content: "";
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="20" cy="30" r="2.5" fill="white" opacity="0.5"/><circle cx="80" cy="60" r="2" fill="white" opacity="0.3"/><circle cx="150" cy="90" r="3" fill="white" opacity="0.4"/><circle cx="50" cy="150" r="2" fill="white" opacity="0.25"/><circle cx="170" cy="170" r="2.5" fill="white" opacity="0.35"/><circle cx="100" cy="20" r="1.8" fill="white" opacity="0.3"/><circle cx="30" cy="100" r="2.8" fill="white" opacity="0.3"/></svg>');
    background-size: 300px 300px;
    opacity: 0.4;
    animation: snowfall 35s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes snowfall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* ========== 头部区域 ========== */
.hero-section {
    position: relative;
    margin-bottom: 30px;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a3050 0%, #0d1f3c 50%, #0a1628 100%);
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="ice1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300bcd4;stop-opacity:0.15"/><stop offset="100%" style="stop-color:%230088aa;stop-opacity:0.05"/></linearGradient><linearGradient id="ice2" x1="100%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%2300e5ff;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23005577;stop-opacity:0.02"/></linearGradient></defs><polygon points="0,400 200,200 400,350 600,150 800,300 1000,100 1200,250 1200,400" fill="url(%23ice1)"/><polygon points="0,400 300,300 500,400 700,250 900,380 1100,200 1200,350 1200,400" fill="url(%23ice2)"/><path d="M0,350 Q200,250 400,320 Q600,390 800,280 Q1000,170 1200,300 L1200,400 L0,400 Z" fill="rgba(0,150,200,0.08)"/></svg>');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.8;
}

.hero-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 150, 200, 0.1) 0%, transparent 50%);
}

.top-bar {
    padding: 50px 0 30px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
    border-bottom: 2px solid rgba(0, 188, 212, 0.3);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #00bcd4, #006688);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    box-shadow: 
        0 12px 0 #004466,
        0 20px 35px rgba(0, 188, 212, 0.4),
        inset 0 -5px 0 rgba(0,0,0,0.2),
        inset 0 5px 15px rgba(255,255,255,0.4);
    animation: floatIce 5s ease-in-out infinite;
    transition: all 0.3s;
}

.logo-icon:hover {
    transform: translateY(-5px);
}

@keyframes floatIce {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #b0e8ff 35%, #00bcd4 70%, #0088aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    text-shadow: 
        5px 5px 0 rgba(0, 60, 80, 0.5),
        0 15px 30px rgba(0, 188, 212, 0.4);
    letter-spacing: 12px;
    margin-bottom: 8px;
}

.site-sub {
    font-size: 20px;
    color: #00e5ff;
    letter-spacing: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #0a1628, 0 0 20px rgba(0, 229, 255, 0.3);
}

/* ========== 搜索框 ========== */
.search-wrapper {
    flex: 0 0 350px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 188, 212, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #00bcd4;
    border-radius: 50px 15px 50px 15px;
    padding: 5px 5px 5px 25px;
    box-shadow: 
        0 6px 0 #005577,
        inset 0 2px 10px rgba(0, 229, 255, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: #00e5ff;
    box-shadow: 
        0 6px 0 #005577,
        inset 0 2px 15px rgba(0, 229, 255, 0.2),
        0 10px 25px rgba(0, 188, 212, 0.3);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.search-box input::placeholder {
    color: rgba(160, 216, 240, 0.6);
    font-weight: 400;
    letter-spacing: 1px;
}

.search-box button {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    border: none;
    border-radius: 40px 10px 40px 10px;
    padding: 14px 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #005577;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box button:hover {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #005577;
}

/* ========== 导航菜单 ========== */
.nav-wrapper {
    margin-top: 40px;
    position: relative;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 5px;
    padding: 0 5px;
    list-style: none;
}

.nav-item {
    flex: 1;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.nav-item-inner {
    background: linear-gradient(180deg, 
        rgba(0, 188, 212, 0.2) 0%, 
        rgba(0, 160, 190, 0.3) 40%,
        rgba(0, 110, 140, 0.45) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(0, 229, 255, 0.5);
    border-top: none;
    border-radius: 0 0 35px 35px;
    padding: 22px 8px 18px;
    text-align: center;
    clip-path: polygon(10% 0%, 90% 0%, 100% 25%, 95% 100%, 5% 100%, 0% 25%);
    box-shadow: 
        inset 0 8px 20px rgba(0, 229, 255, 0.15),
        0 -8px 20px rgba(0, 0, 0, 0.3),
        0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.nav-item-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    border-radius: 50%;
    opacity: 0.5;
}

.nav-item-inner::after {
    content: "";
    position: absolute;
    top: 8%;
    left: 10%;
    width: 25%;
    height: 70%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: skewX(-8deg);
}

.nav-item::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 22px;
    background: linear-gradient(180deg, #00e5ff 0%, rgba(0, 188, 212, 0.9) 100%);
    box-shadow: 0 0 15px #00e5ff;
    opacity: 0.8;
    transition: all 0.3s;
}

.nav-item::after {
    content: "";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00e5ff, 0 0 8px #fff;
    transition: all 0.3s;
}

.nav-icon-custom {
    display: block;
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.6));
    transition: all 0.3s;
}

.nav-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-shadow: 
        0 3px 5px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 229, 255, 0.5);
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-subtext {
    font-size: 11px;
    font-weight: 500;
    color: #80d8f0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    display: block;
    opacity: 0.8;
    transition: all 0.3s;
}

.nav-item:hover {
    transform: translateY(-10px);
}

.nav-item:hover .nav-item-inner {
    background: linear-gradient(180deg, 
        rgba(0, 220, 250, 0.35) 0%, 
        rgba(0, 190, 220, 0.5) 40%,
        rgba(0, 140, 180, 0.65) 100%);
    border-color: #00e5ff;
    box-shadow: 
        inset 0 10px 25px rgba(0, 229, 255, 0.25),
        0 -10px 30px rgba(0, 188, 212, 0.5),
        0 12px 25px rgba(0, 0, 0, 0.4);
}

.nav-item:hover::before {
    height: 28px;
    background: linear-gradient(180deg, #fff 0%, #00e5ff 100%);
    box-shadow: 0 0 25px #00e5ff;
    opacity: 1;
}

.nav-item:hover::after {
    width: 16px;
    height: 16px;
    background: #fff;
    box-shadow: 0 0 30px #00e5ff, 0 0 15px #fff;
}

.nav-item:hover .nav-icon-custom {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.9));
}

.nav-item:hover .nav-text {
    color: #fff;
    text-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(0, 229, 255, 0.9);
    letter-spacing: 5px;
}

.nav-item:hover .nav-subtext {
    color: #e0f0ff;
    opacity: 1;
}

.current-menu-item .nav-item-inner,
.current-post-parent .nav-item-inner {
    background: linear-gradient(180deg, #00bcd4 0%, #0088aa 100%);
    border-color: #00e5ff;
    box-shadow: inset 0 10px 25px rgba(255, 255, 255, 0.2), 0 -8px 25px rgba(0, 188, 212, 0.5);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    border: none;
    border-radius: 30px 8px 30px 8px;
    padding: 12px 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 0 #005577;
}

/* ========== 主体区域 ========== */
.main-content {
    padding: 40px 0 40px;
}

/* ========== 最新开服模块 ========== */
.server-section {
    background: linear-gradient(180deg, rgba(0, 50, 80, 0.85) 0%, rgba(0, 30, 50, 0.92) 100%);
    border: 1px solid #00bcd4;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.5),
        inset 0 0 40px rgba(0, 188, 212, 0.1);
    backdrop-filter: blur(10px);
}

.server-header {
    padding: 20px 30px;
    background: linear-gradient(90deg, rgba(0, 150, 200, 0.35), rgba(0, 80, 120, 0.35));
    border-bottom: 2px solid #00bcd4;
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-header h2 {
    color: #00e5ff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    letter-spacing: 4px;
}

.server-header .en-title {
    color: #5090a0;
    font-size: 14px;
    text-transform: uppercase;
}

.server-table-wrap {
    overflow-x: auto;
}

.server-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.server-table thead {
    background: rgba(0, 80, 120, 0.5);
}

.server-table th {
    text-align: left;
    padding: 15px 18px;
    color: #00e5ff;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #00bcd4;
}

.server-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    vertical-align: middle;
}

.server-table tbody tr:hover {
    background: rgba(0, 150, 200, 0.15);
}

.server-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-name {
    color: #d0e8ff;
    font-weight: 600;
    font-size: 16px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px 5px 20px 5px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.status-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.status-new {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    color: white;
}

.status-soon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    color: #0a1628;
}

.version-badge {
    padding: 4px 12px;
    background: rgba(0, 50, 80, 0.6);
    border-radius: 12px 3px 12px 3px;
    font-size: 12px;
    color: #00e5ff;
    display: inline-block;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.server-time {
    color: #00e5ff;
    font-weight: 500;
}

.server-tags-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.server-tag {
    padding: 3px 10px;
    background: rgba(0, 80, 120, 0.4);
    border-radius: 10px 2px 10px 2px;
    font-size: 11px;
    color: #a0d8f0;
    white-space: nowrap;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.countdown-text {
    color: #00e5ff;
    font-size: 13px;
    font-weight: 500;
}

.btn-enter {
    padding: 7px 20px;
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
    border-radius: 20px 5px 20px 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 0 #005577;
}

.btn-enter:hover {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #005577;
}

.more-server-link {
    text-align: center;
    padding: 18px 20px;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

.more-server-link a {
    color: #80c0d0;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 30px;
    background: rgba(0, 80, 120, 0.4);
    border-radius: 30px 8px 30px 8px;
    border: 1px solid #00bcd4;
    transition: all 0.2s;
    display: inline-block;
}

.more-server-link a:hover {
    color: #00e5ff;
    background: rgba(0, 150, 200, 0.4);
    border-color: #00e5ff;
}

/* ========== 攻略大全标题 ========== */
.section-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 4px 4px 0 rgba(0, 80, 100, 0.5);
}

.section-title span {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    padding: 12px 30px;
    border-radius: 40px 8px 40px 8px;
    font-size: 20px;
    color: #fff;
    text-shadow: none;
    box-shadow: 0 8px 0 #005577;
}

/* ========== 卡片样式 ========== */
.guide-grid-double {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}

.guide-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.ice-card-horizontal {
    background: linear-gradient(145deg, rgba(0, 70, 100, 0.85) 0%, rgba(0, 35, 60, 0.92) 100%);
    border: 2px solid #00bcd4;
    border-left-width: 6px;
    border-left-color: #00e5ff;
    border-radius: 0 40px 0 40px;
    overflow: hidden;
    box-shadow: 
        0 12px 0 #004466,
        0 20px 35px rgba(0, 0, 0, 0.4),
        inset 0 -5px 20px rgba(0, 229, 255, 0.08);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.ice-card-horizontal::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    border-radius: 0 0 0 80px;
}

.ice-card-horizontal:hover {
    transform: translateY(-6px) translateX(3px);
    box-shadow: 
        0 15px 0 #004466,
        0 25px 40px rgba(0, 0, 0, 0.5),
        inset 0 -5px 25px rgba(0, 229, 255, 0.12);
    border-left-color: #00e5ff;
}

.card-header-horizontal {
    padding: 30px 30px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px dashed rgba(0, 188, 212, 0.3);
}

.card-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #00bcd4, #006688);
    border-radius: 30% 70% 30% 70% / 60% 40% 60% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 
        0 8px 0 #004466,
        inset 0 -3px 0 rgba(0,0,0,0.2),
        inset 0 5px 12px rgba(255,255,255,0.3);
    transform: rotate(-3deg);
    animation: icePulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes icePulse {
    0%, 100% { box-shadow: 0 8px 0 #004466, inset 0 -3px 0 rgba(0,0,0,0.2), inset 0 5px 12px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 8px 0 #004466, inset 0 -3px 0 rgba(0,0,0,0.2), inset 0 5px 18px rgba(255,255,255,0.5), 0 0 25px rgba(0, 229, 255, 0.3); }
}

.card-title-wrapper {
    flex: 1;
}

.card-title-wrapper h3 {
    font-size: 28px;
    font-weight: 800;
    color: #00e5ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 0 #004466;
    margin-bottom: 8px;
}

.card-stats-row {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #80b0c0;
}

.card-body-horizontal {
    padding: 25px 30px;
    flex: 1;
}

.card-list-horizontal {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.card-list-horizontal li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 188, 212, 0.12);
}

.card-list-horizontal li:nth-last-child(-n+2) {
    border-bottom: none;
}

.card-list-horizontal a {
    color: #b0d8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: all 0.2s;
}

.card-list-horizontal a:hover {
    color: #00e5ff;
    transform: translateX(5px);
}

.article-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px 2px 8px 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.label-article {
    background: #0088aa;
    color: #fff;
    box-shadow: 0 2px 0 #005577;
}

.label-video {
    background: #00bcd4;
    color: #0a1628;
    box-shadow: 0 2px 0 #0088aa;
}

.card-footer-horizontal {
    padding: 20px 30px 25px;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
    text-align: right;
}

.card-btn-ice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #00e5ff;
    padding: 12px 30px;
    border-radius: 30px 8px 30px 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 2px solid #00bcd4;
    transition: all 0.2s;
}

.card-btn-ice:hover {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 0 #005577;
    transform: translateX(5px);
}

/* ========== 冰雪专题大卡片 ========== */
.ice-card-full {
    background: linear-gradient(145deg, rgba(0, 90, 130, 0.9) 0%, rgba(0, 45, 75, 0.95) 100%);
    border: 2px solid #00e5ff;
    border-radius: 0 60px 0 60px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 
        0 15px 0 #004466,
        0 25px 40px rgba(0, 0, 0, 0.5),
        inset 0 -8px 30px rgba(0, 229, 255, 0.1),
        0 0 0 2px rgba(0, 188, 212, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    position: relative;
}

.ice-card-full::before {
    content: "❄️";
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 180px;
    opacity: 0.08;
    transform: rotate(-15deg);
}

.ice-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 18px 0 #004466,
        0 30px 50px rgba(0, 0, 0, 0.6),
        inset 0 -8px 35px rgba(0, 229, 255, 0.15),
        0 0 0 2px rgba(0, 188, 212, 0.5);
}

.card-header-full {
    padding: 35px 40px 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.15) 0%, transparent 50%);
}

.card-icon-full {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #00e5ff, #0088aa);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 
        0 10px 0 #005577,
        inset 0 -4px 0 rgba(0,0,0,0.2),
        inset 0 6px 15px rgba(255,255,255,0.4),
        0 0 30px rgba(0, 229, 255, 0.3);
    transform: rotate(-3deg);
    animation: icePulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

.card-title-wrapper-full {
    flex: 1;
}

.card-title-wrapper-full h3 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 4px 4px 0 #004466, 0 0 30px rgba(0, 229, 255, 0.4);
    margin-bottom: 10px;
}

.card-title-wrapper-full .full-subtitle {
    font-size: 18px;
    color: #00e5ff;
    letter-spacing: 3px;
}

.card-stats-full {
    display: flex;
    gap: 35px;
    margin-top: 15px;
    font-size: 16px;
    color: #a0d8f0;
}

.card-stats-full span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body-full {
    padding: 30px 40px;
}

.card-list-full {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 30px;
}

.card-list-full li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 188, 212, 0.15);
}

.card-list-full a {
    color: #c0e0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.2s;
}

.card-list-full a:hover {
    color: #00e5ff;
    transform: translateX(8px);
}

.card-footer-full {
    padding: 25px 40px 35px;
    border-top: 1px solid rgba(0, 188, 212, 0.25);
    text-align: right;
}

.card-btn-full {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
    padding: 15px 40px;
    border-radius: 40px 10px 40px 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    box-shadow: 0 8px 0 #005577;
    transition: all 0.2s;
}

.card-btn-full:hover {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    transform: translateY(-3px);
    box-shadow: 0 12px 0 #005577, 0 0 30px rgba(0, 229, 255, 0.4);
}

/* ========== 热门推荐 ========== */
.hot-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.hot-card {
    background: linear-gradient(180deg, rgba(0, 60, 90, 0.85) 0%, rgba(0, 30, 50, 0.92) 100%);
    border: 1px solid #00bcd4;
    border-radius: 30px 8px 30px 8px;
    padding: 30px;
    box-shadow: 0 10px 0 #004466, 0 15px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}

.hot-card h3 {
    color: #00e5ff;
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.hot-list {
    list-style: none;
}

.hot-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list a {
    color: #c0d8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.hot-list a:hover {
    color: #00e5ff;
}

.view-count {
    font-size: 13px;
    color: #6080a0;
}

/* ========== 侧边栏样式 ========== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: rgba(0, 40, 70, 0.85);
    border: 1px solid #00bcd4;
    border-radius: 15px 5px 15px 5px;
    overflow: hidden;
    box-shadow: 0 5px 0 #004466;
    backdrop-filter: blur(8px);
}

.sidebar-header {
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(0, 100, 140, 0.5), rgba(0, 50, 80, 0.5));
    border-bottom: 2px solid #00bcd4;
    color: #00e5ff;
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-content {
    padding: 18px;
}

.sidebar-server-list {
    list-style: none;
}

.sidebar-server-item {
    padding: 11px 0;
    border-bottom: 1px dashed rgba(0, 188, 212, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot-hot { background: #ff6b6b; box-shadow: 0 0 10px #ff6b6b; }
.dot-new { background: #00d2d3; box-shadow: 0 0 10px #00d2d3; }
.dot-soon { background: #48dbfb; box-shadow: 0 0 10px #48dbfb; }

.server-info-compact {
    flex: 1;
}

.server-name-compact {
    color: #d0e8ff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.server-name-compact:hover {
    color: #00e5ff;
}

.server-time-compact {
    font-size: 11px;
    color: #80b0c0;
}

.time-highlight {
    color: #00e5ff;
    font-weight: 600;
}

.server-tag-mini {
    padding: 2px 7px;
    background: rgba(0, 30, 50, 0.8);
    border-radius: 15px;
    font-size: 10px;
    color: #a0d8f0;
}

.more-server-side {
    margin-top: 14px;
    text-align: center;
}

.more-server-side a {
    color: #80c0d0;
    text-decoration: none;
    font-size: 13px;
}

.hot-rank-list {
    list-style: none;
}

.hot-rank-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 188, 212, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-num {
    width: 26px;
    height: 26px;
    background: rgba(0, 30, 50, 0.8);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #a0d8f0;
}

.rank-num.top1 {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
}

.rank-num.top2 {
    background: rgba(0, 100, 140, 0.8);
    color: #fff;
}

.rank-num.top3 {
    background: rgba(0, 100, 140, 0.8);
    color: #fff;
}

.hot-rank-list a {
    color: #a0d8f0;
    text-decoration: none;
    flex: 1;
    font-size: 14px;
}

.hot-rank-list a:hover {
    color: #00e5ff;
}

/* ========== 列表页样式 ========== */
.breadcrumb {
    padding: 30px 0 15px;
    color: #80b0c0;
    font-size: 14px;
}

.breadcrumb a {
    color: #00e5ff;
    text-decoration: none;
}

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

.breadcrumb .current {
    color: #fff;
}

.category-header {
    background: linear-gradient(135deg, rgba(0, 70, 100, 0.9), rgba(0, 35, 60, 0.95));
    border: 2px solid #00bcd4;
    border-radius: 20px 5px 20px 5px;
    padding: 25px 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 8px 0 #004466, 0 12px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}

.category-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(145deg, #00bcd4, #006688);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 6px 0 #004466;
    transform: rotate(-3deg);
}

.category-info h1 {
    color: #00e5ff;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 6px;
}

.category-info .desc {
    color: #a0d8f0;
    font-size: 15px;
}

.category-stats {
    margin-left: auto;
    text-align: right;
}

.stats-num {
    font-size: 42px;
    font-weight: 900;
    color: #00e5ff;
}

.stats-label {
    color: #80b0c0;
    font-size: 13px;
    text-transform: uppercase;
}

/* 两列布局 */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 20px 0 40px;
}

/* 文章列表 */
.article-list {
    background: rgba(0, 40, 70, 0.85);
    border: 1px solid #00bcd4;
    border-radius: 20px 5px 20px 5px;
    overflow: hidden;
    box-shadow: 0 6px 0 #004466;
    backdrop-filter: blur(8px);
}

.list-header {
    padding: 18px 25px;
    background: linear-gradient(90deg, rgba(0, 100, 140, 0.5), rgba(0, 50, 80, 0.5));
    border-bottom: 2px solid #00bcd4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00e5ff;
    font-weight: 700;
    font-size: 18px;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-option {
    padding: 5px 14px;
    background: rgba(0, 30, 50, 0.8);
    border-radius: 20px;
    color: #a0d8f0;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.sort-option.active {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
}

.article-item {
    padding: 22px 25px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.15);
    transition: background 0.2s;
}

.article-item:hover {
    background: rgba(0, 100, 140, 0.2);
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.article-title a {
    color: #d0e8ff;
    text-decoration: none;
}

.article-title a:hover {
    color: #00e5ff;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #80b0c0;
}

.article-excerpt {
    color: #a0d8f0;
    font-size: 14px;
    line-height: 1.7;
}

/* ==================== 分页样式优化 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 20px;
    padding: 15px 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: rgba(0, 60, 90, 0.6);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 8px;
    color: #a0d0e8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.page-numbers:hover {
    background: rgba(0, 150, 200, 0.4);
    border-color: #00bcd4;
    color: #00e5ff;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    border-color: #00e5ff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.page-numbers.dots {
    background: transparent;
    border: none;
    color: #6080a0;
}

/* 上一页下一页按钮 */
.page-numbers.prev,
.page-numbers.next {
    padding: 0 16px;
    background: rgba(0, 80, 120, 0.5);
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: rgba(0, 150, 200, 0.4);
}

.page-item {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 40, 70, 0.8);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 10px;
    color: #a0d8f0;
    text-decoration: none;
    font-size: 14px;
}

.page-item:hover {
    background: rgba(0, 150, 200, 0.3);
    color: #00e5ff;
}

.page-item.active {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    color: #fff;
    border-color: #00e5ff;
    box-shadow: 0 3px 0 #005577;
}

/* ========== 文章详情页 ========== */
.article-main {
    background: rgba(0, 40, 70, 0.85);
    border: 1px solid #00bcd4;
    border-radius: 20px 5px 20px 5px;
    overflow: hidden;
    box-shadow: 0 6px 0 #004466;
    backdrop-filter: blur(8px);
}

.article-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.article-header h1 {
    color: #00e5ff;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #004466;
}

.post-subtitle {
    color: #80d8f0;
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #00bcd4;
}

.article-body {
    padding: 30px;
}

.article-content h2 {
    color: #00e5ff;
    font-size: 24px;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
}

.article-content h3 {
    color: #d0e8ff;
    font-size: 20px;
    margin: 25px 0 12px;
}

.article-content p {
    margin-bottom: 18px;
    color: #b0d8f0;
    line-height: 1.8;
}

.article-content strong {
    color: #00e5ff;
}

.article-content ul, .article-content ol {
    margin: 15px 0 20px 25px;
    color: #b0d8f0;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0, 30, 50, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.article-content th {
    background: rgba(0, 100, 140, 0.8);
    color: #00e5ff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.article-content td {
    padding: 12px 15px;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

/* 相关推荐 */
.related-posts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

.related-posts h3 {
    color: #00e5ff;
    font-size: 18px;
    margin-bottom: 15px;
}

.related-posts ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-posts li a {
    color: #b0d8f0;
    text-decoration: none;
    font-size: 14px;
}

.related-posts li a:hover {
    color: #00e5ff;
}

/* ========== 底部样式 ========== */
.footer {
    background: linear-gradient(0deg, #051520 0%, #0a1a30 100%);
    border-top: 3px solid #00bcd4;
    padding: 35px 0;
    margin-top: 50px;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
}

.friend-links {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.friend-links h3 {
    color: #00e5ff;
    font-size: 16px;
    margin-bottom: 15px;
}

.friend-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.friend-links li {
    display: inline;
}

.friend-links a {
    color: #80b0c0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.friend-links a:hover {
    color: #00e5ff;
}

.copyright {
    text-align: center;
    color: #6080a0;
    font-size: 14px;
    line-height: 1.8;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .nav-text { font-size: 16px; letter-spacing: 2px; }
}

@media (max-width: 1100px) {
    .guide-row { grid-template-columns: 1fr; }
    .card-list-horizontal { grid-template-columns: 1fr; }
    .card-list-full { grid-template-columns: repeat(2, 1fr); }
    .header-wrapper { flex-direction: column; text-align: center; }
    .search-wrapper { width: 100%; max-width: 400px; margin: 0 auto; }
    .site-title { font-size: 56px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
    .nav-item { flex: 0 0 auto; min-width: 140px; }
    .content-layout { grid-template-columns: 1fr; }
    .hot-section { grid-template-columns: 1fr; }
    .category-header { flex-wrap: wrap; }
    .category-stats { margin-left: 0; text-align: left; }
}

@media (max-width: 768px) {
    .hero-section { border-radius: 0 0 30px 30px; }
    .site-title { font-size: 42px; letter-spacing: 6px; }
    .logo-icon { width: 80px; height: 80px; font-size: 40px; }
    .card-header-horizontal { flex-direction: column; text-align: center; }
    .card-list-full { grid-template-columns: 1fr; }
    .main-nav { flex-direction: column; gap: 25px; }
    .nav-item { max-width: 280px; margin: 0 auto; width: 100%; }
    .nav-wrapper::before { display: none; }
    .nav-item::before { display: none; }
    .nav-item::after { display: none; }
    .nav-item-inner { clip-path: polygon(5% 0%, 95% 0%, 100% 20%, 95% 100%, 5% 100%, 0% 20%); }
    .server-table-wrap { overflow-x: auto; }
    .server-table { min-width: 950px; }
    .article-header h1 { font-size: 24px; }
    .section-title { font-size: 28px; }
    .section-title span { font-size: 16px; padding: 8px 20px; }
    .menu-toggle { display: block; }
}

/* 修复搜索框 - 还原以前样式 */
.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 188, 212, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #00bcd4;
    border-radius: 50px 15px 50px 15px;
    padding: 5px 5px 5px 25px;
    box-shadow: 0 6px 0 #005577, inset 0 2px 10px rgba(0, 229, 255, 0.1);
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: #00e5ff;
    box-shadow: 0 6px 0 #005577, inset 0 2px 15px rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.search-box input::placeholder {
    color: rgba(160, 216, 240, 0.6);
    font-weight: 400;
}

.search-box button {
    background: linear-gradient(135deg, #00bcd4, #0088aa);
    border: none;
    border-radius: 40px 10px 40px 10px;
    padding: 14px 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #005577;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box button:hover {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #005577;
}

/* ========== 友情链接 - 完全独立铺满全屏 ========== */
.friendlinks-fullwidth {
    width: 100%;
    background: transparent;
    margin-top: 50px;
    margin-bottom: 0;
    padding: 0;
    clear: both;
}

.friendlinks-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.friendlinks-fullwidth .hot-card {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(0, 60, 90, 0.85) 0%, rgba(0, 30, 50, 0.92) 100%);
    border: 1px solid #00bcd4;
    border-radius: 30px 8px 30px 8px;
    box-shadow: 0 10px 0 #004466, 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.friendlinks-fullwidth .hot-card h3 {
    color: #00e5ff;
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* 友情链接 - 文字链接样式（与本周阅读榜文章标题一致） */
.friendlinks-fullwidth .friendlinks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 30px;
    margin-top: 15px;
}

.friendlinks-fullwidth .friendlinks-grid li {
    list-style: none;
    display: inline-block;
}

.friendlinks-fullwidth .friendlinks-grid li a {
    display: inline-block;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #c0d8f0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: none !important;
}

.friendlinks-fullwidth .friendlinks-grid li a:hover {
    background: transparent !important;
    color: #00e5ff;
    transform: translateX(5px);
    box-shadow: none !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .friendlinks-fullwidth .friendlinks-grid {
        gap: 15px;
    }
    .friendlinks-fullwidth .friendlinks-grid li a {
        font-size: 14px;
    }
    .friendlinks-fullwidth .hot-card h3 {
        font-size: 18px;
    }
}
/* ========== 统一友情链接样式（首页 + 列表页） ========== */

/* 1. 修复间距 - 两种容器都加上边距 */
.friendlinks-section,
.friendlinks-fullwidth {
    margin-top: 50px !important;
    margin-bottom: 0;
    clear: both;
}

/* 2. 首页友情链接容器确保宽度 */
.friendlinks-section {
    width: 100%;
    display: block;
}

/* 3. 统一链接样式 - 去掉按钮效果，改成文字链接 */
.friendlinks-section .friendlinks-grid,
.friendlinks-fullwidth .friendlinks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 30px;
    margin-top: 15px;
}

.friendlinks-section .friendlinks-grid li,
.friendlinks-fullwidth .friendlinks-grid li {
    list-style: none;
    display: inline-block;
}

.friendlinks-section .friendlinks-grid li a,
.friendlinks-fullwidth .friendlinks-grid li a {
    display: inline-block;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #c0d8f0 !important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: none !important;
}

.friendlinks-section .friendlinks-grid li a:hover,
.friendlinks-fullwidth .friendlinks-grid li a:hover {
    background: transparent !important;
    color: #00e5ff !important;
    transform: translateX(5px);
    box-shadow: none !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .friendlinks-section .friendlinks-grid,
    .friendlinks-fullwidth .friendlinks-grid {
        gap: 15px;
    }
    .friendlinks-section .friendlinks-grid li a,
    .friendlinks-fullwidth .friendlinks-grid li a {
        font-size: 14px;
    }
}
/* ========== 移动端适配 - 冰雪传奇主题 ========== */
@media only screen and (max-width: 768px) {
    
    /* 全局容器内边距调整 */
    .container {
        padding: 0 12px;
    }
    
    /* ===== 头部区域 ===== */
    .hero-section {
        border-radius: 0 0 25px 25px;
    }
    
    .top-bar {
        padding: 25px 0 15px;
    }
    
    /* Logo区域 - 改为垂直布局 */
    .logo-area {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .logo-icon {
        width: 65px;
        height: 65px;
        font-size: 32px;
    }
    
    .site-title {
        font-size: 28px;
        letter-spacing: 4px;
    }
    
    .site-sub {
        font-size: 12px;
        letter-spacing: 4px;
    }
    
    /* 搜索框 */
    .search-wrapper {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .search-box {
        padding: 3px 3px 3px 15px;
    }
    
    .search-box input {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .search-box button {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* ===== 导航菜单 - 改为可折叠按钮 ===== */
    .nav-wrapper {
        margin-top: 20px;
    }
    
    /* 移动端菜单按钮 */
    .menu-toggle {
        display: block;
        background: linear-gradient(135deg, #00bcd4, #0088aa);
        border: none;
        border-radius: 30px 8px 30px 8px;
        padding: 12px 20px;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        box-shadow: 0 4px 0 #005577;
    }
    
    /* 默认隐藏导航菜单 */
    .main-nav {
        display: none;
        flex-direction: column;
        gap: 12px;
    }
    
    /* 当菜单展开时显示 */
    .main-nav.show {
        display: flex;
    }
    
    .nav-item {
        min-width: auto;
        width: 100%;
        margin: 0 auto;
    }
    
    .nav-item-inner {
        clip-path: polygon(3% 0%, 97% 0%, 100% 15%, 95% 100%, 5% 100%, 0% 15%);
        padding: 12px 8px;
    }
    
    .nav-icon-custom {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .nav-text {
        font-size: 14px;
        letter-spacing: 2px;
        white-space: normal;
    }
    
    .nav-subtext {
        font-size: 9px;
        margin-top: 3px;
    }
    
    /* 隐藏导航装饰 */
    .nav-item::before,
    .nav-item::after {
        display: none;
    }
    
    /* ===== 主体区域 ===== */
    .main-content {
        padding: 20px 0;
    }
    
    /* ===== 攻略卡片 ===== */
    .section-title {
        font-size: 22px;
        letter-spacing: 4px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title span {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    /* 卡片布局改为单列 */
    .guide-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guide-grid-double {
        gap: 20px;
    }
    
    /* 卡片内边距缩小 */
    .card-header-horizontal {
        padding: 20px 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon-large {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .card-title-wrapper h3 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .card-stats-row {
        justify-content: center;
        font-size: 12px;
        gap: 15px;
    }
    
    .card-body-horizontal {
        padding: 15px 20px;
    }
    
    .card-list-horizontal {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .card-list-horizontal li {
        padding: 6px 0;
    }
    
    .card-list-horizontal a {
        font-size: 13px;
    }
    
    .card-footer-horizontal {
        padding: 15px 20px 20px;
    }
    
    .card-btn-ice {
        padding: 8px 20px;
        font-size: 13px;
        letter-spacing: 2px;
    }
    
    /* ===== 冰雪专题大卡片 ===== */
    .ice-card-full {
        border-radius: 0 30px 0 30px;
        margin-bottom: 30px;
    }
    
    .card-header-full {
        padding: 20px 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .card-icon-full {
        width: 65px;
        height: 65px;
        font-size: 32px;
    }
    
    .card-title-wrapper-full h3 {
        font-size: 22px;
        letter-spacing: 3px;
    }
    
    .card-title-wrapper-full .full-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }
    
    .card-stats-full {
        justify-content: center;
        gap: 20px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .card-body-full {
        padding: 20px;
    }
    
    .card-list-full {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .card-list-full li {
        padding: 8px 0;
    }
    
    .card-list-full a {
        font-size: 14px;
    }
    
    .card-footer-full {
        padding: 20px;
        text-align: center;
    }
    
    .card-btn-full {
        padding: 10px 25px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    /* ===== 热门推荐 ===== */
    .hot-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .hot-card {
        padding: 20px;
    }
    
    .hot-card h3 {
        font-size: 18px;
    }
    
    .hot-list a {
        font-size: 13px;
    }
    
    .view-count {
        font-size: 11px;
    }
    
    /* ===== 列表页/文章页布局 ===== */
    .content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 侧边栏在移动端放到下面 */
    .sidebar {
        order: 2;
    }
    
    /* 分类头部 */
    .category-header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .category-info h1 {
        font-size: 22px;
    }
    
    .category-info .desc {
        font-size: 13px;
    }
    
    .category-stats {
        text-align: center;
    }
    
    .stats-num {
        font-size: 28px;
    }
    
    /* 列表项 */
    .article-item {
        padding: 15px 18px;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .article-meta {
        font-size: 11px;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .article-excerpt {
        font-size: 13px;
    }
    
    /* 分页 */
    .page-item {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    /* ===== 文章详情页 ===== */
    .article-header {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 20px;
    }
    
    .post-subtitle {
        font-size: 13px;
    }
    
    .article-body {
        padding: 20px;
    }
    
    .article-content h2 {
        font-size: 18px;
    }
    
    .article-content h3 {
        font-size: 16px;
    }
    
    .article-content p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .article-content ul,
    .article-content ol {
        padding-left: 20px;
    }
    
    .article-content li {
        font-size: 14px;
    }
    
    /* 表格 - 可左右滑动 */
    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }
    
    .article-content th,
    .article-content td {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* 图片自适应 */
    .article-content img {
        max-width: 100%;
        height: auto;
    }
    
    /* 相关推荐 */
    .related-posts ul {
        flex-direction: column;
        gap: 8px;
    }
    
    /* ===== 服务器表格（移动端可滑动） ===== */
    .server-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .server-table {
        min-width: 700px;
        font-size: 12px;
    }
    
    .server-table th,
    .server-table td {
        padding: 10px 12px;
    }
    
    .server-name-cell {
        gap: 8px;
    }
    
    .server-name {
        font-size: 13px;
    }
    
    .btn-enter {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .server-header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .server-header h2 {
        font-size: 18px;
    }
    
    /* ===== 侧边栏卡片 ===== */
    .sidebar-card {
        margin-bottom: 15px;
    }
    
    .sidebar-header {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .sidebar-content {
        padding: 12px 15px;
    }
    
    /* ===== 底部 ===== */
    .footer {
        margin-top: 30px;
        padding: 25px 0;
    }
    
    .friend-links ul {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .friend-links a {
        font-size: 11px;
    }
    
    .copyright {
        font-size: 12px;
    }
    
    /* ===== 友情链接独立区块 ===== */
    .friendlinks-section,
    .friendlinks-fullwidth {
        margin-top: 30px !important;
    }
    
    .friendlinks-fullwidth .hot-card {
        padding: 20px;
    }
    
    .friendlinks-fullwidth .hot-card h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .friendlinks-section .friendlinks-grid,
    .friendlinks-fullwidth .friendlinks-grid {
        gap: 12px 15px;
    }
    
    .friendlinks-section .friendlinks-grid li a,
    .friendlinks-fullwidth .friendlinks-grid li a {
        font-size: 12px;
    }
}

/* ========== 小平板适配 (769px - 1024px) ========== */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .guide-row {
        grid-template-columns: 1fr;
    }
    
    .card-list-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-layout {
        grid-template-columns: 1fr 280px;
    }
    
    .site-title {
        font-size: 48px;
    }
    
    .nav-text {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* ========== 额外优化：小屏幕下的表格和代码块 ========== */
@media only screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .logo-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .article-header h1 {
        font-size: 18px;
    }
    
    .card-title-wrapper h3 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .pre, code {
        font-size: 12px;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
}
/* ========== 所有图片自动居中（文章内容 + 普通内容） ========== */
/* 文章内容中的图片居中 */
.article-content img,
.entry-content img,
.post-content img,
.article-body img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

/* 任何直接包含在内容区域的图片 */
.content-area img,
.main-content img:not(.alignleft):not(.alignright) {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 带对齐类的图片保持原有布局，但加上可选居中 */
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 文章正文中所有图片默认居中 */
.article-content p > img,
.description p > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* ========== 图片说明文字强制居中（增强版） ========== */
/* 文章内容中的图片说明居中 */
.article-content figcaption,
.article-content .wp-caption-text,
.article-content .wp-caption dd,
.entry-content figcaption,
.entry-content .wp-caption-text,
.post-content figcaption,
.post-content .wp-caption-text,
.article-body figcaption,
.article-body .wp-caption-text {
    text-align: center !important;
    display: block !important;
    font-size: 13px;
    color: #a0d8f0;
    margin-top: 8px;
    margin-bottom: 15px;
}

/* 普通内容区域的图片说明 */
.wp-block-image figcaption {
    text-align: center !important;
}

/* 带wp-caption类的图片容器 */
.wp-caption {
    max-width: 100%;
    text-align: center;
}

.wp-caption .wp-caption-text {
    text-align: center !important;
}

/* 确保所有图片描述都居中 */
[class*="caption"] {
    text-align: center !important;
}
/* ========== 强制所有图片居中（覆盖古腾堡样式） ========== */
/* 强制所有带有aligncenter类的容器内的图片居中 */
.wp-block-image.aligncenter,
.wp-block-image .aligncenter,
.wp-block-image figure.aligncenter {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
}

/* 强制所有文章内容中的图片本身居中 */
.article-content img,
.entry-content img,
.post-content img,
.article-body img,
.wp-block-image img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    clear: both !important;
}

/* 强制figure容器内的图片居中 */
.wp-block-image figure {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 确保带is-resized类的图片也居中 */
.wp-block-image .is-resized {
    display: block !important;
    text-align: center !important;
}
/* ========== 相关推荐 - 两列网格布局 ========== */

.related-posts {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 188, 212, 0.3);
}

.related-posts h3 {
    font-size: 20px;
    font-weight: 700;
    color: #00e5ff;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #00bcd4;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* 两列网格 */
.related-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 25px;
}

/* 每个推荐项 */
.related-item {
    background: rgba(0, 80, 120, 0.3);
    border-bottom: 1px dashed rgba(0, 188, 212, 0.3);
    transition: all 0.2s ease;
}

.related-item:hover {
    background: rgba(0, 150, 200, 0.15);
    transform: translateX(5px);
}

/* 链接样式 */
.related-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #c0d8f0;
    gap: 15px;
}

.related-title {
    font-size: 15px;
    font-weight: 500;
    color: #c0d8f0;
    transition: color 0.2s;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item:hover .related-title {
    color: #00e5ff;
}

.related-date {
    font-size: 12px;
    color: #6090a8;
    flex-shrink: 0;
    font-family: monospace;
}

/* 响应式：移动端变单列 */
@media (max-width: 768px) {
    .related-grid-2col {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .related-title {
        font-size: 13px;
        white-space: normal;
        word-break: break-word;
    }
    
    .related-link {
        padding: 10px 12px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .related-grid-2col {
        gap: 20px 30px;
    }
    
    .related-title {
        font-size: 16px;
    }
}
/* ==================== 底部友情链接样式（靠左对齐） ==================== */
.footer-friendlinks {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.friendlinks-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.friendlinks-icon {
    font-size: 18px;
    color: #00e5ff;
}

.friendlinks-title {
    font-size: 15px;
    font-weight: 700;
    color: #00bcd4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.friendlinks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.friendlinks-list li {
    list-style: none;
    display: inline-block;
}

.friendlinks-list li a {
    color: #80b0c0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    background: transparent;
    padding: 0;
    border: none;
}

.friendlinks-list li a:hover {
    color: #00e5ff;
}

/* 链接之间的分隔符 */
.friendlinks-list li:not(:last-child) a::after {
    content: "|";
    margin-left: 16px;
    color: #406080;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .friendlinks-list {
        gap: 6px 12px;
    }
    .friendlinks-list li a {
        font-size: 12px;
    }
    .friendlinks-list li:not(:last-child) a::after {
        margin-left: 12px;
    }
}