:root {
    --bg-dark: #0A0A0A;
    --bg-card: #1A1A1A;
    --gold: #C9A86A;
    --gold-dim: #8B7355;
    --red: #8B0000;
    --text-primary: #E8E8E8;
    --text-secondary: #999999;
    --text-dim: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 24px 20px;
    position: relative;
}

/* 背景纹理 */
.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201, 168, 106, 0.03) 2px, rgba(201, 168, 106, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

/* 头部 */
.header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logo-icon {
    font-size: 24px;
    color: var(--gold);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
}

.logo-subtitle {
    font-size: 12px;
    color: var(--gold-dim);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* 主内容 */
.main {
    position: relative;
    z-index: 1;
}

/* Hero 区域 */
.hero {
    text-align: center;
    margin-bottom: 48px;
}

.hero-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gold), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 卡片区域 */
.realms {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.realm-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 106, 0.2);
    transition: all 0.3s ease;
    display: block;
}

.realm-card:active {
    transform: scale(0.98);
}

/* 卡片发光效果 */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.realm-past .card-glow {
    background: radial-gradient(circle at top right, rgba(201, 168, 106, 0.15), transparent 60%);
}

.realm-parallel .card-glow {
    background: radial-gradient(circle at top right, rgba(181, 101, 216, 0.15), transparent 60%);
}

.realm-card:hover .card-glow {
    opacity: 1;
}

/* 卡片内容 */
.card-content {
    position: relative;
    padding: 28px 24px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-tag {
    background: rgba(201, 168, 106, 0.2);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-tag-blue {
    background: rgba(181, 101, 216, 0.2);
    color: #B565D8;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-hint {
    font-size: 12px;
    color: var(--text-dim);
}

.card-arrow {
    font-size: 20px;
    color: var(--gold);
    font-weight: 300;
}

/* 声明 */
.disclaimer {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 32px;
}

.disclaimer p:first-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 8px;
}

.disclaimer-text {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 11px;
    color: var(--text-dim);
}
