* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 画布样式 - 作为背景层 */
#wormholeCanvas {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

/* 页面背景和基础样式 */
.wormhole-bg {
    position: relative;
    background: radial-gradient(circle at center, #1a0b2e 0%, #0d0630 50%, #000000 100%);
    z-index: 2;

}

/* 头部样式 */
.top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
}

p {
    color: #ffcc00;
}

header {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #ffcc00;
}

header h1 {
    font-size: 2.5rem;
    color: #ffcc00;
    align-self: center;
}

header img {
    max-width: 100%;
    height: 4em;
    width: auto;
    border-radius: 8px;
    display: inline-block;
}

/* 导航样式 */
nav .content {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    padding: 15px;
    border-radius: 10px;
}

nav a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: #ffcc00;
    color: #000;
}

/* 内容区域样式 */
section {
    font-size: 1.5rem;
    color: #ffcc00;
    margin: 40px 0 10px;
    text-align: center;
}

article {
    margin-bottom: 30px;
    text-align: center;
}

/* 表格样式 */
.table-container {
    width: fit-content;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ffcc00;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
}

table {
    width: auto;
    background: rgba(255, 255, 255, 0.05);
    border-collapse: collapse;
    border: none;
}

td p {
    display: inline;
    margin: 0 1px;
}

td {
    padding: 10px 15px;
    border: 1px solid #ffcc00;
    font-size: 1.1rem;
    color: aliceblue;
}

table tr:first-child td {
    border-top: none;
}

table tr:last-child td {
    border-bottom: none;
}

table tr td:first-child {
    border-left: none;
}

table tr td:last-child {
    border-right: none;
}

/* 图片样式 */
article img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}


footer {
    background: #1a1a1d;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 2px solid #ffcc00;
    font-size: 14px;
}

.footer {
    color: #aaa;
    text-align: center;
    text-decoration: none;
}


/* 常用网站列表样式 */

.website-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    margin: 0;
}

.website-list li {
    flex: 1 1 calc(33.333% - 1.5rem);
    max-width: 300px;
    overflow: visible;
}

.website-list li p {
    margin: 0;
}

.website-list a {
    display: block;
    padding: 1.2rem 1.5rem;
    background: rgba(40, 40, 80, 0.7);
    color: #e0c8ff;
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(150, 100, 200, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.website-list a:hover {
    background: rgba(60, 40, 100, 0.8);
    color: #ffffff;
    border-color: rgba(180, 120, 220, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.website-list a:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



/* 倒计时容器整体样式 */
#countdown-container {
    margin: auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 10, 40, 0.9));
    border: 1px solid rgba(255, 204, 0, 0.5);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3), inset 0 0 10px rgba(255, 204, 0, 0.1);
    text-align: center;
    width: fit-content;
}

/* 倒计时标题 */
.countdown-title {
    color: #ffcc00;
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

/* 倒计时数字容器（弹性布局） */
.countdown-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 单个时间块（天/时/分/秒） */
.countdown-block {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #ffcc00;
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* 鼠标悬浮动效 */
.countdown-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 204, 0, 0.4);
    border-color: #ffdd44;
}

/* 数字样式 */
.countdown-number {
    color: #fff;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Consolas", "Monaco", monospace;
    /* 等宽字体，更规整 */
}

/* 单位样式（天/时/分/秒） */
.countdown-label {
    color: #ffcc00;
    font-size: 2.4rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* 提示框容器 */
.tooltip-wrapper {
    position: relative;
}

/* 提示文本样式 */
.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffcc00;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.9rem;
    border: 1px solid #ffcc00;
    pointer-events: none;
}

/* 提示框小三角 */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffcc00 transparent transparent transparent;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.table-container2 {
    width: fit-content;
    max-width: 1200px;
    margin: 10px auto !important;
    border-radius: 16px;
    overflow: visible !important;
    border: 1px solid #ffcc00;
    display: block;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.critical {
    color: #C41E3A;
}

.haste {
    color: #00FF98;
}

.versatility {
    color: #0070DD;
}

.mastery {
    color: #A330C9;
}

.highlight {
    color: #ffcc00;
    font-weight: bold;
}

.warrior {
    color: #C69B6D;
}

.paladin {
    color: #F48CBA;
}

.dk {
    color: #C41E3A;
}

.shaman {
    color: #0070DD;
}

.hunter {
    color: #AAD372;
}

.evoker {
    color: #33937F;
}

.druid {
    color: #FF7C0A;
}

.rogue {
    color: #FFF468;
}

.monk {
    color: #00FF98;
}

.dh {
    color: #A330C9;
}

.priest {
    color: #FFFFFF;
}

.mage {
    color: #3FC7EB;
}

.warlock {
    color: #8788EE;
}