/* ===== 美业一站式管理系统 - 轻奢粉白金风格 ===== */
:root {
    --primary-pink: #f092a9;
    --primary-rose: #e07a94;
    --primary-gold: #c9a42e;
    --light-gold: #f5e6a3;
    --soft-pink: #fef9fb;
    --deep-rose: #b85c75;
    --text-dark: #2a1a20;
    --text-gray: #5c4d53;
    --white: #ffffff;
    --shadow-soft: 0 6px 24px rgba(201, 123, 140, 0.12);
    --shadow-hover: 0 12px 36px rgba(201, 123, 140, 0.2);
    --gradient-main: linear-gradient(135deg, #f092a9 0%, #e07a94 50%, #c9a42e 100%);
    --gradient-soft: linear-gradient(135deg, #fef9fb 0%, #fffbf0 100%);
    --border-radius: 16px;
    --border-radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    background: var(--soft-pink);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
    font-size: 16px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

/* ===== 导航栏 ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(232, 165, 181, 0.1);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--deep-rose);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
}

/* ===== 按钮样式 ===== */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 165, 181, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 165, 181, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-rose);
    color: var(--deep-rose);
}

.btn-outline:hover {
    background: var(--primary-rose);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f5e6a3);
    color: #5c4a1f;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

/* ===== 主容器 ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* ===== Hero 横幅 ===== */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(248, 180, 196, 0.3) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 80px 50px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(248, 180, 196, 0.3);
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0% { background-size: 100% 100%; background-position: center center; }
    100% { background-size: 115% 115%; background-position: center center; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Water ripple effect overlay */
.hero-ripple {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-ripple span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: heroRipple 6s infinite ease-out;
}
.hero-ripple span:nth-child(1) { width: 60px; height: 60px; left: 20%; top: 60%; animation-delay: 0s; }
.hero-ripple span:nth-child(2) { width: 40px; height: 40px; left: 70%; top: 30%; animation-delay: 1.5s; }
.hero-ripple span:nth-child(3) { width: 80px; height: 80px; left: 50%; top: 70%; animation-delay: 3s; }
.hero-ripple span:nth-child(4) { width: 30px; height: 30px; left: 85%; top: 50%; animation-delay: 4.5s; }
.hero-ripple span:nth-child(5) { width: 50px; height: 50px; left: 10%; top: 40%; animation-delay: 2s; }

@keyframes heroRipple {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(6); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero .btn-outline {
    border-color: white;
    color: white;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--deep-rose);
}

/* ===== 区块标题 ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: 26px;
    color: var(--text-dark);
    position: relative;
    padding-left: 16px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: var(--gradient-main);
    border-radius: 3px;
}

.section-title a {
    color: var(--deep-rose);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* ===== 服务卡片网格 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 160px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gold);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.service-info {
    padding: 16px 18px;
}

.service-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.service-info p {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
    text-decoration: none;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--deep-rose);
}

.service-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
}

/* ===== 技工/技师卡片 ===== */
.techs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.tech-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.tech-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-main);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.tech-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.tech-title {
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.tech-skills {
    color: var(--text-gray);
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tech-rating {
    color: var(--primary-gold);
    font-size: 12px;
    margin-bottom: 0;
}

/* ===== 会员等级卡片 ===== */
.member-levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.level-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.level-card:hover {
    transform: translateY(-4px);
}

.level-card.active {
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.level-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.level-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.level-requirement {
    font-size: 12px;
    color: var(--text-gray);
}

.level-card.silver { background: linear-gradient(180deg, #f8f9fa 0%, white 100%); }
.level-card.gold { background: linear-gradient(180deg, #fff9e6 0%, white 100%); }
.level-card.diamond { background: linear-gradient(180deg, #e8f4f8 0%, white 100%); }
.level-card.vip { background: linear-gradient(180deg, #f5e6ff 0%, white 100%); }

/* ===== 功能快捷入口 ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    padding: 40px 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-image: url('../images/quick-actions-bg.jpg');
    background-size: cover;
    background-position: center;
    animation: quickBgKenBurns 20s ease-in-out infinite alternate;
    z-index: 0;
}

.quick-actions::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(252,245,248,0.82) 50%, rgba(250,240,245,0.78) 100%);
    backdrop-filter: blur(3px);
    z-index: 0;
}

@keyframes quickBgKenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

@keyframes aboutKenBurns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1.05) translate(1%, 1%); }
}

.quick-actions > * {
    position: relative;
    z-index: 1;
}

.quick-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.quick-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-soft);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.quick-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.quick-card p {
    font-size: 12px;
    color: var(--text-gray);
}

/* ===== 数据统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.stat-change {
    font-size: 12px;
    color: #52c41a;
    margin-top: 6px;
}

/* ===== 表格样式 ===== */
.data-table {
    width: 100%;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--soft-pink);
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid #f0e0e5;
}

.data-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid #faf0f3;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--soft-pink);
}

.status-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-success { background: #f6ffed; color: #52c41a; }
.status-pending { background: #fff7e6; color: #fa8c16; }
.status-expired { background: #f5f5f5; color: #999; }
.status-gold { background: #fff9e6; color: var(--primary-gold); }

/* ===== 表单样式 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #f0e0e5;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-rose);
    box-shadow: 0 0 0 3px rgba(232, 165, 181, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== 弹窗/模态框 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 44, 51, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--soft-pink);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-gray);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* ===== Tab 导航 - 胶囊式 ===== */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    padding: 6px;
    background: #f8f0f3;
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: inset 0 2px 8px rgba(201, 123, 140, 0.08);
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover {
    color: var(--deep-rose);
    background: rgba(255,255,255,0.5);
}

.tab-btn.active {
    color: white;
    background: var(--gradient-main);
    box-shadow: 0 4px 15px rgba(201, 123, 140, 0.35);
    transform: translateY(-1px);
}

.tab-content {
    display: none;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    display: block;
}

/* ===== 侧边栏布局（后台） ===== */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 250px;
    background: linear-gradient(180deg, #2d1f26 0%, #4a2f3a 100%);
    box-shadow: 4px 0 30px rgba(45, 31, 38, 0.15);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.admin-logo .logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, #f092a9, #c9a42e);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(240, 146, 169, 0.3);
}

.admin-menu {
    list-style: none;
    flex: 1;
    padding: 0 12px;
}

.mobile-logout-item {
    display: none;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-radius: 10px;
    margin-bottom: 4px;
    border-left: none;
}

.admin-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(3px);
}

.admin-menu li a.active {
    background: linear-gradient(135deg, #f092a9 0%, #e07a94 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(240, 146, 169, 0.35);
    font-weight: 600;
}

.admin-sidebar .btn-outline {
    margin: 16px 20px 24px 20px;
    width: calc(100% - 40px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    border-radius: 10px;
    padding: 12px;
    font-weight: 500;
    transition: all 0.25s;
}

.admin-sidebar .btn-outline:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.admin-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* ===== 优惠券卡片 ===== */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.coupon-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    position: relative;
}

.coupon-left {
    background: var(--gradient-main);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-amount {
    font-size: 32px;
    font-weight: 700;
}

.coupon-amount span {
    font-size: 14px;
}

.coupon-right {
    padding: 16px 20px;
    flex: 1;
}

.coupon-right h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.coupon-desc {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.coupon-expire {
    font-size: 11px;
    color: #999;
}

.coupon-card.used .coupon-left {
    background: #ccc;
}

.coupon-card.expired .coupon-left {
    background: #ddd;
}

/* ===== 抽奖转盘区域 ===== */
.lottery-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.lottery-wheel {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-soft);
    margin: 0 auto 24px;
    position: relative;
    border: 8px solid var(--light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottery-center {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(232, 165, 181, 0.4);
    transition: transform 0.3s;
}

.lottery-center:hover {
    transform: scale(1.05);
}

.lottery-info {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===== 分销推广 ===== */
.referral-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin-bottom: 30px;
}

.referral-code {
    background: var(--gradient-soft);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--deep-rose);
    display: inline-block;
    margin: 16px 0;
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.referral-stat {
    padding: 16px;
    background: var(--soft-pink);
    border-radius: 12px;
}

.referral-stat .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-rose);
}

.referral-stat .label {
    font-size: 12px;
    color: var(--text-gray);
}

/* ===== 预约时间选择 ===== */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1.5px solid #f0e0e5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.time-slot:hover:not(.disabled):not(.selected) {
    border-color: var(--primary-rose);
    background: var(--soft-pink);
}

.time-slot.selected {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}

.time-slot.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.date-selector {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.date-option {
    min-width: 70px;
    padding: 12px 8px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    background: white;
    border: 1.5px solid #f0e0e5;
    transition: all 0.3s;
    flex-shrink: 0;
}
.date-option:hover { border-color: var(--primary-rose); transform: translateY(-2px); }
.date-option.selected {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}
.date-day { font-size: 12px; opacity: 0.8; }
.date-num { font-size: 18px; font-weight: 700; }
.date-month { font-size: 11px; opacity: 0.8; }

.date-item {
    min-width: 70px;
    padding: 12px 8px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    background: white;
    border: 1.5px solid #f0e0e5;
    transition: all 0.3s;
}

.date-item.selected {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}

.date-item .day {
    font-size: 12px;
    opacity: 0.8;
}

.date-item .date {
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   APPOINTMENT CALENDAR (Admin Dashboard)
   ======================================== */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-gray);
    padding: 10px 5px;
    background: var(--soft-pink);
    border-radius: 8px;
}
.calendar-day {
    min-height: 80px;
    padding: 8px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.calendar-day:hover {
    background: var(--soft-pink);
    border-color: var(--primary-pink);
    transform: translateY(-1px);
}
.calendar-day.other-month {
    opacity: 0.4;
}
.calendar-day.today {
    border: 2px solid var(--primary-rose);
    background: #fff5f8;
}
.calendar-day.selected {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(240, 146, 169, 0.35);
}
.calendar-day.selected .day-number {
    color: white;
    font-weight: 700;
}
.calendar-day.selected .appt-dot {
    background: white !important;
}
.calendar-day .day-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}
.calendar-day .appt-count {
    font-size: 11px;
    background: var(--primary-rose);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: 6px;
    right: 6px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}
.calendar-day .appt-preview {
    font-size: 10px;
    line-height: 1.4;
    overflow: hidden;
    color: var(--text-gray);
}
.calendar-day .appt-item {
    background: rgba(240, 146, 169, 0.15);
    color: var(--deep-rose);
    padding: 2px 4px;
    border-radius: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.calendar-day.selected .appt-item {
    background: rgba(255,255,255,0.25);
    color: white;
}
.appt-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-pink);
}
.appt-time {
    font-weight: 700;
    color: var(--deep-rose);
    min-width: 70px;
    font-size: 15px;
}
.appt-detail-info {
    flex: 1;
}
.appt-customer {
    font-weight: 600;
    color: var(--text-dark);
}
.appt-service {
    font-size: 13px;
    color: var(--text-gray);
}
.appt-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.appt-status.confirmed { background: #dcfce7; color: #166534; }
.appt-status.pending { background: #fef3c7; color: #92400e; }
.appt-status.cancelled { background: #fee2e2; color: #991b1b; }
.appt-status.completed { background: #e0e7ff; color: #3730a3; }

/* 手机端日历 */
@media (max-width: 768px) {
    .calendar-grid {
        gap: 4px;
    }
    .calendar-day {
        min-height: 48px;
        padding: 4px 2px;
        border-radius: 6px;
    }
    .calendar-day .day-number {
        font-size: 12px;
        margin-bottom: 0;
        text-align: center;
    }
    .calendar-day .appt-count {
        font-size: 9px;
        padding: 1px 4px;
        top: 2px;
        right: 2px;
        min-width: 16px;
    }
    .calendar-day .appt-preview {
        display: none;
    }
    .calendar-weekday {
        font-size: 10px;
        padding: 6px 1px;
        border-radius: 4px;
    }
    .appt-detail-item {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px;
    }
    .appt-time {
        min-width: 60px;
        font-size: 14px;
    }
    #calendarAppointments {
        margin-top: 15px;
    }
    #selectedDateTitle {
        font-size: 15px;
    }
}

/* ========================================
   原来的样式继续
   ======================================== */
.footer {
    background: white;
    padding: 40px;
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 60px;
    border-top: 1px solid #faf0f3;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    /* Base */
    * { -webkit-tap-highlight-color: transparent; }
    body { font-size: 15px; }
    .container { padding: 15px; }

    /* Navbar */
    .navbar { padding: 12px 15px; flex-wrap: wrap; position: relative; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 16px;
    }
    .nav-links a.active::after { display: none; }
    .nav-actions { display: none; }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 101;
    }
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--deep-rose);
        border-radius: 2px;
        transition: all 0.3s;
    }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .logo { font-size: 17px; gap: 8px; }
    .logo-icon { width: 34px; height: 34px; font-size: 18px; }
    .user-menu span { display: none; }

    /* Hero */
    .hero { padding: 35px 20px; border-radius: 18px; margin-bottom: 25px; }
    .hero h1 { font-size: 26px; line-height: 1.3; margin-bottom: 10px; }
    .hero p { font-size: 14px; margin-bottom: 20px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; padding: 14px; font-size: 15px; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 20px; }
    .member-levels { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .quick-card { padding: 18px 14px; }
    .quick-icon { font-size: 28px; }
    .quick-card h4 { font-size: 14px; }
    .quick-card p { font-size: 12px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; }
    .techs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tech-card { padding: 16px; }

    /* Section titles */
    .section-title { font-size: 20px; margin-bottom: 18px; }
    .section-title::before { width: 4px; }

    /* Buttons & Forms - larger touch targets */
    .btn { padding: 12px 20px; font-size: 15px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
    .btn-sm { padding: 8px 14px; min-height: 36px; font-size: 13px; }
    .form-input, .form-select, .form-textarea { padding: 12px 14px; font-size: 16px; min-height: 46px; border-radius: 10px; }
    .form-group { margin-bottom: 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Time slots */
    .time-slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .time-slot { padding: 10px 6px; font-size: 13px; min-height: 42px; }

    /* Modals - compact mobile layout with sticky action bar */
    .modal { width: 94%; max-width: 420px; padding: 18px 16px 0; border-radius: 16px; max-height: 94vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .modal h3 { font-size: 18px; margin-bottom: 6px; }
    .modal-header { margin-bottom: 8px; }
    .modal-overlay { padding: 8px; align-items: flex-start; padding-top: 2vh; }
    .modal .form-group { margin-bottom: 10px; }
    .modal .form-group label { margin-bottom: 4px; font-size: 13px; }
    .modal .form-input, .modal .form-select { padding: 9px 12px; font-size: 16px; min-height: 40px; }
    .modal .form-row { gap: 10px; }
    /* Keep first/last name side by side on mobile */
    .modal .form-row-names { grid-template-columns: 1fr 1fr; gap: 8px; }
    .register-subtitle { margin: 0 0 10px 0; font-size: 13px; color: var(--text-gray); }
    .register-more { margin-bottom: 8px; }
    .register-more summary { cursor: pointer; font-size: 13px; color: var(--text-gray); padding: 6px 0; user-select: none; }
    .register-more summary::marker { color: var(--primary-rose); }
    .modal-action-bar { position: sticky; bottom: 0; background: white; margin: 0 -16px; padding: 10px 16px 14px; border-top: 1px solid #f0e0e5; z-index: 10; }
    .modal-action-bar .btn { min-height: 44px; font-size: 15px; font-weight: 600; }

    /* Tabs - 手机端胶囊式横向滚动 */
    .tabs {
        gap: 6px;
        padding: 5px;
        margin-bottom: 20px;
        border-radius: 14px;
    }
    .tab-btn {
        padding: 9px 14px;
        font-size: 13px;
        border-radius: 10px;
        min-height: 38px;
    }

    /* Member center */
    .member-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .member-info { text-align: center; }
    .member-info h2 { font-size: 22px; }
    .member-stats {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }
    .stat-num { font-size: 18px; }
    .stat-label { font-size: 11px; }
    .member-avatar { width: 70px; height: 70px; font-size: 28px; }

    /* Account settings - single column on tablet/mobile */
    .account-settings-grid { grid-template-columns: 1fr; gap: 16px; }
    .settings-card { padding: 20px 16px; }
    .password-fields { grid-template-columns: 1fr; gap: 0; }

    /* Member tabs - better touch targets */
    .member-tabs .tab-btn { padding: 10px 14px; font-size: 13px; }

    /* Container */
    .container { padding: 0 14px; }

    /* Buttons - 更大触控区域 */
    .btn { padding: 12px 20px; font-size: 15px; min-height: 44px; }
    .btn-sm { padding: 8px 14px; font-size: 13px; min-height: 36px; }

    /* Cards */
    .card, .info-card { border-radius: 14px; padding: 18px 16px; }

    /* Form inputs */
    input, select, textarea { font-size: 16px; padding: 12px 14px; }

    /* Tables - 手机端优化 */
    th, td { padding: 10px 8px; font-size: 12px; }
    th:first-child, td:first-child { padding-left: 10px; }
    th:last-child, td:last-child { padding-right: 10px; }

    /* Section headings */
    h3 { font-size: 17px; }
    .page-title { font-size: 22px; }

    /* Tables - horizontal scroll */
    .data-table, .admin-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { font-size: 13px; }
    th, td { padding: 10px 12px; }

    /* Recharge */
    .recharge-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .recharge-card { padding: 18px 14px; min-height: 100px; }
    .recharge-amount { font-size: 22px; }
    .recharge-bonus { font-size: 12px; }
    .payment-methods { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .payment-method { padding: 14px 10px; }

    /* Referral stats - 2 columns on tablet */
    .referral-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .code-value { font-size: 22px; padding: 10px 24px; }

    /* Coupons */
    .coupon-grid { grid-template-columns: 1fr; gap: 14px; }
    .coupon-card { flex-direction: column; }
    .coupon-left { padding: 16px; min-width: 100%; flex-direction: row; justify-content: center; gap: 10px; }
    .coupon-right { padding: 16px; }

    /* Lottery */
    .wheel { width: 260px; height: 260px; }
    .lottery-wheel-container { max-width: 300px; padding: 20px; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Floating buttons */
    .floating-buttons { right: 12px; bottom: 12px; gap: 10px; }
    .float-btn { width: 54px; height: 54px; padding: 0; border-radius: 50%; justify-content: center; }
    .float-label { display: none; }
    .float-icon { font-size: 22px; }

    /* Footer */
    .footer { padding: 25px 15px; font-size: 12px; }

    /* Admin sidebar - tablet collapse */
    .admin-sidebar { width: 70px; padding: 0; flex-shrink: 0; }
    .admin-logo { padding: 18px 0; justify-content: center; margin-bottom: 8px; }
    .admin-logo span:not(.logo-icon) { display: none; }
    .admin-logo .logo-icon { width: 36px; height: 36px; font-size: 18px; }
    .admin-menu { padding: 0 6px; }
    .admin-menu li a { justify-content: center; padding: 12px 0; margin-bottom: 4px; }
    .admin-menu li a span:not(.menu-icon) { display: none; }
    .menu-icon { font-size: 18px; }
    .admin-sidebar .btn-outline { margin: 8px 6px 16px 6px; width: calc(100% - 12px); padding: 10px; font-size: 0; min-height: 40px; }
    .admin-sidebar .btn-outline::before { content: '🚪'; font-size: 18px; }
    .admin-main { padding: 18px 15px; }
    .admin-page h2 { font-size: 20px; margin-bottom: 18px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===== Admin Login ===== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
}
.login-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    width: 400px;
    max-width: 90%;
}

/* ===== Booking Page ===== */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
}
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0e0e5;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}
.step.active .step-num {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 165, 181, 0.4);
}
.step.completed .step-num {
    background: var(--primary-gold);
    color: white;
}
.step-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}
.step.active .step-label {
    color: var(--deep-rose);
    font-weight: 600;
}
.step-line {
    width: 60px;
    height: 3px;
    background: #f0e0e5;
    margin: 0 12px;
    margin-bottom: 24px;
    border-radius: 2px;
}
.booking-step-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.category-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #f0e0e5;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.category-tab:hover {
    border-color: var(--primary-rose);
}
.category-tab.active {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}
.service-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.service-select-card {
    border: 2px solid #f0e0e5;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}
.service-select-card:hover {
    border-color: var(--primary-rose);
    transform: translateY(-2px);
}
.service-select-card.selected {
    border-color: var(--deep-rose);
    background: var(--soft-pink);
}
.service-select-icon {
    font-size: 36px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background: var(--gradient-soft);
}
.service-select-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-select-name {
    font-weight: 600;
    margin-bottom: 6px;
}
.service-select-desc {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.service-select-price {
    color: var(--deep-rose);
    font-weight: 700;
}
.tech-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.tech-select-card {
    border: 2px solid #f0e0e5;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}
.tech-select-card:hover {
    border-color: var(--primary-rose);
    transform: translateY(-2px);
}
.tech-select-card.selected {
    border-color: var(--deep-rose);
    background: var(--soft-pink);
}
.tech-select-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
}
.tech-select-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.tech-select-title {
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 6px;
}
.tech-select-skills {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 6px;
}
.tech-select-rating {
    font-size: 13px;
    color: var(--primary-gold);
}
.date-selector {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
}
.date-card {
    min-width: 80px;
    padding: 16px 12px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    border: 2px solid #f0e0e5;
    cursor: pointer;
    background: white;
    transition: all 0.3s;
}
.date-card:hover {
    border-color: var(--primary-rose);
}
.date-card.selected {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}
.date-day {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}
.date-num {
    font-size: 22px;
    font-weight: 700;
}
.date-month {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}
.confirm-card {
    background: var(--soft-pink);
    border-radius: var(--border-radius-sm);
    padding: 24px;
}
.confirm-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #f0d0da;
}
.confirm-item:last-child {
    border-bottom: none;
}
.confirm-label {
    color: var(--text-gray);
}
.confirm-value {
    font-weight: 600;
}

/* ===== Member Center ===== */
.member-card {
    background: linear-gradient(135deg, #fdf2f6 0%, #fce8ef 50%, #fbe4ed 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    color: #3d2b36;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f5d5e0;
    box-shadow: 0 4px 20px rgba(201, 123, 140, 0.12);
}
.member-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(201, 123, 140, 0.06);
    border-radius: 50%;
}
.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(201, 123, 140, 0.25);
}
.member-info {
    position: relative;
    z-index: 1;
    flex: 1;
}
.member-info h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #3d2b36;
}
.member-level-badge {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.member-stats {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-size: 22px;
    font-weight: 700;
    color: #c97b8c;
}
.stat-label {
    font-size: 12px;
    color: #8a6d7a;
    margin-top: 2px;
}

/* Recharge */
.recharge-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.recharge-card {
    border: 2px solid #f0e0e5;
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
}
.recharge-card:hover {
    border-color: var(--primary-rose);
    transform: translateY(-2px);
}
.recharge-card.selected {
    border-color: var(--deep-rose);
    background: var(--soft-pink);
}
.recharge-card.recommended {
    border-color: var(--primary-gold);
}
.recommend-tag {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--primary-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 0 10px 0 10px;
    font-size: 11px;
    font-weight: 600;
}
.recharge-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-rose);
}
.recharge-bonus {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    margin-top: 4px;
}

/* Points */
.points-card {
    background: var(--gradient-main);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: white;
}
.points-num {
    font-size: 48px;
    font-weight: 700;
}
.points-label {
    font-size: 16px;
    opacity: 0.9;
}
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.exchange-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.exchange-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.exchange-name {
    font-weight: 600;
    margin-bottom: 6px;
}
.exchange-cost {
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Lottery */
.lottery-chances {
    font-size: 48px;
    font-weight: 700;
    color: var(--deep-rose);
}
.lottery-chances small {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 400;
    display: block;
}

/* Referral */
.referral-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.code-label {
    font-size: 14px;
    color: var(--text-gray);
}
.code-value {
    background: var(--gradient-soft);
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--deep-rose);
    font-family: monospace;
}
.ref-stat {
    text-align: center;
    padding: 20px;
    background: var(--soft-pink);
    border-radius: var(--border-radius-sm);
}
.ref-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-rose);
}
.ref-stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Account Settings Grid */
.account-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
}
.settings-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.settings-card-full {
    grid-column: 1 / -1;
}
.password-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.btn-full {
    width: 100%;
    margin-top: 8px;
}

/* Member tabs - more visible */
.member-tabs {
    background: white;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0e0e5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e8c5d0 transparent;
    flex-wrap: nowrap;
}
.member-tabs::-webkit-scrollbar { height: 4px; }
.member-tabs::-webkit-scrollbar-thumb { background: #e8c5d0; border-radius: 2px; }
.member-tabs .tab-btn {
    white-space: nowrap;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 14px;
}
.member-tabs .tab-btn.active {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 12px rgba(201, 123, 140, 0.3);
}

/* Hot badge */
.hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4d4f;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ===== Luxury Coupon Ticket Design ===== */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.coupon-card {
    position: relative;
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(201, 123, 140, 0.12);
    transition: all 0.3s ease;
    min-height: 130px;
}
.coupon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 123, 140, 0.2);
}
/* Left amount section - gradient */
.coupon-left {
    position: relative;
    width: 120px;
    min-width: 120px;
    background: linear-gradient(135deg, #f8b4c4 0%, #c97b8c 50%, #d4af37 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px 10px;
}
/* Ticket notches (semicircles) */
.coupon-left::before,
.coupon-left::after {
    content: '';
    position: absolute;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #fdf2f5;
    border-radius: 50%;
}
.coupon-left::before { top: -8px; }
.coupon-left::after { bottom: -8px; }
/* Dashed divider */
.coupon-left ~ .coupon-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 0;
    border-left: 2px dashed rgba(201, 123, 140, 0.3);
}
.coupon-amount {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.coupon-amount-free {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
}
.coupon-amount-free span {
    font-size: 14px;
    display: block;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}
.coupon-unit {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
}
/* Right info section */
.coupon-right {
    position: relative;
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.coupon-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}
.coupon-desc {
    font-size: 13px;
    color: var(--deep-rose);
    font-weight: 500;
    margin-bottom: 4px;
}
.coupon-expire {
    font-size: 11px;
    color: #999;
    margin-top: auto;
}
.coupon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #d4af37, #f5e6a3);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}
.coupon-card .btn {
    margin-top: 8px;
    align-self: flex-start;
}
/* Free coupon special style - gold gradient */
.coupon-card.free-coupon .coupon-left {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 50%, #f5e6a3 100%);
}
/* Used/expired coupon overlay */
.coupon-card.used {
    opacity: 0.5;
    pointer-events: none;
}
.coupon-card.used::after {
    content: 'USED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 28px;
    font-weight: 800;
    color: #ccc;
    border: 3px solid #ccc;
    padding: 4px 20px;
    border-radius: 8px;
    letter-spacing: 4px;
}

/* ===== Floating Action Buttons ===== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
}

.float-call {
    background: linear-gradient(135deg, #10b981, #059669);
}

.float-directions {
    background: linear-gradient(135deg, var(--primary-pink), var(--deep-rose));
}

.float-icon {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    .float-btn {
        padding: 12px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    .float-label {
        display: none;
    }
    .float-icon {
        font-size: 22px;
    }
}

/* ===== Gallery Styles ===== */
.gallery-filter {
    padding: 8px 20px;
    border: 2px solid var(--primary-pink);
    background: white;
    color: var(--deep-rose);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}
.gallery-filter:hover, .gallery-filter.active {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(232, 165, 181, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(135deg, #fdf2f5, #fff9e6);
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px 16px 16px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item .gallery-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}
.gallery-item .gallery-category {
    font-size: 12px;
    opacity: 0.8;
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary-pink);
}
.gallery-placeholder span {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gallery-lightbox.active {
    display: flex;
}
.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
}
.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== 手机端响应式优化 ===== */

/* 平板和手机 (768px以下) */
@media screen and (max-width: 768px) {
    /* 导航栏 */
    .navbar {
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    .logo {
        font-size: 18px;
        gap: 8px;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .nav-links {
        gap: 15px;
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid #f0e0e5;
        margin-top: 5px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .nav-actions {
        display: flex;
        gap: 8px;
    }
    .nav-actions .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 容器 */
    .container {
        padding: 15px;
    }

    /* Hero区域 */
    .hero {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* 卡片网格 */
    .services-grid, .features-grid, .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 统计卡片 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-card .stat-number {
        font-size: 24px;
    }

    /* 区域标题 */
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* 服务卡片 */
    .service-card {
        padding: 15px;
    }
    .service-card .service-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .service-card .service-price {
        font-size: 18px;
    }

    /* 技师卡片 */
    .tech-card {
        padding: 15px;
    }
    .tech-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    /* 预约步骤 */
    .booking-steps {
        margin-bottom: 25px;
    }
    .step-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .step-label {
        font-size: 11px;
    }
    .step-line {
        width: 30px;
        margin: 0 6px;
        margin-bottom: 20px;
    }

    /* 预约卡片 */
    .booking-card {
        padding: 20px 15px;
    }
    .service-select-grid {
        grid-template-columns: 1fr;
    }
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .time-slot {
        padding: 8px 5px;
        font-size: 13px;
    }

    /* 价格汇总 */
    .price-summary {
        padding: 15px;
    }
    .price-row {
        font-size: 14px;
    }

    /* 表单 */
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        padding: 10px 14px;
        font-size: 15px;
    }

    /* 按钮 */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    /* 会员中心 */
    .user-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .user-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
    }
    .user-stats .stat-value {
        font-size: 18px;
    }
    .user-tabs {
        gap: 5px;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    .user-tab {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* 抽奖转盘 */
    .lottery-wheel-container {
        max-width: 280px;
    }
    .wheel {
        width: 260px;
        height: 260px;
    }
    .wheel-center {
        width: 70px;
        height: 70px;
        font-size: 14px;
    }
    .wheel-pointer {
        width: 25px;
        height: 35px;
        top: -12px;
        border-left-width: 12px;
        border-right-width: 12px;
        border-bottom-width: 25px;
    }

    /* 优惠券 */
    .coupon-card {
        flex-direction: column;
    }
    .coupon-left {
        width: 100%;
        padding: 15px;
        border-radius: 12px 12px 0 0;
    }
    .coupon-right {
        padding: 15px;
    }
    .coupon-amount {
        font-size: 32px;
    }
    .coupon-card::before, .coupon-card::after {
        display: none;
    }

    /* 海报画布 */
    #posterCanvas {
        max-width: 100%;
        height: auto;
    }

    /* 联系我们区域 */
    .contact-section {
        padding: 30px 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 页脚 */
    .footer {
        padding: 20px 15px;
        font-size: 12px;
    }

    /* 弹窗 */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }
    .modal-content h2 {
        font-size: 20px;
    }

    /* 管理后台 - 手机端 */
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        min-height: auto;
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 100;
        background: linear-gradient(180deg, #2d1f26 0%, #4a2f3a 100%);
    }
    .admin-logo {
        padding: 14px 16px;
        margin-bottom: 0;
        font-size: 16px;
    }
    .admin-logo .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 8px;
    }
    .admin-menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding: 8px 12px 12px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .admin-menu::-webkit-scrollbar { display: none; }
    .admin-menu li {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .admin-menu li a {
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
        white-space: nowrap;
        min-height: 40px;
    }
    .menu-icon {
        font-size: 16px;
    }
    .admin-sidebar .btn-outline {
        display: none;
    }
    .mobile-logout-item {
        display: block !important;
    }
    .mobile-logout-item a {
        color: #fca5a5 !important;
        background: rgba(239, 68, 68, 0.15) !important;
    }
    .mobile-logout-item a:hover {
        background: rgba(239, 68, 68, 0.3) !important;
    }
    .admin-main {
        padding: 15px 12px;
    }
    .admin-page h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* 管理后台表格 */
    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .admin-table th, .admin-table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* 管理后台表单 */
    .admin-form {
        padding: 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    /* 充值卡片 */
    .recharge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .recharge-card {
        padding: 15px 10px;
    }
    .recharge-amount {
        font-size: 22px;
    }
    .recharge-bonus {
        font-size: 12px;
    }

    /* 积分兑换 */
    .exchange-grid {
        grid-template-columns: 1fr;
    }

    /* 推荐码区域 */
    .referral-box {
        padding: 20px 15px;
    }
    .referral-code {
        font-size: 24px;
        letter-spacing: 3px;
    }

    /* Toast提示 */
    .toast {
        left: 15px;
        right: 15px;
        bottom: 20px;
        font-size: 14px;
        padding: 12px 20px;
    }

    /* Pending approval cards - stack vertically on mobile */
    #pendingApprovalsList > div {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left;
    }
    #pendingApprovalsList > div > div:last-child {
        display: flex !important;
        gap: 8px;
        width: 100%;
    }
    #pendingApprovalsList .btn {
        flex: 1;
        padding: 10px;
        font-size: 14px;
    }

    /* Dashboard pending alert - stack on mobile */
    #dashboardPendingAlert {
        flex-direction: column !important;
        text-align: center;
        gap: 8px !important;
    }

    /* Store edit form image upload on mobile */
    .store-image-preview {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Store cards grid on mobile */
    .store-card {
        margin-bottom: 12px;
    }

    /* Store edit form - stack grids on mobile */
    .store-edit-form [style*="grid-template-columns:1fr 1fr"],
    .store-edit-form [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .store-edit-form [style*="grid-template-columns:1fr 1fr 3fr"],
    .store-edit-form [style*="grid-template-columns: 1fr 1fr 3fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Store list - single column on mobile */
    #storesList {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Store card image on mobile */
    #storesList > div img {
        height: 120px !important;
    }

    /* POS Checkout - stack on mobile */
    .pos-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    #posServiceGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    #posServiceGrid button {
        padding: 14px 10px !important;
        min-height: 80px !important;
        font-size: 15px !important;
    }
    /* Cart sticky not needed on mobile */
    .pos-layout-grid > div:last-child > div {
        position: static !important;
    }
    /* Payment methods grid on mobile */
    #page-pos [style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* 小屏手机 (480px以下) */
@media screen and (max-width: 480px) {
    .navbar { padding: 10px 12px; }
    .logo { font-size: 16px; }
    .container { padding: 12px; }
    .hero { padding: 28px 18px; border-radius: 16px; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 13px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 14px 10px; }
    .stat-number, .stat-value { font-size: 20px; }
    .stat-label { font-size: 11px; }
    .section-title { font-size: 18px; }
    .time-slots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .time-slot { padding: 8px 4px; font-size: 12px; min-height: 38px; }
    .recharge-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .recharge-card { padding: 14px 10px; min-height: 90px; }
    .recharge-amount { font-size: 20px; }
    .wheel { width: 230px; height: 230px; }
    .lottery-wheel-container { max-width: 260px; padding: 15px; }
    .user-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .user-stats .stat-value { font-size: 15px; }
    .user-stats .stat-label { font-size: 10px; }
    .btn { padding: 11px 16px; font-size: 14px; min-height: 44px; }
    .modal { padding: 16px 14px 0; }
    .modal-action-bar { margin: 0 -14px; padding: 10px 14px 12px; }
    .modal .form-group { margin-bottom: 8px; }
    .modal .form-input, .modal .form-select { min-height: 38px; padding: 8px 10px; }
    .quick-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
    .quick-card { padding: 14px 10px; }
    .tab-btn { padding: 9px 12px; font-size: 12px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .floating-buttons { right: 10px; bottom: 10px; }
    .float-btn { width: 50px; height: 50px; }
    .float-icon { font-size: 20px; }
    .admin-main { padding: 15px 12px; }
    .admin-page h2 { font-size: 18px; }
    .payment-methods { grid-template-columns: 1fr 1fr; gap: 8px; }
    .payment-method { padding: 12px 8px; }
    .pm-icon { font-size: 20px; }
    .pm-name { font-size: 12px; }

    /* User center mobile optimizations */
    .member-card { padding: 20px 16px; gap: 12px; }
    .member-stats { gap: 15px; }
    .stat-num { font-size: 18px; }
    .referral-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ref-stat { padding: 14px 10px; }
    .ref-stat-num { font-size: 22px; }
    .code-value { font-size: 20px; padding: 10px 20px; letter-spacing: 3px; }
    #referredByCard { padding: 12px 16px; }
}

/* ========================================
   THEME 1: MODERN (极简现代风 - 黑白灰简约)
   ======================================== */
body.theme-modern {
    --primary-pink: #2563eb;
    --primary-rose: #1d4ed8;
    --primary-gold: #475569;
    --light-gold: #e2e8f0;
    --soft-pink: #f8fafc;
    --deep-rose: #1e40af;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --white: #ffffff;
    --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 8px 24px rgba(37, 99, 235, 0.12);
    --gradient-main: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-soft: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --border-radius: 10px;
    --border-radius-sm: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8fafc;
}

body.theme-modern .navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
}

body.theme-modern .logo {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

body.theme-modern .logo-icon {
    background: #0f172a;
    border-radius: 10px;
}

body.theme-modern .nav-links a {
    font-weight: 500;
    color: #475569;
}

body.theme-modern .nav-links a.active,
body.theme-modern .nav-links a:hover {
    color: #2563eb;
}

body.theme-modern .btn-primary {
    background: #0f172a;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

body.theme-modern .btn-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.theme-modern .btn-outline {
    border: 2px solid #e2e8f0;
    color: #475569;
    border-radius: 8px;
    font-weight: 600;
}

body.theme-modern .btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: transparent;
}

body.theme-modern .hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

body.theme-modern .hero-section h1 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -1px;
}

body.theme-modern .service-card,
body.theme-modern .feature-card,
body.theme-modern .tech-card,
body.theme-modern .level-card,
body.theme-modern .stat-card {
    border: 1px solid #e2e8f0;
    box-shadow: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

body.theme-modern .service-card:hover,
body.theme-modern .feature-card:hover,
body.theme-modern .tech-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

body.theme-modern .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

body.theme-modern .gallery-item img {
    transition: transform 0.3s ease;
}

body.theme-modern .gallery-item:hover img {
    transform: scale(1.05);
}

body.theme-modern .section-title::before {
    background: #2563eb;
    width: 4px;
    border-radius: 2px;
}

body.theme-modern .modal,
body.theme-modern .admin-sidebar,
body.theme-modern .data-table {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

body.theme-modern .form-input,
body.theme-modern .form-select,
body.theme-modern .form-textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

body.theme-modern .form-input:focus,
body.theme-modern .form-select:focus,
body.theme-modern .form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.theme-modern .status-tag {
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   THEME 2: VINTAGE (复古风 - 暖棕怀旧)
   ======================================== */
body.theme-vintage {
    --primary-pink: #b8860b;
    --primary-rose: #8b4513;
    --primary-gold: #daa520;
    --light-gold: #f5deb3;
    --soft-pink: #fdf8f0;
    --deep-rose: #7a3b10;
    --text-dark: #2d1b0a;
    --text-gray: #5c4328;
    --white: #fffef9;
    --shadow-soft: 0 6px 24px rgba(139, 69, 19, 0.12);
    --shadow-hover: 0 10px 32px rgba(139, 69, 19, 0.18);
    --gradient-main: linear-gradient(135deg, #b8860b 0%, #8b4513 100%);
    --gradient-soft: linear-gradient(135deg, #fdf8f0 0%, #f5e6d3 100%);
    --border-radius: 4px;
    --border-radius-sm: 2px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #fdf8f0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

body.theme-vintage .navbar {
    background: #3d2914;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 3px double #daa520;
}

body.theme-vintage .logo {
    background: linear-gradient(135deg, #daa520 0%, #f5deb3 100%);
    -webkit-background-clip: text;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
}

body.theme-vintage .logo-icon {
    background: linear-gradient(135deg, #b8860b 0%, #8b4513 100%);
    border-radius: 50%;
    border: 2px solid #daa520;
}

body.theme-vintage .nav-links a {
    color: #f5deb3;
    font-family: Georgia, serif;
    font-style: italic;
    text-transform: capitalize;
    letter-spacing: 1px;
}

body.theme-vintage .nav-links a.active,
body.theme-vintage .nav-links a:hover {
    color: #daa520;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.theme-vintage .btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, #8b4513 100%);
    border: 2px solid #daa520;
    border-radius: 0;
    font-family: Georgia, serif;
    font-style: italic;
    text-transform: capitalize;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 #5c3317;
}

body.theme-vintage .btn-primary:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #5c3317;
}

body.theme-vintage .btn-outline {
    border: 2px solid #8b4513;
    color: #8b4513;
    border-radius: 0;
    font-family: Georgia, serif;
    font-style: italic;
    background: transparent;
}

body.theme-vintage .btn-outline:hover {
    background: #8b4513;
    color: #f5deb3;
}

body.theme-vintage .hero-section {
    background: linear-gradient(135deg, #f5e6d3 0%, #fdf8f0 100%);
    border: 8px double #daa520;
    border-radius: 0;
    padding: 50px;
}

body.theme-vintage .hero-section h1 {
    color: #3d2914;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(218, 165, 32, 0.2);
}

body.theme-vintage .service-card,
body.theme-vintage .feature-card,
body.theme-vintage .tech-card,
body.theme-vintage .level-card,
body.theme-vintage .stat-card {
    border: 1px solid #d4a574;
    box-shadow: 4px 4px 0 rgba(139, 69, 19, 0.1);
    border-radius: 0;
    background: #fffef9;
}

body.theme-vintage .service-card:hover,
body.theme-vintage .feature-card:hover,
body.theme-vintage .tech-card:hover {
    box-shadow: 6px 6px 0 rgba(139, 69, 19, 0.15);
    transform: translate(-2px, -2px);
}

body.theme-vintage .gallery-item {
    border: 4px solid #fff;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

body.theme-vintage .section-title {
    font-family: Georgia, serif;
    font-style: italic;
    color: #3d2914;
    border-bottom: 2px double #daa520;
    padding-bottom: 10px;
}

body.theme-vintage .section-title::before {
    display: none;
}

body.theme-vintage .modal {
    border: 4px double #daa520;
    border-radius: 0;
    background: #fdf8f0;
}

body.theme-vintage .admin-sidebar {
    background: #3d2914;
    border-right: 3px double #daa520;
}

body.theme-vintage .admin-sidebar .sidebar-menu li a {
    color: #f5deb3;
    font-family: Georgia, serif;
    font-style: italic;
}

body.theme-vintage .admin-sidebar .sidebar-menu li a:hover,
body.theme-vintage .admin-sidebar .sidebar-menu li a.active {
    background: rgba(218, 165, 32, 0.2);
    color: #daa520;
}

body.theme-vintage .data-table {
    border: 1px solid #d4a574;
    border-radius: 0;
}

body.theme-vintage .data-table th {
    background: #8b4513;
    color: #f5deb3;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: normal;
}

body.theme-vintage .form-input,
body.theme-vintage .form-select,
body.theme-vintage .form-textarea {
    border: 1px solid #d4a574;
    border-radius: 0;
    background: #fffef9;
    font-family: Georgia, serif;
}

body.theme-vintage .form-input:focus,
body.theme-vintage .form-select:focus,
body.theme-vintage .form-textarea:focus {
    border-color: #8b4513;
    box-shadow: none;
    outline: 2px solid #daa520;
}

body.theme-vintage .status-tag {
    border-radius: 0;
    font-family: Georgia, serif;
    font-style: italic;
    border: 1px solid;
}

body.theme-vintage .coupon-ticket {
    border: 2px dashed #8b4513;
    background: linear-gradient(135deg, #fdf8f0 0%, #f5e6d3 100%);
    border-radius: 0;
}

body.theme-vintage .coupon-ticket::before,
body.theme-vintage .coupon-ticket::after {
    background: #3d2914;
}

/* ===== Home Hero Slideshow with Ken Burns Effect ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(248, 180, 196, 0.3);
    background: linear-gradient(135deg, #f8b4c4, #d4af37);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    animation: kenburns 6s ease-out forwards;
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -2%); }
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
}

.slide-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slide-category {
    font-size: 14px;
    opacity: 0.9;
    text-transform: capitalize;
}

.slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.slide-dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

.slideshow-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 18px;
    text-align: center;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 280px;
        border-radius: 16px;
    }
    .slide-title {
        font-size: 18px;
    }
    .slide-overlay {
        padding: 20px;
    }
}

/* About section mobile */
@media (max-width: 768px) {
    .about-section {
        min-height: auto !important;
    }
    .about-section > div:last-child {
        padding: 30px 24px !important;
    }
    .about-section h2 {
        font-size: 28px !important;
    }
    .about-section p {
        font-size: 15px !important;
    }
}

/* Site Logo */
.site-logo-img {
    height: 42px;
    width: auto;
    background: white;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: block;
}

.admin-logo .admin-logo-img {
    height: 36px;
    width: auto;
    background: white;
    border-radius: 6px;
    padding: 3px 6px;
    display: block;
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 34px;
        padding: 3px 6px;
    }
    .logo span {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .site-logo-img {
        height: 30px;
        padding: 2px 5px;
    }
    .logo span {
        font-size: 16px !important;
    }
}

/* ========================================
   QQ NAILS MINIMAL THEME - qq
   Inspired by qqnailspa.com - editorial minimal style
   ======================================== */
body.theme-qq {
    --primary-pink: #b8956a;
    --primary-rose: #8b7355;
    --primary-gold: #c9a87c;
    --deep-rose: #3d2b1f;
    --text-dark: #2c1810;
    --text-gray: #6b5344;
    --soft-pink: #faf8f5;
    --bg-cream: #f5f0e8;
    --accent-orange: #d4845a;
    --font-main: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    background: var(--soft-pink);
    color: var(--text-dark);
    font-family: var(--font-main);
    letter-spacing: 0.02em;
}

body.theme-qq .navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139,115,85,0.15);
    padding: 20px 0;
    box-shadow: none;
}

body.theme-qq .logo span {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: var(--text-dark);
    color: var(--text-dark);
}

body.theme-qq .nav-links a {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gray);
    padding: 6px 0;
    background: none;
    -webkit-text-fill-color: var(--text-gray);
}

body.theme-qq .nav-links a:hover,
body.theme-qq .nav-links a.active {
    color: var(--text-dark);
    background: none;
    -webkit-text-fill-color: var(--text-dark);
}

body.theme-qq .btn {
    font-family: var(--font-main);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 999px;
    padding: 14px 36px;
    transition: all 0.3s;
}

body.theme-qq .btn-primary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    box-shadow: none;
}

body.theme-qq .btn-primary:hover {
    background: var(--text-dark);
    color: white;
    transform: none;
    box-shadow: none;
}

body.theme-qq .btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    box-shadow: none;
}

body.theme-qq .btn-outline:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

body.theme-qq .hero {
    position: relative;
    border-radius: 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    margin: 0 -40px;
    overflow: hidden;
}

body.theme-qq .hero::before {
    content: '';
    position: absolute;
    top: -5%; left: -5%; right: -5%; bottom: -5%;
    background-image: url('../images/qq-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    animation: qqHeroKenBurns 25s ease-in-out infinite alternate;
    z-index: 0;
}

body.theme-qq .hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(250,248,245,0.15) 0%, rgba(250,248,245,0.25) 50%, rgba(250,248,245,0.4) 100%);
    z-index: 1;
}

@keyframes qqHeroKenBurns {
    0% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(-1%, 0.5%); }
    66% { transform: scale(1.08) translate(0.5%, -1%); }
    100% { transform: scale(1.03) translate(0, 0); }
}

body.theme-qq .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(250,248,245,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 4px;
    border: 1px solid rgba(139,115,85,0.15);
}

body.theme-qq .hero-content h1 {
    font-family: var(--font-main);
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

body.theme-qq .hero-content p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

body.theme-qq .section-title h2 {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 42px;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    text-transform: none;
}

body.theme-qq .section-title a {
    color: var(--text-gray);
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.theme-qq .quick-actions {
    gap: 0;
    margin: 60px 0;
}

body.theme-qq .quick-card {
    background: transparent;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(139,115,85,0.2);
    border-radius: 0;
    padding: 30px 20px;
    text-align: left;
}

body.theme-qq .quick-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(201,168,124,0.08);
}

body.theme-qq .quick-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

body.theme-qq .quick-card h4 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 22px;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

body.theme-qq .quick-card p {
    color: var(--text-gray);
    font-size: 15px;
}

body.theme-qq .service-card,
body.theme-qq .tech-card,
body.theme-qq .level-card {
    background: white;
    border: 1px solid rgba(139,115,85,0.12);
    border-radius: 4px;
    box-shadow: none;
    padding: 30px 24px;
    transition: all 0.3s;
}

body.theme-qq .service-card:hover,
body.theme-qq .tech-card:hover,
body.theme-qq .level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(139,115,85,0.1);
    border-color: rgba(139,115,85,0.25);
}

body.theme-qq .service-card h3,
body.theme-qq .tech-card h3,
body.theme-qq .level-card h4 {
    font-family: var(--font-main);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 22px;
}

body.theme-qq .service-card .price {
    color: var(--primary-rose);
    font-size: 20px;
    font-weight: 500;
}

body.theme-qq .service-icon,
body.theme-qq .tech-avatar,
body.theme-qq .level-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

body.theme-qq .modal {
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(44,24,16,0.2);
    font-family: var(--font-main);
}

body.theme-qq .modal-header h3 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 28px;
    color: var(--text-dark);
}

body.theme-qq .form-input {
    border: 1px solid rgba(139,115,85,0.25);
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 16px;
    background: white;
    color: var(--text-dark);
}

body.theme-qq .form-input:focus {
    border-color: var(--primary-rose);
    box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
    outline: none;
}

body.theme-qq .about-section {
    border-radius: 4px !important;
    margin: 60px 0 !important;
}

body.theme-qq .hero-slideshow {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(139,115,85,0.15);
}

body.theme-qq footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    font-family: var(--font-main);
    font-size: 15px;
    letter-spacing: 0.05em;
}

body.theme-qq .float-btn {
    background: var(--text-dark);
    box-shadow: 0 4px 20px rgba(44,24,16,0.25);
}

body.theme-qq .float-btn:hover {
    background: var(--primary-rose);
    transform: scale(1.05);
}

body.theme-qq .toast {
    background: var(--text-dark);
    color: white;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 16px;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 40px rgba(44,24,16,0.2);
}

/* Mobile adjustments for QQ theme */
@media (max-width: 768px) {
    body.theme-qq {
        font-size: 15px;
    }
    body.theme-qq .navbar {
        padding: 12px 0;
    }
    body.theme-qq .logo {
        font-size: 18px;
        gap: 8px;
    }
    body.theme-qq .logo img {
        height: 32px !important;
    }
    body.theme-qq .nav-links {
        gap: 4px;
    }
    body.theme-qq .nav-links a {
        font-size: 12px;
        letter-spacing: 0.08em;
        padding: 6px 10px;
    }
    body.theme-qq .btn {
        font-size: 11px;
        padding: 10px 18px;
        letter-spacing: 0.1em;
    }
    body.theme-qq .btn-sm {
        padding: 8px 14px;
        font-size: 10px;
    }
    body.theme-qq .hero {
        min-height: 55vh;
        padding: 60px 20px;
        margin: 0 -16px;
    }
    body.theme-qq .hero-content h1 {
        font-size: 38px;
        line-height: 1.15;
    }
    body.theme-qq .hero-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    body.theme-qq .section-title h2 {
        font-size: 28px;
    }
    body.theme-qq .section-title {
        margin-bottom: 30px;
    }
    body.theme-qq .quick-actions {
        margin: 40px 0;
    }
    body.theme-qq .quick-card {
        padding: 24px 16px;
    }
    body.theme-qq .quick-card h4 {
        font-size: 18px;
    }
    body.theme-qq .quick-card p {
        font-size: 14px;
    }
    body.theme-qq .service-card,
    body.theme-qq .tech-card,
    body.theme-qq .level-card {
        padding: 24px 18px;
        margin-bottom: 12px;
    }
    body.theme-qq .service-card h3,
    body.theme-qq .tech-card h3,
    body.theme-qq .level-card h4 {
        font-size: 19px;
    }
    body.theme-qq .service-card .price {
        font-size: 18px;
    }
    body.theme-qq .about-section {
        margin: 40px 0 !important;
        padding: 40px 24px !important;
    }
    body.theme-qq .about-section h2 {
        font-size: 32px !important;
    }
    body.theme-qq .about-section p {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
    body.theme-qq .modal {
        width: calc(100% - 32px);
        margin: 16px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }
    body.theme-qq .modal-header h3 {
        font-size: 24px;
    }
    body.theme-qq .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }
    body.theme-qq .container {
        padding: 0 16px;
    }
    body.theme-qq footer {
        padding: 30px 0;
        font-size: 14px;
    }
    body.theme-qq .announcement-bar {
        font-size: 12px;
        padding: 8px 12px;
        line-height: 1.5;
    }
}

/* Tablet adjustments for QQ theme */
@media (min-width: 769px) and (max-width: 1024px) {
    body.theme-qq .hero-content h1 {
        font-size: 56px;
    }
    body.theme-qq .hero {
        min-height: 65vh;
    }
    body.theme-qq .section-title h2 {
        font-size: 36px;
    }
}

/* Desktop refinements for QQ theme */
@media (min-width: 1025px) {
    body.theme-qq .container {
        max-width: 1200px;
    }
    body.theme-qq .hero-content {
        max-width: 680px;
    }
    body.theme-qq .hero-content h1 {
        font-size: 76px;
        letter-spacing: -0.01em;
    }
    body.theme-qq .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    body.theme-qq .quick-card {
        padding: 40px 30px;
    }
    body.theme-qq .services-grid {
        gap: 24px;
    }
    body.theme-qq .service-card {
        padding: 36px 28px;
    }
}

/* ============================================
   New Customer Welcome Popup
   ============================================ */
.welcome-popup .modal {
    max-width: 480px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: welcomePopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes welcomePopIn {
    from { opacity: 0; transform: scale(0.8) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.welcome-popup-content {
    padding: 40px 36px 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,249,245,0.97) 0%, rgba(255,255,255,0.97) 100%),
                url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.welcome-popup-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #e8b4b8, #d4a574, #e8b4b8);
}

.welcome-popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574, #c9956c);
    color: white;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.welcome-popup-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    color: #8b5a5a;
    margin: 0 0 8px;
    line-height: 1;
    background: linear-gradient(135deg, #c9956c, #8b5a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-popup-subtitle {
    font-size: 18px;
    color: #888;
    margin-bottom: 24px;
    font-style: italic;
}

.welcome-popup-details {
    text-align: left;
    background: #faf5f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.welcome-popup-details p {
    margin: 0 0 12px;
    color: #555;
    font-size: 15px;
}

.welcome-popup-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.welcome-popup-details li {
    padding: 6px 0;
    color: #444;
    font-size: 15px;
}

.welcome-popup-terms {
    font-size: 11px !important;
    color: #aaa !important;
    line-height: 1.5;
    margin: 12px 0 0 !important;
}

.welcome-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.welcome-popup-actions .btn-lg {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 600;
}

.welcome-popup-later {
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.welcome-popup-later:hover {
    color: #666;
}

/* QQ theme welcome popup */
body.theme-qq .welcome-popup .modal {
    border-radius: 4px;
}
body.theme-qq .welcome-popup-content {
    background: #faf8f5;
}
body.theme-qq .welcome-popup-content::before {
    background: linear-gradient(90deg, #b8956a, #8b7355, #b8956a);
}
body.theme-qq .welcome-popup-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    background: linear-gradient(135deg, #8b7355, #3d2b1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.theme-qq .welcome-popup-badge {
    background: linear-gradient(135deg, #b8956a, #8b7355);
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.2em;
}

/* Mobile welcome popup */
@media (max-width: 768px) {
    .welcome-popup-content {
        padding: 32px 24px 24px;
    }
    .welcome-popup-title {
        font-size: 40px;
    }
    .welcome-popup-subtitle {
        font-size: 16px;
    }
    .welcome-popup-details {
        padding: 16px 18px;
    }
}

/* ===== Water Drops Ripple Background (Welcome section) ===== */
.water-drops-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
}
.water-drops-bg .drop {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(248,180,196,0.08) 50%, transparent 70%);
    border: 1px solid rgba(255,255,255,0.12);
    animation: dropRipple linear infinite;
}
.drop-1 { width: 80px; height: 80px; left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.drop-2 { width: 120px; height: 120px; left: 25%; top: 60%; animation-duration: 12s; animation-delay: 1s; }
.drop-3 { width: 60px; height: 60px; left: 50%; top: 15%; animation-duration: 6s; animation-delay: 2s; }
.drop-4 { width: 150px; height: 150px; left: 70%; top: 45%; animation-duration: 14s; animation-delay: 0.5s; }
.drop-5 { width: 90px; height: 90px; left: 85%; top: 75%; animation-duration: 10s; animation-delay: 3s; }
.drop-6 { width: 70px; height: 70px; left: 40%; top: 80%; animation-duration: 9s; animation-delay: 1.5s; }
.drop-7 { width: 100px; height: 100px; left: 5%; top: 70%; animation-duration: 11s; animation-delay: 2.5s; }
.drop-8 { width: 110px; height: 110px; left: 60%; top: 25%; animation-duration: 13s; animation-delay: 0.8s; }

@keyframes dropRipple {
    0% {
        transform: scale(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(2.5) translateY(-30px);
        opacity: 0;
    }
}

/* Additional falling drop effect */
.water-drops-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    right: 0;
    height: 200%;
    background:
        radial-gradient(ellipse 2px 8px at 20% 20%, rgba(255,255,255,0.3), transparent),
        radial-gradient(ellipse 2px 6px at 40% 60%, rgba(255,255,255,0.2), transparent),
        radial-gradient(ellipse 3px 10px at 60% 30%, rgba(255,255,255,0.25), transparent),
        radial-gradient(ellipse 2px 7px at 80% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(ellipse 2px 5px at 15% 80%, rgba(255,255,255,0.15), transparent),
        radial-gradient(ellipse 3px 9px at 75% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(ellipse 2px 6px at 90% 50%, rgba(255,255,255,0.2), transparent);
    animation: fallingDrops 7s linear infinite;
}

@keyframes fallingDrops {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}
