/* ===== TK大世界 - 基础样式（纯黑底 + 蓝紫配色）===== */
:root {
    --bg: #05050a;            /* 纯黑背景 */
    --blue: #4f6bff;          /* 蓝 */
    --purple: #8f4fff;        /* 紫 */
    --text: #e8e8f0;          /* 主文本 */
}

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

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

/* 顶部品牌栏 */
.site-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(143, 79, 255, 0.25);
    background: linear-gradient(90deg, rgba(79, 107, 255, 0.12), rgba(143, 79, 255, 0.12));
}

.brand-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* 主体与页脚占位 */
.site-main {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 按钮排 */
.btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 上部按钮 */
.btn {
    display: inline-block;
    min-width: 150px;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* 每日更新文案 */
.daily-update {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text);
    margin-top: 8px;
}

/* 日期按钮网格：2 个一排 */
.date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 380px;
}

.date-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.date-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* 页脚 */
.site-footer {
    padding: 16px 32px;
    text-align: center;
    color: #6a6a7a;
    font-size: 13px;
    border-top: 1px solid rgba(143, 79, 255, 0.15);
}

/* ===== 落地页：内容区域（验证通过后）===== */
/* 让 TK大世界 位于页面正中 */
.site-header--inline {
    width: 100%;
    text-align: center;
    border-bottom: none;
    background: none;
    padding: 24px 32px 0;
}

.site-header--inline .brand-title {
    font-size: 34px;
}

.tk-resource {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
    white-space: nowrap;
}

.tk-link {
    color: #4f9dff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s ease, opacity .15s ease;
}

.tk-link:hover {
    color: var(--purple);
    opacity: .9;
}

.tk-date {
    font-size: 20px;
    font-weight: 500;
    color: #ff8a3d; /* 橙色 */
}

/* 二级页面内容按钮：拉长、左右留距、文字自适应一行 */
.site-main--content {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.content-btn {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: clamp(13px, 4.2vw, 16px);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.content-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* 空白按钮：无链接、不可交互，仅占位 */
.content-btn--blank {
    pointer-events: none;
    user-select: none;
    cursor: default;
    min-height: 48px;
}

/* 灰色分割线：区分TK游戏42款合集与下方按钮 */
.divider {
    width: 100%;
    height: 1px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
}

/* 灰色分割线：区分TK游戏42款合集与下方按钮 */
.divider {
    width: 100%;
    height: 1px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
}

/* 游戏合集页：文件解压密码 */
.game-pwd {
    font-size: 15px;
    font-weight: 500;
    color: #ff8a3d;
}

/* ===== 首页：密码验证卡片 ===== */
.auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(143, 79, 255, 0.3);
    background: rgba(20, 20, 34, 0.85);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-title {
    font-size: 26px;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-hint {
    color: #9a9ab0;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(143, 79, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: border-color .15s ease;
}

.auth-input:focus {
    border-color: var(--blue);
}

.auth-input::placeholder {
    color: #6a6a7a;
}

.auth-submit {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    opacity: .9;
}