/* ==========================================================================
   双色球研习录 - 统一专业样式表
   ========================================================================== */

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

:root {
    /* 品牌色 - 红色系 */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-darker: #991b1b;
    --primary-light: #fef2f2;
    --primary-lighter: #fee2e2;
    --primary-hover: #ef4444;

    /* 兼容旧变量名 */
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-darker: #991b1b;
    --primary-red-light: #fef2f2;
    --primary-red-lighter: #fee2e2;

    /* 辅助色 - 蓝色系 */
    --secondary: #2563eb;
    --secondary-dark: #1d4ed8;
    --secondary-light: #eff6ff;

    /* 兼容旧变量名 */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #eff6ff;

    /* 强调色 */
    --accent-gold: #f59e0b;
    --accent-gold-light: #fffbeb;
    --accent-green: #10b981;
    --accent-green-light: #ecfdf5;
    --accent-orange: #ea580c;
    --accent-orange-light: #fff7ed;

    /* 兼容旧变量名 */
    --gold: #f59e0b;
    --gold-light: #fffbeb;

    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* 兼容旧变量名 */
    --text-secondary: #4b5563;
    --text-primary: #111827;
    --primary-color: #dc2626;

    /* 阴影 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-red: 0 8px 24px rgba(220, 38, 38, 0.15);
    --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.15);

    /* 圆角 */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-2xl: 28px;
    --r-full: 9999px;

    /* 兼容旧变量名 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* 过渡 */
    --t-fast: 0.15s ease;
    --t-normal: 0.25s ease;
    --t-slow: 0.4s ease;

    /* 容器 */
    --container-max: 1200px;
    --container-padding: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================================================
   文章页
   ========================================================================== */
.article-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--gray-500);
    font-size: 14px;
}

.article-summary {
    background: var(--gray-50);
    border-radius: var(--r-md);
    padding: 15px;
    margin-bottom: 25px;
}

.article-summary-text {
    font-size: 14px;
    color: var(--gray-600);
}

.article-content {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.article-divider {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.article-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--r-sm);
    text-decoration: none;
    color: inherit;
    transition: all var(--t-fast);
}

.related-article-item:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.related-article-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #c0392b 100%);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.related-article-content {
    flex: 1;
}

.related-article-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-article-meta {
    font-size: 13px;
    color: var(--gray-500);
}

.text-left {
    text-align: left;
}

/* ==========================================================================
   推荐页面英雄区
   ========================================================================== */
.recommend-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.recommend-hero .card-header {
    color: white;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.recommend-hero .card-body {
    color: white;
}

.recommend-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.recommend-stats-grid > div {
    flex: 0 0 auto;
}

.recommend-stats-grid .stat-label {
    font-size: 14px;
    opacity: 0.8;
    color: white;
    display: block;
}

.recommend-stats-grid .stat-value-lg {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-top: 8px;
    display: block;
}

.recommend-hero-tip {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.9;
}

.recommend-hero-tip strong {
    color: white;
}

.recommend-stat-item {
    flex: 0 0 auto;
}

.recommend-section-title {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
}

.recommend-section-title.blue {
    color: var(--secondary);
}

.recommend-header-tip {
    font-size: 12px;
    color: var(--gray-500);
    margin-left: 15px;
    font-weight: normal;
}

/* ==========================================================================
   主内容区
   ========================================================================== */
.main-wrap {
    padding: 24px 20px;
    min-height: calc(100vh - 200px);
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* ==========================================================================
   头部导航
   ========================================================================== */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 20px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--t-fast);
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--t-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
    background: white;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--gray-100);
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    text-align: center;
}

/* ==========================================================================
   号码球
   ========================================================================== */
.number-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all var(--t-fast);
}

.number-ball:hover {
    transform: scale(1.1);
}

.number-ball.red {
    background: linear-gradient(135deg, #f87171 0%, var(--primary) 100%);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.number-ball.blue {
    background: linear-gradient(135deg, #60a5fa 0%, var(--secondary) 100%);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.number-ball.gray {
    background: linear-gradient(135deg, #9ca3af 0%, #4b5563 100%);
}

.number-ball.orange {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.number-ball.green {
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
}

.number-ball.purple {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
}

.number-ball.large {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin: 3px;
}

.number-ball.small {
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin: 1px;
}

.separator {
    color: var(--gray-400);
    font-weight: 600;
    margin: 0 4px;
}

/* ==========================================================================
   统计网格
   ========================================================================== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-item {
    background: white;
    padding: 18px 16px;
    border-radius: var(--r-lg);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--t-normal);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    line-height: 1.2;
    word-break: break-all;
}

.stat-value.stat-value-sm {
    font-size: 15px;
    color: var(--gray-500);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.stat-box {
    background: var(--gray-50);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    border: 1px solid var(--gray-100);
}

.stat-box-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-box-desc {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 10px;
    text-align: center;
}

/* ==========================================================================
   Hero区域
   ========================================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    align-items: stretch;
}

.latest-card {
    background: white;
    border-radius: var(--r-xl);
    padding: 24px 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.latest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--gray-200);
}

.latest-title h1 {
    font-size: 20px;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
}

.latest-period {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.latest-date {
    font-size: 13px;
    color: var(--gray-500);
    padding: 5px 10px;
    background: var(--gray-100);
    border-radius: var(--r-md);
}

.latest-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 14px 0;
}

.ball-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ball-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    margin-right: 4px;
}

.ball-separator {
    font-size: 20px;
    color: var(--gray-300);
    font-weight: 300;
    margin: 0 8px;
}

.latest-stats {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px dashed var(--gray-200);
    border-bottom: 1px dashed var(--gray-200);
}

.stat-item-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: var(--r-md);
    min-width: 60px;
}

.stat-label-inline {
    font-size: 11px;
    color: var(--gray-500);
}

.stat-value-inline {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 2px;
}

.latest-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

/* 右侧信息卡片 */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pool-card,
.next-draw-card {
    background: white;
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pool-title,
.next-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pool-amount {
    text-align: center;
    padding: 14px 0;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-gold-light) 100%);
    border-radius: var(--r-lg);
}

.pool-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.pool-unit {
    font-size: 14px;
    color: var(--gray-600);
    margin-left: 4px;
}

.pool-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pool-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 12px;
}

.pool-label {
    color: var(--gray-500);
}

.pool-data {
    color: var(--gray-800);
    font-weight: 600;
}

.next-draw-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.next-draw-card .next-title {
    color: white;
    margin-bottom: 18px;
}

.next-time {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}

.next-countdown {
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.next-tip {
    font-size: 12px;
    text-align: center;
    opacity: 0.9;
}

/* ==========================================================================
   快捷入口
   ========================================================================== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.section-subtitle {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: normal;
    margin-left: auto;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.quick-item {
    background: white;
    border-radius: var(--r-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--t-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.quick-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: inherit;
}

.quick-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.quick-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.quick-desc {
    font-size: 12px;
    color: var(--gray-500);
}

/* ==========================================================================
   表格
   ========================================================================== */
.table-ssq {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table-ssq thead th {
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    padding: 12px 10px;
    text-align: center;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.table-ssq tbody td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.table-ssq tbody tr:hover {
    background: var(--gray-50);
}

.td-period {
    font-weight: 600;
    color: var(--primary);
}

.td-date {
    color: var(--gray-500);
}

.td-numbers {
    white-space: nowrap;
}

.td-money {
    font-weight: 600;
    color: var(--accent-gold);
}

.td-prize {
    font-weight: 700;
}

/* ==========================================================================
   推荐卡片
   ========================================================================== */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.recommend-item {
    background: white;
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    border-top: 4px solid var(--primary);
    transition: all var(--t-normal);
    position: relative;
}

.recommend-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.recommend-top {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
}

.recommend-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-red);
}

.recommend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-top: 8px;
}

.recommend-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.recommend-tag {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-weight: 500;
}

.recommend-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--r-md);
    justify-content: center;
}

.recommend-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.5;
}

.recommend-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rec-stat {
    font-size: 11px;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 3px 8px;
    border-radius: var(--r-sm);
    font-weight: 500;
}

.copy-btn {
    width: 100%;
    margin-top: 8px;
}

/* ==========================================================================
   算法说明
   ========================================================================== */
.algorithm-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.algorithm-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: white;
    border-radius: var(--r-md);
    border: 1px solid var(--gray-100);
    transition: all var(--t-normal);
}

.algorithm-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.algorithm-highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    border: 2px solid var(--primary);
}

.algorithm-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--r-md);
}

.algorithm-info {
    flex: 1;
}

.algorithm-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.algorithm-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 10px;
}

.algorithm-features {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.algo-tag {
    font-size: 11px;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 3px 8px;
    border-radius: var(--r-sm);
}

/* ==========================================================================
   分布统计
   ========================================================================== */
.distribution-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.distribution-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dist-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 50px;
    text-align: right;
}

.dist-bar-wrap {
    flex: 1;
    height: 16px;
    background: var(--gray-100);
    border-radius: var(--r-full);
    overflow: hidden;
}

.dist-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--r-full);
    transition: width var(--t-slow);
}

.dist-count {
    font-size: 12px;
    color: var(--gray-500);
    min-width: 40px;
}

/* ==========================================================================
   012路分析
   ========================================================================== */
.road-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.road-item {
    background: white;
    border-radius: var(--r-md);
    padding: 14px;
    border: 1px solid var(--gray-100);
}

.road-label {
    font-size: 11px;
    font-weight: 600;
    color: white;
    padding: 3px 10px;
    border-radius: var(--r-full);
    display: inline-block;
    margin-bottom: 10px;
}

.road-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* ==========================================================================
   走势图
   ========================================================================== */
.chart-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.chart-box {
    background: white;
    border-radius: var(--r-lg);
    padding: 20px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.chart-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.chart-subtitle {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: normal;
    margin-left: auto;
}

.chart-content {
    height: 280px;
    position: relative;
}

/* ==========================================================================
   资讯
   ========================================================================== */
.news-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.draw-time-card-vertical {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--r-md);
}

.draw-time-label {
    font-size: 14px;
    opacity: 0.8;
}

.draw-time-main {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}

.draw-time-countdown {
    font-size: 18px;
    font-weight: 700;
    margin-top: 5px;
    font-variant-numeric: tabular-nums;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 12px;
    border-radius: var(--r-md);
    flex-shrink: 0;
    text-align: center;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    line-height: 1.5;
}

.news-summary {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 8px;
}

.news-category {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: var(--r-full);
}

/* ==========================================================================
   表单
   ========================================================================== */
.form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

.form-control {
    padding: 9px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    font-size: 14px;
    transition: all var(--t-fast);
    background: white;
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   评分排行
   ========================================================================== */
.score-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-bar-wrap {
    flex: 1;
    height: 20px;
    background: var(--gray-100);
    border-radius: var(--r-sm);
    overflow: hidden;
    position: relative;
}

.score-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--r-sm);
    transition: width 0.6s ease;
}

.score-bar.blue {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.score-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 36px;
    text-align: right;
}

.analysis-list {
    list-style: none;
    padding: 0;
}

.analysis-list li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 13px;
    border-bottom: 1px dashed var(--gray-200);
}

.analysis-list li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   分页
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    color: var(--gray-600);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--t-fast);
    background: white;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 40px 0 24px;
    margin-top: 60px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--t-fast);
}

.footer-nav a:hover {
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-warning {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--r-md);
    display: inline-block;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ==========================================================================
   SEO内容
   ========================================================================== */
.seo-content {
    background: white;
    border-radius: var(--r-lg);
    padding: 32px;
    margin-top: 24px;
    border: 1px solid var(--gray-100);
}

.article-content {
    line-height: 1.8;
    color: var(--gray-600);
}

.article-content h3 {
    color: var(--gray-800);
    margin: 24px 0 12px;
    font-size: 17px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 12px;
}

.article-content ul {
    padding-left: 24px;
    margin: 12px 0 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb {
    padding: 12px 0 0;
    margin-bottom: 16px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--t-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb li:last-child {
    color: var(--gray-800);
    font-weight: 500;
}

/* ==========================================================================
   工具类
   ========================================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--gray-500); }
.text-warning { color: var(--accent-gold); }
.text-success { color: var(--accent-green); }
.text-danger { color: var(--primary); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-bold { font-weight: 700; }
.text-semibold { font-weight: 600; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.ml-1 { margin-left: 8px; }
.ml-2 { margin-left: 16px; }
.ml-3 { margin-left: 24px; }
.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 16px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.section-divider {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.section-divider-light {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.callout-box {
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--r-md);
    border-left: 4px solid var(--primary);
    color: var(--gray-700);
}

.callout-box.blue {
    background: var(--secondary-light);
    border-left-color: var(--secondary);
}

.pagination-ellipsis {
    padding: 10px;
    color: var(--gray-400);
}

.total-count {
    font-size: 12px;
    color: var(--gray-500);
    margin-left: 15px;
    font-weight: normal;
}

.form-control-tiny {
    width: 100px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-form .form-control-period { width: 200px; }
.filter-form .form-control-date { width: 180px; }
.filter-form-actions { align-self: flex-end; }

.table-container {
    overflow-x: auto;
}

.text-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary);
    font-size: 13px;
    text-decoration: none;
}

.text-link:hover {
    color: var(--primary-dark);
}

.hot-cold-box-red {
    background: linear-gradient(135deg, rgba(217, 35, 46, 0.08), rgba(217, 35, 46, 0.02));
}

.hot-cold-box-blue {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(26, 115, 232, 0.02));
}

.hot-cold-box-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
}

.hot-cold-box-gray {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.08), rgba(107, 114, 128, 0.02));
}

.road-label-0 { background: #10b981; }
.road-label-1 { background: #f59e0b; }
.road-label-2 { background: #ef4444; }

.dist-bar-gold { background: var(--accent-gold) !important; }
.dist-bar-blue { background: var(--secondary) !important; }
.dist-bar-red { background: var(--primary) !important; }

.heat-cell {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    cursor: help;
}

.heat-cell.blue {
    width: 24px;
    height: 24px;
    font-size: 10px;
    background: var(--secondary);
}

.heat-cell-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.heat-cell-wrap.lg {
    gap: 6px;
}

.omit-label {
    font-size: 8px;
    display: block;
}

.hot-cold-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.number-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 8px 0;
}

.info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.info-strip-item {
    padding: 12px 24px;
    border-radius: var(--r-md);
}

.info-strip-item.red {
    background: var(--primary-light);
    border: 1px solid #fecaca;
}

.info-strip-item.blue {
    background: var(--secondary-light);
    border: 1px solid #bfdbfe;
}

.info-strip-item.gold {
    background: var(--accent-gold-light);
    border: 1px solid #fde68a;
}

.info-strip-label {
    color: var(--gray-500);
    font-size: 13px;
}

.info-strip-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.info-strip-value.red { color: var(--primary); }
.info-strip-value.blue { color: var(--secondary); }
.info-strip-value.gold { color: var(--accent-gold); }

.sitemap-section {
    margin-bottom: 24px;
}

.sitemap-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-200);
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--t-fast);
}

.sitemap-list a:hover {
    color: var(--primary);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* ==========================================================================
   Toast通知
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gray-900);
    color: white;
    padding: 14px 22px;
    border-radius: var(--r-md);
    font-size: 14px;
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--t-normal);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   玩法说明
   ========================================================================== */
.rule-section {
    margin-bottom: 32px;
}

.rule-section:last-child {
    margin-bottom: 0;
}

.rule-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.rule-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
}

.rule-content ul {
    padding-left: 20px;
    margin: 12px 0;
}

.rule-content li {
    margin-bottom: 8px;
}

.draw-time-card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.draw-time-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px;
    border-radius: var(--r-md);
    text-align: center;
    min-width: 200px;
}

.draw-time-highlight-title {
    font-size: 24px;
    font-weight: 700;
}

.draw-time-highlight-sub {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 8px;
}

.draw-time-highlight-time {
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
}

.prize-tier-1 {
    background: #fef3c7;
    color: #92400e;
}

.prize-tier-2 {
    background: #dbeafe;
    color: #1e40af;
}

.prize-tier-3 {
    background: #dcfce7;
    color: #166534;
}

.prize-tier-4 {
    background: #fce7f3;
    color: #9d174d;
}

.prize-tier-5 {
    background: #fef9c3;
    color: #854d0e;
}

.prize-tier-6 {
    background: #f3f4f6;
    color: #4b5563;
}

.prize-rule-callout {
    margin-top: 20px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--r-md);
    border-left: 4px solid var(--primary);
}

.table-scroll {
    overflow-x: auto;
}

.stat-box-padded {
    padding: 15px;
}

.contact-card {
    padding: 20px;
    border-radius: var(--r-md);
    text-align: center;
}

.contact-card.red {
    background: var(--primary-light);
}

.contact-card.blue {
    background: var(--secondary-light);
}

.contact-phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.contact-card.blue .contact-phone {
    color: var(--secondary);
}

.contact-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 5px;
}

.ball-guide {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.ball-guide-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.ball-guide-item p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.ball-group.red,
.ball-group.blue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--r-lg);
    margin-bottom: 12px;
}

.ball-group.red {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.ball-group.blue {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
}

.ball-guide-arrow {
    font-size: 24px;
    color: var(--gray-300);
    font-weight: 300;
}

.ball-group.red .ball-label,
.ball-group.blue .ball-label {
    color: white;
}

.ball-group.red .ball-range,
.ball-group.blue .ball-range {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: var(--r-full);
    font-weight: 600;
}

/* ==========================================================================
   链接列表
   ========================================================================== */
.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-200);
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--t-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-list a:hover {
    color: var(--primary);
}

.link-list a::before {
    content: '→';
    font-size: 12px;
    color: var(--primary);
}

/* ==========================================================================
   侧边栏近期开奖
   ========================================================================== */
.sidebar-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: var(--gray-50);
    border-radius: var(--r-md);
    transition: all var(--t-fast);
}

.sidebar-result-item:hover {
    background: var(--primary-light);
}

.result-period {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.result-numbers {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ==========================================================================
   动画
   ========================================================================== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes numberPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease;
}

.slide-in-right {
    animation: slideInRight 0.5s ease;
}

.number-pop {
    animation: numberPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   推荐页面增强样式
   ========================================================================== */
.recommend-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.recommend-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.recommend-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite reverse;
}

.recommend-stats-grid {
    position: relative;
    z-index: 1;
}

.recommend-stat-item {
    transition: transform var(--t-normal);
}

.recommend-stat-item:hover {
    transform: translateY(-3px);
}

.recommend-stat-item .stat-value-lg {
    position: relative;
}

.recommend-stat-item .stat-value-lg::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255,255,255,0.8);
    transition: width var(--t-normal);
}

.recommend-stat-item:hover .stat-value-lg::after {
    width: 100%;
}

.recommend-item {
    border-top-width: 4px;
    transition: all var(--t-normal);
}

.recommend-item:nth-child(1) { border-top-color: var(--primary); }
.recommend-item:nth-child(2) { border-top-color: #8b5cf6; }
.recommend-item:nth-child(3) { border-top-color: #06b6d4; }
.recommend-item:nth-child(4) { border-top-color: #f59e0b; }
.recommend-item:nth-child(5) { border-top-color: #10b981; }
.recommend-item:nth-child(6) { border-top-color: #ec4899; }
.recommend-item:nth-child(7) { border-top-color: #6366f1; }
.recommend-item:nth-child(8) { border-top-color: #84cc16; }
.recommend-item:nth-child(9) { border-top-color: #f97316; }
.recommend-item:nth-child(10) { border-top-color: #14b8a6; }
.recommend-item:nth-child(11) { border-top-color: #a855f7; }
.recommend-item:nth-child(12) { border-top-color: #0ea5e9; }
.recommend-item:nth-child(13) { border-top-color: #ef4444; }

.recommend-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.recommend-top {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(220,38,38,0.08) 0%, white 100%);
    position: relative;
}

.recommend-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220,38,38,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.recommend-badge {
    animation: pulse 2s infinite;
}

.recommend-numbers {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.recommend-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.recommend-numbers .number-ball {
    transition: all var(--t-fast);
}

.recommend-numbers .number-ball:hover {
    transform: scale(1.2);
    z-index: 10;
}

.recommend-stats .rec-stat {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all var(--t-fast);
}

.recommend-stats .rec-stat:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.copy-btn {
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--t-slow);
}

.copy-btn:hover::before {
    left: 100%;
}

.algorithm-item {
    position: relative;
    overflow: hidden;
}

.algorithm-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gray-200);
    transition: background var(--t-fast);
}

.algorithm-item:hover::before {
    background: var(--primary);
}

.algorithm-highlight::before {
    background: var(--primary);
}

.algorithm-icon {
    transition: transform var(--t-normal);
}

.algorithm-item:hover .algorithm-icon {
    transform: scale(1.1);
}

.score-bar {
    position: relative;
    overflow: hidden;
}

.score-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.score-bar.blue::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.algo-tag {
    transition: all var(--t-fast);
}

.algo-tag:hover {
    background: var(--primary);
    color: white;
}

.number-ball.red {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3), inset 0 -2px 4px rgba(0,0,0,0.1);
}

.number-ball.blue {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), inset 0 -2px 4px rgba(0,0,0,0.1);
}

.number-ball.red:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5), inset 0 -2px 4px rgba(0,0,0,0.1);
}

.number-ball.blue:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), inset 0 -2px 4px rgba(0,0,0,0.1);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-cold-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .chart-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { height: 56px; }
    .logo { font-size: 18px; }
    .nav-menu {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 12px;
        display: none;
        box-shadow: var(--shadow-xl);
    }
    .nav-menu.show { display: flex; }
    .nav-menu a { padding: 12px 16px; text-align: center; }
    .menu-toggle { display: block; }
    .header-right { display: none; }
    
    .container { padding: 0 16px; }
    
    .latest-card { padding: 20px; }
    .latest-title h1 { font-size: 18px; }
    .latest-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    
    .number-ball { width: 32px; height: 32px; font-size: 13px; }
    .number-ball.large { width: 42px; height: 42px; font-size: 16px; }
    .number-ball.small { width: 24px; height: 24px; font-size: 11px; }
    
    .latest-stats { gap: 8px; }
    .stat-item-inline { padding: 6px 10px; min-width: 60px; }
    
    .quick-grid { grid-template-columns: 1fr; }
    .hot-cold-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    .card-body { padding: 18px; }
    .card-header { padding: 14px 18px; font-size: 15px; }
    
    .table-ssq { font-size: 12px; }
    .table-ssq th, .table-ssq td { padding: 8px 4px; }
    .table-ssq .td-numbers .number-ball { width: 24px; height: 24px; font-size: 11px; }
    
    .footer { padding: 30px 0 20px; }
    
    .toast {
        right: 16px;
        left: 16px;
        bottom: 16px;
        text-align: center;
    }
    
    .ball-guide { flex-direction: column; }
    .ball-guide-arrow { transform: rotate(90deg); }
    
    .recommend-grid { grid-template-columns: 1fr; }
    
    .recommend-hero { padding: 20px; }
    .recommend-stats-grid { flex-direction: row; flex-wrap: wrap; gap: 16px; }
    .recommend-stat-item { flex: 0 0 calc(50% - 8px); text-align: center; }
    .recommend-stat-item .stat-label { font-size: 12px; }
    .recommend-stat-item .stat-value-lg { font-size: 20px; }
    .recommend-hero-tip { font-size: 13px; }
    
    .recommend-item { padding: 16px; margin-bottom: 12px; }
    .recommend-item .recommend-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    .recommend-item .recommend-name { font-size: 15px; }
    .recommend-item .recommend-desc { font-size: 13px; }
    .recommend-numbers { padding: 14px; }
    .recommend-numbers .number-ball { margin: 4px; }
    .recommend-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .rec-stat { padding: 8px; font-size: 12px; }
    
    .algorithm-item { padding: 14px; margin-bottom: 8px; }
    .algorithm-icon { font-size: 20px; }
    .algorithm-name { font-size: 15px; }
    .algorithm-desc { font-size: 13px; }
    .algorithm-features { flex-wrap: wrap; gap: 6px; }
    .algo-tag { font-size: 12px; padding: 4px 10px; }
}

@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr; }
    .pool-value { font-size: 26px; }
    .latest-title h1 { font-size: 16px; }
    
    .header-inner { height: 52px; }
    .logo { font-size: 16px; }
    .nav-menu a { padding: 10px 14px; font-size: 14px; }
    
    .container { padding: 0 12px; }
    
    .card { border-radius: var(--r-md); }
    .card-body { padding: 14px; }
    .card-header { padding: 12px 14px; font-size: 14px; }
    
    .number-ball { width: 28px; height: 28px; font-size: 12px; }
    .number-ball.large { width: 38px; height: 38px; font-size: 15px; }
    .number-ball.small { width: 22px; height: 22px; font-size: 10px; }
    
    .latest-card { padding: 16px; }
    .latest-title h1 { font-size: 15px; }
    
    .stat-item-inline { padding: 5px 8px; font-size: 12px; }
    
    .table-ssq { font-size: 11px; }
    .table-ssq th, .table-ssq td { padding: 6px 3px; }
    .table-ssq .td-numbers .number-ball { width: 22px; height: 22px; font-size: 10px; }
    
    .recommend-stats-grid { gap: 16px; }
    .recommend-stat-item { text-align: center; }
    .recommend-stat-item .stat-label { font-size: 12px; }
    .recommend-stat-item .stat-value-lg { font-size: 18px; }
    
    .recommend-hero-tip { font-size: 13px; }
    
    .recommend-item { padding: 14px; }
    .recommend-item .recommend-name { font-size: 14px; }
    .recommend-item .recommend-desc { font-size: 12px; }
    
    .algorithm-item { padding: 12px 14px; }
    .algorithm-icon { font-size: 18px; }
    .algorithm-name { font-size: 14px; }
    .algorithm-desc { font-size: 12px; }
    
    .algo-tag { font-size: 11px; padding: 3px 8px; }
    
    .copy-btn { padding: 8px 14px; font-size: 13px; }
    
    .footer { padding: 20px 0 15px; font-size: 12px; }
    
    .toast {
        right: 12px;
        left: 12px;
        bottom: 12px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .pagination { gap: 4px; }
    .pagination a, .pagination span { padding: 6px 10px; font-size: 13px; }
    
    .input-group input, .input-group select { padding: 8px 12px; font-size: 14px; }
    
    .btn { padding: 8px 16px; font-size: 14px; }
    .btn-sm { padding: 6px 12px; font-size: 12px; }
    .btn-lg { padding: 10px 24px; font-size: 16px; }
    
    .badge { padding: 2px 6px; font-size: 11px; }
    
    .section-title { font-size: 16px; }
    
    .form-group label { font-size: 13px; }
    .form-group input, .form-group textarea, .form-group select { font-size: 14px; }
}

@media (max-width: 360px) {
    .header-inner { height: 48px; }
    .logo { font-size: 15px; }
    
    .number-ball { width: 24px; height: 24px; font-size: 11px; }
    .number-ball.large { width: 34px; height: 34px; font-size: 14px; }
    
    .card-body { padding: 12px; }
    .card-header { padding: 10px 12px; font-size: 13px; }
    
    .recommend-stats-grid { gap: 12px; }
    .recommend-stat-item .stat-value-lg { font-size: 16px; }
    
    .recommend-item { padding: 12px; }
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--gray-100);
        box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
        padding: 8px 0;
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        color: var(--gray-500);
        text-decoration: none;
        transition: all var(--t-fast);
        min-width: 60px;
    }
    
    .mobile-nav a:hover,
    .mobile-nav a:active {
        color: var(--primary);
    }
    
    .mobile-nav a.active {
        color: var(--primary);
    }
    
    .mobile-nav a.active .mobile-nav-icon {
        transform: scale(1.1);
    }
    
    .mobile-nav-icon {
        font-size: 20px;
        margin-bottom: 4px;
        transition: transform var(--t-fast);
    }
    
    .mobile-nav-text {
        font-size: 11px;
        font-weight: 500;
    }
    
    .main-wrap {
        padding-bottom: 70px;
    }
    
    .footer {
        padding-bottom: 80px;
    }
}

@media (hover: none) {
    .btn:active,
    .copy-btn:active,
    .number-ball:active,
    .recommend-item:active,
    .algorithm-item:active {
        transform: scale(0.97);
        opacity: 0.85;
    }
    
    .nav-menu a:active {
        background: rgba(255,255,255,0.1);
    }
}

@media (max-width: 768px) {
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }
    
    .copy-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .table-ssq {
        overflow-x: auto;
        display: block;
        -webkit-overflow-scrolling: touch;
    }
    
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }
    
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-text-size-adjust: 100%;
    }
    
    .card {
        -webkit-box-shadow: var(--shadow-sm);
        box-shadow: var(--shadow-sm);
    }
    
    .number-ball {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .recommend-item {
        touch-action: manipulation;
    }
    
    .algorithm-item {
        touch-action: manipulation;
    }
    
    .recommend-hero {
        -webkit-box-shadow: var(--shadow-lg);
        box-shadow: var(--shadow-lg);
    }
}

/* ==========================================================================
   新增样式 - 风险提示、联系方式、关于页面等
   ========================================================================== */

.risk-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: var(--r-lg);
    padding: 16px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.risk-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.risk-text {
    color: #92400e;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.risk-text strong {
    color: #78350f;
}

.risk-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    margin-left: 8px;
}

.risk-link:hover {
    color: var(--primary-dark);
}

.contact-card {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.contact-icon {
    font-size: 18px;
}

.contact-label {
    color: var(--gray-500);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.risk-notice-section {
    margin: 30px 0;
}

.risk-notice-box {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-gold);
}

.risk-notice-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.risk-notice-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.risk-notice-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--r-lg);
}

.risk-notice-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.risk-notice-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.risk-notice-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.risk-notice-footer {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.page-section {
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.page-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.disclaimer-content {
    line-height: 1.8;
    color: var(--gray-700);
}

.disclaimer-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 28px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-lighter);
}

.disclaimer-content h2:first-of-type {
    margin-top: 20px;
}

.disclaimer-content p {
    margin-bottom: 12px;
    font-size: 15px;
}

.disclaimer-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.disclaimer-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

.disclaimer-content a {
    color: var(--primary);
    text-decoration: none;
}

.disclaimer-content a:hover {
    text-decoration: underline;
}

.disclaimer-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.disclaimer-warning p {
    color: #991b1b;
    font-weight: 500;
    margin: 0;
}

.tips-box {
    background: var(--primary-light);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin: 16px 0;
}

.tips-box p {
    margin-bottom: 10px;
    color: var(--primary-darker);
    font-weight: 500;
}

.tips-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    text-align: right;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--r-lg);
}

.contact-method-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-method-content p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.contact-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-wechat {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-green);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--r-md);
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.work-time {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-time-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--gray-50);
    border-radius: var(--r-md);
}

.work-day {
    font-weight: 500;
    color: var(--gray-700);
}

.work-hour {
    color: var(--primary);
    font-weight: 600;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--r-xl);
    padding: 40px;
    color: #fff;
    margin-bottom: 30px;
}

.about-hero-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-hero-content p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.features-section {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.philosophy-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.philosophy-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.declaration-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.declaration-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--r-lg);
}

.declaration-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.declaration-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.declaration-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.declaration-item a {
    color: var(--primary);
    text-decoration: none;
}

.declaration-item a:hover {
    text-decoration: underline;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.contact-row-icon {
    font-size: 18px;
}

.contact-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-row a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--gray-500);
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 16px 0;
    font-size: 14px;
    color: var(--gray-400);
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-warning-box {
    background: rgba(251, 191, 36, 0.1);
    border-radius: var(--r-md);
    padding: 16px 20px;
    margin: 16px 0;
}

.footer-warning-box .footer-warning {
    text-align: left;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .risk-notice-content {
        grid-template-columns: 1fr;
    }
    
    .risk-notice-box {
        padding: 20px;
    }
    
    .risk-notice-footer {
        flex-direction: column;
    }
    
    .risk-notice-footer .btn {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-section {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 24px;
    }
    
    .about-hero-content h2 {
        font-size: 22px;
    }
    
    .page-title {
        font-size: 22px;
    }
    
    .footer-contact {
        gap: 12px;
        font-size: 13px;
    }
    
    .footer-warning-box {
        padding: 12px 16px;
    }
    
    .footer-warning-box .footer-warning {
        font-size: 12px;
    }
    
    .risk-banner {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .risk-text {
        font-size: 13px;
    }
    
    .risk-link {
        display: inline-block;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method-icon {
        margin: 0 auto;
    }
}

