/* 天赋树页面特有样式 */
.skill-tree-page {
    padding: 80px 0 40px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-tree-page .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 页面标题 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 2.5em;
    color: var(--text-gold);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.page-title p {
    font-size: 1.1em;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

/* 天赋树展示区域 */
.tree-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tree-display {
    width: 100%;
    position: relative;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

#treeFrame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 防止页面滚动时的穿透 */
body.no-scroll {
    overflow: hidden;
}

/* 提示信息 */
.tree-tips {
    text-align: center;
    margin: 20px 0;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

.tree-tips i {
    color: var(--text-gold);
    margin-right: 8px;
}

.tree-tips a {
    color: var(--text-gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tree-tips a:hover {
    opacity: 0.8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .page-title h1 {
        font-size: 2em;
    }

    .tree-display {
        height: 600px;
    }
} 