/* 赐福测名 - 前端样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #7a1512 0%, #9c2b18 45%, #b0451e 100%);
    min-height: 100vh;
    color: #fff;
    padding-bottom: 80px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0 20px;
}

/* 头部背景区域 1:1.5 比例 */
.hero-section {
    width: 100%;
    aspect-ratio: 1 / 2.9;
    background: url('/static/images/bg2.jpg') center top / cover no-repeat;
}

/* Banner轮播 */
.banner-section {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 12px;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c0392b 0%, #e67e22 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-placeholder h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-placeholder p {
    font-size: 16px;
    opacity: 0.9;
}

.banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    font-size: 16px;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

/* 统计栏 */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    background: linear-gradient(90deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.05) 100%);
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

.stats-icon {
    font-size: 20px;
    margin-right: 8px;
}

.stats-text {
    font-size: 14px;
    color: #ffd700;
}

.stats-num {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    margin: 0 4px;
}

/* 通用标题 */
.section-title {
    display: flex;
    align-items: center;
    padding: 20px 15px 15px;
    font-size: 18px;
    font-weight: bold;
}

.title-icon {
    margin-right: 8px;
    font-size: 20px;
}

/* 大师介绍 */
.master-section {
    padding: 0 15px;
}

.master-card {
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.master-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #c0392b 0%, #e67e22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.master-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffd700;
}

.master-info p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* 功能介绍 */
.features-section {
    padding: 0 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.feature-item:active {
    transform: scale(0.98);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #ffd700;
}

.feature-item p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

/* 滚动介绍 */
.scroll-intro-section {
    padding: 0 15px;
}

.scroll-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-item {
    display: flex;
    gap: 12px;
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.scroll-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #c0392b 0%, #e67e22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.scroll-content h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #ffd700;
}

.scroll-content p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* 测算报告滚动 */
.reports-section {
    padding: 0 15px;
}

.reports-scroll {
    height: 200px;
    overflow: hidden;
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.reports-scroll-inner {
    animation: scrollUp 15s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.report-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.report-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.report-info {
    flex: 1;
    min-width: 0;
}

.report-name {
    font-size: 13px;
    margin-bottom: 4px;
}

.report-gender {
    color: #64b5f6;
}

.report-summary {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-wuxing {
    font-size: 11px;
    color: #ffd700;
    background: rgba(255,215,0,0.15);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* 用户评价 */
.comments-section {
    padding: 0 15px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    display: flex;
    gap: 12px;
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d35400 0%, #e74c3c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-name {
    font-size: 14px;
    margin-bottom: 6px;
    color: #ffd700;
}

.comment-text {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 6px;
}

.comment-stars {
    font-size: 12px;
}

/* 更多测算 */
.more-section {
    padding: 0 15px;
}

.more-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.more-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.more-item:active {
    transform: scale(0.98);
}

.more-icon {
    font-size: 24px;
}

.more-info {
    flex: 1;
}

.more-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.more-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.more-arrow {
    font-size: 20px;
    color: rgba(255,255,255,0.5);
}

/* 底部导航 */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 15px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

/* 免责声明 */
.disclaimer {
    padding: 15px;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

/* 底部固定按钮 */
.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    background: rgba(61,36,16,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
}

.btn-start {
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 14px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    transition: transform 0.3s;
}

.btn-start:active {
    transform: scale(0.98);
}

/* 订单按钮 */
.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #c0392b 0%, #e67e22 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 25px;
    white-space: nowrap;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(192,57,43,0.4);
}

.btn-order:active {
    transform: scale(0.96);
}

/* 联系客服浮动按钮 */
.float-contact {
    position: fixed;
    right: 15px;
    bottom: 85px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(7,193,96,0.5);
    z-index: 999;
    line-height: 1;
    animation: contactPulse 2s infinite;
}

.float-contact span {
    font-size: 9px;
    margin-top: 1px;
}

@keyframes contactPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(7,193,96,0.5); }
    50% { box-shadow: 0 4px 25px rgba(7,193,96,0.8); }
}

/* 未支付订单弹窗 */
.unpaid-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.unpaid-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.unpaid-modal {
    background: linear-gradient(180deg, #3d2410 0%, #5a3413 100%);
    border-radius: 16px;
    padding: 30px 25px;
    max-width: 340px;
    width: 100%;
    border: 1px solid rgba(255,215,0,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.unpaid-modal-icon {
    text-align: center;
    font-size: 40px;
    margin-bottom: 12px;
}

.unpaid-modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
}

.unpaid-modal-desc {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
}

.unpaid-modal-info {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,205,90,0.5);
}

.unpaid-modal-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}

.unpaid-modal-info .info-label {
    color: rgba(255,255,255,0.5);
}

.unpaid-modal-info .info-value {
    color: #fff;
    font-weight: 500;
}

.unpaid-modal-btns {
    display: flex;
    gap: 12px;
}

.unpaid-modal-btns .btn-pay-now {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
    border: none;
    border-radius: 22px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.unpaid-modal-btns .btn-pay-later {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

/* 表单页面样式 */
.form-page {
    padding: 15px;
}

.form-header {
    text-align: center;
    padding: 20px 0;
}

.form-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.form-card {
    background: rgba(255,205,90,0.5);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.form-label .required {
    color: #ff5252;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #ffd700;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* 性别选择 */
.gender-select {
    display: flex;
    gap: 15px;
}

.gender-option {
    flex: 1;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gender-option.active {
    border-color: #ffd700;
    background: rgba(255,215,0,0.15);
}

.gender-option .gender-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.gender-option .gender-text {
    font-size: 14px;
}

/* 历法切换 */
.calendar-switch {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px;
}

.calendar-option {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.calendar-option.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
    font-weight: bold;
}

/* 日期选择 */
.date-select {
    display: flex;
    gap: 10px;
}

.date-select select {
    flex: 1;
    padding: 12px 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.date-select select option {
    background: #1a0a2e;
    color: #fff;
}

/* 时辰选择 */
.hour-select {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.hour-option {
    padding: 10px 5px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.hour-option.active {
    border-color: #ffd700;
    background: rgba(255,215,0,0.15);
    color: #ffd700;
}

.hour-option .hour-name {
    font-size: 13px;
    font-weight: bold;
}

.hour-option .hour-time {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* 协议勾选 */
.agreement-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.agreement-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #ffd700;
}

.agreement-check a {
    color: #ffd700;
    text-decoration: none;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    transition: transform 0.3s, opacity 0.3s;
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 支付页面 */
.pay-page {
    padding: 15px;
    text-align: center;
}

.analysis-animation {
    padding: 40px 20px;
}

.analysis-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    position: relative;
}

.analysis-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.analysis-ring:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 15px;
    left: 15px;
    border-top-color: #ff6b6b;
    animation-duration: 2s;
    animation-direction: reverse;
}

.analysis-ring:nth-child(3) {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 30px;
    border-top-color: #4ecdc4;
    animation-duration: 1s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.analysis-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
}

.analysis-text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}

.analysis-subtext {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* 进度条 */
.progress-section {
    margin: 30px 0;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    border-radius: 4px;
    transition: width 0.3s;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    color: #ffd700;
}

/* 分析步骤 */
.analysis-steps {
    text-align: left;
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step-item.active {
    opacity: 1;
}

.step-item.done {
    opacity: 1;
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.step-item.active .step-icon {
    background: #ffd700;
    color: #1a0a2e;
    animation: pulse 1s infinite;
}

.step-item.done .step-icon {
    background: #4ecdc4;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-text {
    font-size: 14px;
}

/* 五行展示 */
.wuxing-result {
    background: rgba(255,205,90,0.5);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

.wuxing-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffd700;
}

.wuxing-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.wuxing-item {
    text-align: center;
}

.wuxing-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 6px;
}

.wuxing-item[data-type="金"] .wuxing-icon { background: linear-gradient(135deg, #ffd700, #ffaa00); }
.wuxing-item[data-type="木"] .wuxing-icon { background: linear-gradient(135deg, #4caf50, #8bc34a); }
.wuxing-item[data-type="水"] .wuxing-icon { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.wuxing-item[data-type="火"] .wuxing-icon { background: linear-gradient(135deg, #f44336, #ff5722); }
.wuxing-item[data-type="土"] .wuxing-icon { background: linear-gradient(135deg, #795548, #a1887f); }

.wuxing-name {
    font-size: 13px;
}

.wuxing-lack {
    background: rgba(255,82,82,0.15);
    border: 1px solid rgba(255,82,82,0.3);
    border-radius: 8px;
    padding: 12px;
    color: #ff5252;
    font-size: 14px;
}

/* 支付按钮 */
.btn-pay {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(7,193,96,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pay:active {
    transform: scale(0.98);
}

.pay-amount {
    font-size: 24px;
    color: #ffd700;
    margin: 15px 0;
}

.pay-amount span {
    font-size: 14px;
}

/* 结果页面 */
.result-page {
    padding: 15px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 30px auto 20px;
}

.qrcode-section {
    background: rgba(255,205,90,0.5);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
}

.qrcode-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffd700;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-tip {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* 企业微信添加按钮 */
.wechat-link-btn {
    display: block;
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 20px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(7,193,96,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.wechat-link-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(7,193,96,0.3);
}

/* 订单查询页 */
.query-page {
    padding: 15px;
}

.query-result {
    margin-top: 20px;
}

.order-card {
    background: rgba(255,205,90,0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-no {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.order-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

.order-status.paid {
    background: rgba(7,193,96,0.2);
    color: #07c160;
}

.order-status.unpaid {
    background: rgba(255,152,0,0.2);
    color: #ff9800;
}

.order-info {
    font-size: 14px;
    line-height: 1.8;
}

.order-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.btn-small {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-small.primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
}

.btn-small.secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

/* 投诉建议页 */
.complaint-page {
    padding: 15px;
}

.complaint-type {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.type-option {
    flex: 1;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.type-option.active {
    border-color: #ffd700;
    background: rgba(255,215,0,0.15);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #1a0a2e;
    border-radius: 16px;
    padding: 25px;
    max-width: 350px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    color: #ffd700;
}

.modal-body {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.modal-close {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a0a2e;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 2000;
    display: none;
}

.toast.show {
    display: block;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========== 全屏运算动画 ========== */
.calc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #5c1a0a 0%, #8b2500 40%, #a0522d 100%);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calc-overlay.show {
    display: flex;
    animation: calcFadeIn 0.4s ease;
}

@keyframes calcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 顶部提示文字 */
.calc-messages {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 20px;
}

.calc-messages .calc-msg {
    font-size: 15px;
    color: #ffe9a8;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    animation: msgFadeIn 0.5s ease forwards;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes msgFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* 罗盘容器 */
.calc-compass {
    position: relative;
    width: 280px;
    height: 280px;
}

/* 三层环通用样式 */
.calc-ring {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-ring span {
    position: absolute;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 外层：十二地支 */
.calc-ring-outer {
    width: 280px;
    height: 280px;
    top: 0;
    left: 0;
    border: 3px solid rgba(255,215,0,0.35);
    animation: spinCW 8s linear infinite;
}

.calc-ring-outer span {
    font-size: 16px;
    color: #ffd700;
    transform: rotate(calc(var(--i) * 30deg)) translateY(-122px);
}

/* 中层：十天干 */
.calc-ring-middle {
    width: 200px;
    height: 200px;
    top: 40px;
    left: 40px;
    border: 2px solid rgba(255,215,0,0.25);
    animation: spinCCW 6s linear infinite;
}

.calc-ring-middle span {
    font-size: 14px;
    color: #ffe9a8;
    transform: rotate(calc(var(--i) * 36deg)) translateY(-84px);
}

/* 内层：太极四柱 */
.calc-ring-inner {
    width: 120px;
    height: 120px;
    top: 80px;
    left: 80px;
    background: radial-gradient(circle, #b8860b 0%, #8b6914 100%);
    border: 2px solid rgba(255,215,0,0.6);
    animation: spinCW 4s linear infinite;
    flex-direction: column;
}

.calc-taiji {
    font-size: 36px;
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}

.calc-pillars {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.calc-pillars span {
    position: static;
    font-size: 9px;
    color: rgba(255,255,255,0.9);
    transform: none;
}

@keyframes spinCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
