@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;	400;	500;	600;	700;	800;	900&display=swap");
:root {
	--h1size:50px;
	--h2size:40px;
	--h3size:24px;
	--h4size:20px;
	--h5size:18px;
	--h6size:16px;
	--bodysize:16px;
	--h1height:58px;
	--h2height:48px;
	--h3height:32px;
	--h4height:28px;
	--h5height:26px;
	--h6height:26px;
	--bodyheight:26px;
	--pfamily: "Rubik", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
	--red:#ff3838;
	--gray:#777777;
	--text:#555555;
	--blue:#1494a9;
	--white:#ffffff;
	--chalk:#f5f5f5;
	--green:#11b76b;
	--purple:#b12fad;
	--orange:#e86121;
	--yellow:#ffab10;
	--border:#e8e8e8;
	--heading:#39404a;
	--primary:#119744;
	--black:rgba(0 0 0 / 90%);
	--sub-heading:#565765;
	--green-chalk:#ddffd5;
	--green-dark:#072f17;
	--gray-chalk:#cccccc;
	--facebook:#3b5998;
	--linkedin:#0e76a8;
	--twitter:#00acee;
	--primary-bshadow:0px 15px 35px 0px rgba(0,0,0,0.1);
	--primary-tshadow:2px 3px 8px rgba(0,0,0,0.1);
}
[v-cloak] {
	display: none;
}
* {
	margin:0px;
	padding:0px;
	box-sizing: border-box;
	outline:0px;
}

html, body {
    padding-top: 60px;
}

body {
    /* 背景图片路径 */
    background: url(/images/background.jpg?v=1.0) no-repeat center center fixed;
    /* 全屏覆盖 */
    background-size: cover;
    /* 浏览器兼容 */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    /* 防止页面出现默认边距 */
    margin: 0;
    padding: 0;
  
    background-position: 90% 65%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px 0px;
    /* min-height: 100vh; */
    /* padding: 60px 20px 20px !important; */
    /* min-height: auto !important; */
    /* display: block !important; */
    /* display: flex !important; */
    flex-direction: column !important;
    /* align-items: center !important; */
    /* padding-bottom: 10px !important;*/
    font-size: var(--bodysize);
    font-family: var(--pfamily);
    line-height: var(--bodyheight);
}

.container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 120px) !important;
    margin: 0 auto !important;
}

.login-box {
    min-height: 442px;
    flex: 1;
    /*min-width: 310px;*/
    min-width: 358px;
    /*background: #12161f;*/
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 32px;
    border: 0px solid #2a2e3a;
    box-shadow: 0 0 30px rgba(0,0,0,0.7), 0 0 0 1px rgba(100,120,150,0.1);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #00f0ff, #0088ff);
}

.login-box h2 {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 14px;
    text-shadow: 0 0 10px rgba(0,160,255,0.3);
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
    /*width: 280px;*/
    margin: 0px 0px 132px 0px;
}

.form-group.login {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #a0b0c0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: #000000;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 15px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background-color: #000;
    background: #000000;
    border-color: #555555;
    box-shadow: 0 0 0 2px rgba(0,160,255,0.1);
}

.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-img {
    /*height: 46px;*/
    border-radius: 4px;
    border: 1px solid #323844;
    background: #1a1f2b;
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(180deg, #0088ff, #0055cc);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,100,200,0.2);
    transition: all 0.2s;
}

.btn:hover {
    background: linear-gradient(180deg, #0099ff, #0066dd);
    box-shadow: 0 0 20px rgba(0,120,255,0.4);
}

.user-info {
    text-align: center;
    color: #00e0ff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0,200,255,0.4);
}

.count-info {
    /*margin-bottom: 129px;*/
    text-align: center;
    font-size: 18px;
    color: #ffcc00;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255,200,0,0.4);
    /*margin: 14px 0;*/
}

/* ========== 新增：抽奖注意事项面板 ========== */
.notice-box {
    flex: 1;
    min-width: 310px;
    min-height: 212px;
    max-height: 225px;
    /*background: #12161f;*/
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 20px 24px;
    border: 0px solid #2a2e3a;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.notice-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ffcc00, #ff8800);
}

.notice-box h3 {
    color: #ffcc00;
    font-size: 16px;
    margin-bottom: 12px;
    text-shadow: 0 0 6px rgba(255,200,0,0.3);
}

.notice-box ul {
    list-style: none;
    padding: 0;
}

.notice-box li {
    color: #c0c8d0;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.notice-box li::before {
    content: "•";
    color: #ffcc00;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.lottery-box {
    flex: 2;
    min-width: 560px;
    /*background: #12161f;*/
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 32px 0px 32px 0px;
    border: 0px solid #2a2e3a;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lottery-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff8800, #ffcc00);
}

.lottery-box h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 34px;
    /*text-shadow: 0 0 10px rgba(255,140,0,0.3);*/
    letter-spacing: 1px;
}

.lottery-box h3 {
    color: #c35a4e;
    font-size: 20px;
    margin-bottom: 34px;
    text-shadow: 0 0 10px rgba(255,140,0,0.3);
    letter-spacing: 1px;
}

.lottery-wheel {
    position: relative;
    width: 546px;
    height: 546px;
    margin: 0 auto;
}

/* 抽奖剩余次数 - 左上角 */
.lottery-count-box {
    position: absolute;
    top: 13px;
    left: 6px;
    z-index: 99;
    padding: 8px 12px;
    border-radius: 8px;
    color: #ffc800;
    font-size: 15px;
    font-weight: bold;
    backdrop-filter: blur(4px);
}

/* 幸运进度条容器 - 右上角 */
.lucky-bar-box {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    width: 180px;
    text-align: left;
    backdrop-filter: blur(4px);
}

/* 进度条外层背景 */
.lucky-bar {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    margin: 6px 0;
}

/* 进度条填充动画 */
.lucky-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff9f00, #ff0);
    width: 0%;
    transition: width 0.4s ease;
}

/* 进度条提示文字 */
.lucky-tip {
    font-size: 12px;
    color: #ccc;
}

.wheel-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("/images/wheel_bg.png") no-repeat center center;
    background-size: 100% 100%;
    z-index: 1;
    border-radius: 50%;
}

.wheel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 504px;
    height: 504px;
    background: url("/images/lottery_wheel.png") no-repeat center center;
    background-size: 100% 100%;
    z-index: 2;
    border-radius: 50%;
    transition: transform 6s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 216px;
    height: 216px;
    z-index: 10;
    background-image: url('/images/pointer.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.wheel-pointer.disabled {
    pointer-events: none !important;
}

.wheel-pointer.startdisabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.lottery-btn {
    display: none;
}

.logs-box {
    flex: 1;
    min-width: 344px;
    /*background: #12161f;*/
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 32px;
    border: 0px solid #2a2e3a;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
    min-height: 671px;
    max-height: 671px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 这个 CSS 会自动识别：手机、平板（触摸设备） */
@media (hover: none) and (pointer: coarse) {
  /* 这里面写 手机专属 CSS */
  .logs-box {max-height: none !important;}
}

.logs-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #00ffaa, #00cc88); /* 绿色科技光条 */
}

.logs-box h2 {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0,200,120,0.3);
}

.logs-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.log-item {
    /*background: #161b26;*/
    background: rgb(87 134 118 / 10%);
    border-radius: 4px;
    padding: 4px 0px 4px 15px;
    margin-bottom: 10px;
    border-left: 3px solid #00aa88;
}

.log-item .hero {
    color: #e0e0e0;
    font-size: 14px;
}

.log-item .award {
    font-weight: bold;
    color: #00ffcc;
    margin-bottom: 4px;
    font-size: 14px;
}

.log-item .time {
    color: #778;
    font-size: 13px;
    margin-top: 4px;
}

.logs-list::-webkit-scrollbar {
    width: 6px;
}

.logs-list::-webkit-scrollbar-thumb {
    background: #334455;
    border-radius: 3px;
}

.logs-list::-webkit-scrollbar-track {
    background: #10141a;
}

/* ========== 弹窗 最终修复 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #141824;
    padding: 22px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #3a3f4d;
    min-width: 320px;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    margin: 0;
    overflow: hidden;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff8800, #ffcc00);
}

.modal-content h3 {
    color: #ffcc00;
    margin-bottom: 16px;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(255,160,0,0.4);
}

.modal-content p {
    color: #ccc;
    margin-bottom: 22px;
}

.close-btn {
    padding: 11px 32px;
    background: linear-gradient(180deg, #ff8800, #cc6600);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255,120,0,0.2);
}
.close-btn:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.4);
    background: linear-gradient(180deg, #ff9c10, #ff7010);
}

#tipModal .modal-content {
    border-top: 3px solid #ff4444;
}

#tipModal h3 {
    color: #ff4444;
}

/* 自定义下拉框 */
.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.select-selected {
    background: #1a1f2b;
    border: 1px solid #323844;
    border-radius: 4px;
    padding: 14px 20px;
    color: #e0e0e0;
    cursor: pointer;
    user-select: none;
    border: 2px solid #ff8a00;
    background: #1a1d24;
    color: #fff;
    box-shadow: 0 0 12px rgba(79,195,247,0.3);
    transition: all 0.3s ease;
}

.select-selected:hover {
    /*border-color: #00a0ff;*/
    border-color: #ffca00;
}

.select-selected:focus,
.select-selected:active {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0,229,255,0.6);
}

/* 下拉箭头 */
.select-selected::after {
    content: "▼";
    position: absolute;
    right: 18px;
    color: #00e5ff;
    font-size: 12px;
    transition: 0.3s;
}

.select-selected.open::after {
    transform: rotate(180deg);
}

/* 👇 展开的选项面板（游戏UI核心！） */
.select-items {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1a1f2b;
    border: 1px solid #323844;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99;
    display: none;
    background: #1e222d;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid #ff8a00;
    overflow: hidden;
    z-index: 999;
}

.select-items div {
    padding: 12px 14px;
    color: #e0e0e0;
    cursor: pointer;
    padding: 12px 18px;
    color: #fff;
    transition: all 0.2s ease;
    position: relative;
}

.select-items div:hover {
    background: #242a38;
    color: #00a0ff;
    background: linear-gradient(90deg, #ff8800, #ffcc00);
    color: #111;
    padding-left: 24px;
}

.select-items.show {
    display: block;
}

/* 选中状态（发光+打勾） */
.select-items div.selected {
    background: linear-gradient(90deg, #7e57c2, #ab79f2);
    color: #fff;
    font-weight: bold;
}

.select-items div.selected::before {
    content: "✓";
    margin-right: 8px;
}

.select-items div[disabled] {
    color: #888;
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

/* === HEADER 导航 === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    border-bottom: 1px solid rgba(255,180,0,0.2);
    z-index: 9999;
    display: flex;
    padding: 8px 0px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.header-inner {
    width: 1400px;
    max-width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffcc00;
    font-size: 22px;
    font-weight: bold;
    /*text-shadow: 0 0 10px rgba(255,180,0,0.4);*/
}

.nav-menu a {
    color: #e0e0e0;
    margin-left: 24px;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #ffcc00;
}
/* === FOOTER 页脚 === */
footer3 {
    /* 去掉 fixed 固定定位，改为普通文档流 */
    position: relative;
    width: 100%;
    height: 40px;
    background: rgb(0 0 0 / 55%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-align: center;
    /* 让页脚永远在最下方 */
    margin-top: 20px;
    clear: both;
}
footer {
    position: static !important;
    height: 40px;
    /*background: rgb(0 0 0 / 55%);*/
    /*background: #ffcc00;*/
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-align: center;
    margin-top: 10px;

    position: static !important;
    bottom: auto !important;
    margin-top: 10px !important;
    width: 100% !important;
}
.footer-inner {
    line-height: 1.6;
    font-size: 12px;
}
/* === FOOTER 页脚 === */
footer2 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgb(0 0 0 / 55%);
    /* border-top: 1px solid rgba(0,200,255,0.2); */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    /* font-size: 13px; */
    text-align: center;
}

.footer-inner2 {
    line-height: 1.6;
    font-size: 12px;
}

/* 个人记录列表样式 */
/* 个人中奖记录 - 一行4格 放大版（支持长奖品名） */
.my-log-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    padding: 5px;
    justify-content: center;
}
.my-log-grid-item {
    width: 160px;      /* 放大宽度 */
    height: 72px;      /* 放大高度 */
    background: #1a1f2b;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    font-size: 13px;    /* 字体稍大 */
    color: #ccc;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    white-space: normal; /* 长名字自动换行 */
    word-break: break-all;
}
.my-log-grid-item .award {
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 3px;
}
.my-log-grid-item .time {
    color: #889;
    font-size: 12px;
    margin-top: 2px;
}

/* 幸运进度条 */
.lucky-bar-box {
    margin: 12px 0 18px;
    text-align: center;
    color: #ffcc00;
    font-size: 14px;
}
.lucky-bar {
    width: 100%;
    height: 10px;
    background: #222;
    border-radius: 5px;
    overflow: hidden;
    margin: 6px 0;
    border: 1px solid #444;
}
.lucky-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffcc00, #ff8800, #ff4400);
    border-radius: 5px;
    transition: width 0.6s ease;
}
/* —————————————— 抽奖规则弹窗样式 —————————————— */
#ruleModal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

#ruleModal.show {
    display: flex;
}

.rule-modal-content {
    width: 90%;
    max-width: 600px;
    background: #141414;
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    position: relative;
    border: 2px solid #ff9600;
    box-shadow: 0 0 30px rgba(255, 150, 0, 0.35);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

#ruleModal.show .rule-modal-content {
    transform: scale(1);
}

/* 顶部金色流光条 */
.rule-modal-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff9600, #ffd000, #ff9600);
    box-shadow: 0 0 15px #ffaa00;
    animation: ruleShine 2s linear infinite;
    background-size: 200% 100%;
}

/* 流光动画 */
@keyframes ruleShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 标题 */
.rule-modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 20px;
    padding-top: 10px;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

/* 内容滚动区域 */
.rule-modal-body {
    height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    font-size: 15px;
    line-height: 1.9;
    color: #e0e0e0;
}

/* 自定义滚动条 */
.rule-modal-body::-webkit-scrollbar {
    width: 6px;
}
.rule-modal-body::-webkit-scrollbar-thumb {
    background: #ff9600;
    border-radius: 3px;
}
.rule-modal-body::-webkit-scrollbar-track {
    background: #2a2a2a;
}

/* 关闭按钮 */
.rule-modal-footer {
    text-align: center;
    margin-top: 25px;
}

.rule-modal-closeBtn {
    padding: 11px 32px;
    background: linear-gradient(180deg, #ff8800, #cc6600);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 12px rgb(255 120 0 / 20%);
}
.rule-modal-closeBtn:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.4);
    background: linear-gradient(180deg, #ff9c10, #ff7010);
}

.copy-right-area p span {
    font-size: var(--bodysize);
    color: #fcbe00;
    display: inline-block;
}

/* 礼炮容器 */
.firework-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
}
.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: firework-fly 1s ease-out forwards;
}
@keyframes firework-fly {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; }
}

/* 🔥 弹窗金色呼吸发光（你要的效果） */
/* 🔥 终极大奖金色发光 */
#award_modal.gold-modal .modal-content {
    animation: modalGlow 1.2s ease-in-out infinite alternate !important;
    border-color: #ffcc00 !important;
    /*background: #fffaf0 !important;*/
}
@keyframes modalGlow {
    0% { box-shadow: 0 0 30px rgba(255,204,0,0.6), 0 0 60px rgba(255,136,0,0.5); }
    100% { box-shadow: 0 0 50px rgba(255,204,0,1), 0 0 100px rgba(255,136,0,0.9); }
}