.logo-area {
  font-size: 26px;
  font-weight: bold;
  color: #fbe9c3;
  text-shadow: 2px 2px 0 #765c3a;
  letter-spacing: 2px;
}
.logo-area small {
  font-size: 12px;
  margin-left: 10px;
  color: #ecc897;
}
.nav-links a {
  color: #f7e5c2;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: 0.2s;
  border-bottom: 1px dotted transparent;
}
.nav-links a:hover {
  border-bottom-color: #e8b56e;
  color: #ffdfa5;
}

.game-footer {
  background: #2c241ac9;
  backdrop-filter: blur(4px);
  padding: 20px 30px;
  text-align: center;
  color: #ddc7a8;
  font-size: 13px;
  border-top: 1px solid #b59062;
  margin-top: 40px;
}
.game-footer a {
  color: #f1cf95;
  text-decoration: none;
}

.lottery-main {
  width: 1440px;
  margin: 20px auto 120px;
  position: relative;
  z-index: 10;
}
.lottery-card {
  background: linear-gradient(
    135deg,
    rgba(240, 232, 216, 0.96),
    rgba(232, 216, 184, 0.96)
  );
  border: 1px solid rgba(168, 136, 96, 0.45);
  border-radius: 36px;
  padding: 30px 32px 42px;
  box-shadow:
    0 20px 35px rgba(120, 90, 50, 0.25),
    0 0 0 1px rgba(248, 184, 168, 0.3) inset;
  backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
  font-size: 12px;
}
.lottery-card .span {
  display: block;
  margin-left: 80px;
  color: #333;
  line-height: 25px;
  font-size: 14px;
}
.lottery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f, #f8b8a8);
  border-radius: 36px 36px 0 0;
}
.lottery-card::after {
  content: "🎴";
  font-size: 200px;
  position: absolute;
  bottom: -50px;
  right: -30px;
  opacity: 0.08;
  color: #e69a88;
  pointer-events: none;
  transform: rotate(10deg);
}
.lottery-header {
  text-align: center;
  margin-bottom: 25px;
}
.lottery-badge {
  display: inline-block;
  background: rgba(230, 154, 136, 0.2);
  border-radius: 40px;
  padding: 6px 20px;
  border: 1px solid #f0d99c;
  font-size: 14px;
  color: #e87a6f;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.lottery-header h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #e87a6f, #f0b87a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  line-height: 60px;
}
.daily-guarantee {
  background: #fff0d0;
  display: inline-block;
  margin-top: 12px;
  padding: 8px 28px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: bold;
  color: #c25a4a;
  border: 1px solid #f8c9a0;
  box-shadow: 0 2px 8px rgba(168, 136, 96, 0.2);
}
.daily-guarantee span {
  color: #e87a6f;
  font-size: 18px;
  margin-right: 6px;
}
.lottery-content {
  display: flex;
  gap: 40px;
  margin: 35px 0 25px;
  flex-wrap: wrap;
}
.prize-showcase {
  flex: 1.2;
  background: rgba(250, 245, 235, 0.7);
  border-radius: 48px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(248, 184, 168, 0.5);
  backdrop-filter: blur(4px);
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.grand-prize {
  position: relative;
}
.prize-icon {
  font-size: 68px;
  background: linear-gradient(145deg, #fbe8d0, #f5d6b8);
  width: 150px;
  height: 150px;
  line-height: 1.4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow:
    0 15px 25px rgba(168, 128, 88, 0.3),
    0 0 0 5px #fff5e6 inset;
}
.prize-icon span {
  font-size: 76px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}
.prize-value {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, #e87a6f, #f0b67a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}
.prize-value small {
  font-size: 24px;
  background: none;
  -webkit-background-clip: unset;
  color: #b67a5a;
}
.prize-desc {
  font-size: 18px;
  color: #886e50;
  margin-top: 12px;
  font-weight: 500;
  line-height: 30px;
}
.prize-note {
  margin-top: 20px;
  background: #fbecd6;
  border-radius: 20px;
  padding: 10px;
  color: #c25a4a;
  font-size: 14px;
  font-weight: 500;
}
.lottery-action {
  flex: 0.8;
  background: rgba(245, 235, 215, 0.7);
  border-radius: 40px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(240, 217, 156, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lottery-btn {
  background: radial-gradient(circle at 30% 10%, #f8b8a8, #e87a6f);
  border: none;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 20px 35px rgba(200, 120, 80, 0.4),
    0 0 0 8px rgba(248, 184, 168, 0.3),
    0 0 0 12px #fff2e0;
  font-size: 38px;
  font-weight: bold;
  color: #fff9ef;
  text-shadow: 2px 2px 0 #b35e4e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  letter-spacing: 4px;
}
.lottery-btn span:first-child {
  font-size: 58px;
}
.lottery-btn span:last-child {
  font-size: 28px;
}
.lottery-btn:hover {
  transform: scale(1.02);
  box-shadow:
    0 25px 45px rgba(200, 100, 70, 0.5),
    0 0 0 10px rgba(248, 184, 168, 0.5),
    0 0 0 14px #fff2e0;
}
.action-text {
  font-size: 15px;
  background: #faeedc;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  color: #ad6a58;
}
.daily-winner-area {
  background: linear-gradient(
    105deg,
    rgba(248, 184, 168, 0.25),
    rgba(240, 217, 156, 0.3)
  );
  border-radius: 32px;
  margin: 15px 0 25px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 1px solid #f0cb9c;
}
.winner-badge {
  background: #e87a6f;
  border-radius: 60px;
  padding: 5px 18px;
  color: white;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.winner-name-area {
  font-size: 18px;
  font-weight: bold;
  color: #6e4a2e;
}
.winner-name-area .name-glow {
  color: #e0695a;
  background: #fff0dd;
  padding: 4px 14px;
  border-radius: 30px;
  margin-left: 8px;
  display: inline-block;
}
.rule-tip {
  font-size: 13px;
  color: #aa7a58;
  margin-top: 10px;
}
.lottery-footer-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}
.reward-pool {
  flex: 1.2;
  background: rgba(242, 230, 208, 0.7);
  border-radius: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(168, 136, 96, 0.3);
  text-align: center;
}
.history-list {
  flex: 1;
  background: rgba(242, 230, 208, 0.7);
  border-radius: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(168, 136, 96, 0.3);
}
.subtitle {
  font-size: 20px;
  font-weight: bold;
  border-left: 5px solid #e69a88;
  padding-left: 14px;
  margin-bottom: 16px;
  color: #9b6a4a;
}
.single-prize-card {
  background: linear-gradient(145deg, #fff5e8, #fbe6d0);
  border-radius: 40px;
  padding: 20px 15px;
  margin: 15px 0;
  border: 1px solid #f0c898;
  box-shadow: 0 6px 12px rgba(168, 128, 88, 0.15);
}
.single-prize-card .prize-name {
  font-size: 28px;
  font-weight: 800;
  color: #e87a6f;
  letter-spacing: 2px;
}
.other-notice {
  background: #fcf3e2;
  border-radius: 30px;
  padding: 10px;
  font-size: 13px;
  color: #b57252;
  margin-top: 12px;
  line-height: 30px;
}
.history-list ul li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(168, 136, 96, 0.3);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6e543a;
}
.history-list ul li span:last-child {
  color: #e87a6f;
  font-weight: bold;
}
.fake-note {
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
  color: #ba8a68;
}
.leaf-deco {
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 48px;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 1250px) {
  .lottery-main {
    width: 95%;
  }
  .lottery-content {
    flex-direction: column;
  }
  .lottery-card .span {
    margin-left: 20px;
  }
}

/* 弹窗基础样式 (居中flex) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 20, 12, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none; /* 默认隐藏, 显示时用 flex */
  align-items: center;
  justify-content: center;
}
.lottery-modal {
  background: #fff9ef;
  background-image: radial-gradient(
    circle at 10% 20%,
    rgba(235, 210, 170, 0.2) 2%,
    transparent 2.5%
  );
  background-size: 28px 28px;
  width: 90%;
  max-width: 460px;
  border-radius: 48px;
  border: 1px solid #e3bc8b;
  box-shadow:
    0 30px 40px rgba(60, 40, 20, 0.5),
    0 0 0 8px rgba(220, 180, 120, 0.3);
  padding: 30px 28px 35px;
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}
.message-modal {
  background: #fffcf5;
  max-width: 480px;
  width: 90%;
  border-radius: 48px;
  border: 1px solid #eacb9e;
  box-shadow:
    0 25px 35px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(225, 185, 120, 0.3);
  padding: 28px 26px 32px;
  text-align: center;
  animation: modalFadeIn 0.2s ease;
  position: relative;
}
.message-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.message-title {
  font-size: 24px;
  font-weight: bold;
  color: #bf7a48;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.message-content {
  font-size: 16px;
  color: #6a4a2c;
  line-height: 1.5;
  margin: 12px 0 22px;
  white-space: pre-line;
}
.message-btn {
  background: #e7b17e;
  border: none;
  padding: 10px 32px;
  border-radius: 60px;
  font-size: 18px;
  font-weight: bold;
  color: #3f2a18;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.message-btn:hover {
  background: #dd9f60;
  transform: scale(0.97);
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: #b87a54;
  transition: 0.2s;
  line-height: 1;
  background: #f3e5d2;
  width: 36px;
  height: 36px;
  text-align: center;
  border-radius: 50%;
}
.modal-close:hover {
  color: #c2422a;
  background: #ffe2c4;
  transform: rotate(90deg);
}
.modal-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #bf7a48;
  border-bottom: 2px solid #f0cfaa;
  display: inline-block;
  width: auto;
  margin: 0 auto 20px;
  padding-bottom: 8px;
  letter-spacing: 2px;
}
.modal-field {
  margin-bottom: 22px;
}
.modal-field label {
  display: block;
  font-weight: bold;
  color: #7b583d;
  margin-bottom: 8px;
  font-size: 15px;
}
.modal-field input {
  width: 100%;
  padding: 12px 16px;
  background: #fef6ea;
  border: 1px solid #e7c8a2;
  border-radius: 60px;
  font-size: 16px;
  color: #3b2a1c;
  outline: none;
  transition: 0.2s;
  font-family: monospace;
}
.modal-field input:focus {
  border-color: #e69a88;
  box-shadow: 0 0 0 3px rgba(230, 154, 136, 0.3);
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.captcha-code {
  background: #e9d9c4;
  padding: 10px 18px;
  border-radius: 60px;
  font-family: monospace;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 6px;
  color: #784e2e;
  border: 1px solid #c9aa7b;
  user-select: none;
}
.refresh-captcha {
  background: #eedbc8;
  border: none;
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
  color: #7e582e;
  font-weight: bold;
}
.refresh-captcha:hover {
  background: #e2c7ab;
  transform: scale(0.96);
}
.modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.modal-buttons button {
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  background: #f0e0ce;
  color: #7e572f;
  border: 1px solid #dbb27a;
  min-width: 110px;
}
.modal-buttons button:first-child {
  background: #e7b17e;
  color: #3f2a18;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.modal-buttons button:first-child:hover {
  background: #dd9f60;
  transform: translateY(-2px);
}
.modal-buttons button:last-child:hover {
  background: #e6cfb5;
}
.modal-footnote {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  color: #b88a62;
  background: #fbefdf;
  border-radius: 40px;
  padding: 6px;
}
@media (max-width: 550px) {
  .lottery-modal,
  .message-modal {
    padding: 24px 20px;
  }
  .captcha-code {
    font-size: 18px;
    letter-spacing: 3px;
  }
}

/* 规则卡片容器 (独立模块，暖调童话风) */
/* .rules-container {
            max-width: 1000px;
            width: 100%;
            margin: 0 auto;
        }

        .rules-card {
            background: linear-gradient(135deg, rgba(245, 238, 222, 0.96), rgba(235, 224, 200, 0.96));
            border: 1px solid rgba(168, 136, 96, 0.45);
            border-radius: 32px;
            box-shadow: 0 20px 35px rgba(120, 90, 50, 0.2), 0 0 0 1px rgba(248, 184, 168, 0.2) inset;
            backdrop-filter: blur(2px);
            overflow: hidden;
            position: relative;
        } */

/* 顶部装饰条纹（暖调渐变）
        .rules-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f, #f8b8a8);
            z-index: 1;
        } */

/* 装饰纹理（小叶子图案） */
.rules-card::after {
  content: "🍂🍁";
  font-size: 100px;
  position: absolute;
  bottom: -20px;
  right: -15px;
  opacity: 0.08;
  pointer-events: none;
  font-family: monospace;
  transform: rotate(-5deg);
}

/* 内边距 */
.rules-inner {
  padding: 30px 0px 34px;
  position: relative;
  z-index: 2;
}

/* 标题区域 */
.rules-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(168, 136, 96, 0.3);
}
.rules-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(168, 128, 88, 0.3));
}
.rules-title {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #e87a6f, #f0b87a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}
.rules-sub {
  margin-left: auto;
  font-size: 13px;
  background: rgba(230, 154, 136, 0.2);
  padding: 4px 12px;
  border-radius: 30px;
  color: #c06a5a;
}

/* 官方规则列表 (有序列表) */
.official-rules {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rule-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 10px 12px 0;
  border-bottom: 1px dashed rgba(168, 136, 96, 0.25);
  transition: all 0.2s ease;
}
.rule-item:hover {
  background: rgba(240, 217, 156, 0.15);
  border-radius: 20px;
  padding-left: 12px;
}
.rule-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #e69a88, #f0d99c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(168, 128, 88, 0.2);
}
.rule-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #5c4530;
}
.rule-content strong {
  color: #e87a6f;
  font-weight: 600;
}
.highlight-qq {
  background: #fff0d0;
  padding: 2px 10px;
  border-radius: 30px;
  font-weight: bold;
  color: #c25a4a;
  font-family: monospace;
  font-size: 15px;
  display: inline-block;
  margin: 0 2px;
}
.rule-note {
  margin-top: 24px;
  background: rgba(240, 217, 156, 0.3);
  border-radius: 24px;
  padding: 14px 18px;
  font-size: 13px;
  color: #8b694a;
  border: 1px solid rgba(248, 184, 168, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rule-note .icon {
  font-size: 18px;
}
.footer-clause {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #b28868;
  border-top: 1px solid rgba(168, 136, 96, 0.25);
  padding-top: 18px;
}

/* 响应式 */
@media (max-width: 650px) {
  .rules-inner {
    padding: 20px 18px 26px;
  }
  .rules-title {
    font-size: 22px;
  }
  .rule-item {
    gap: 10px;
    margin-bottom: 16px;
  }
  .rule-num {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .rule-content {
    font-size: 13px;
  }
  .rules-sub {
    font-size: 11px;
  }
}
