/* Material Icons 字体 */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://mdn.alipayobjects.com/asap_serivce/uri/file/as/material-icons-v145.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* 完整的Tailwind CSS样式 */
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .w-full {
    width: 100%;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .justify-center {
    justify-content: center;
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-x-4 {
    :where(& > :not(:last-child)) {
      --tw-space-x-reverse: 0;
      margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
      margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
    }
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-gray-300 {
    border-color: var(--color-gray-300);
  }
  .bg-green-600 {
    background-color: var(--color-green-600);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .text-center {
    text-align: center;
  }
  .align-middle {
    vertical-align: middle;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-white {
    color: var(--color-white);
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .hover\:bg-green-700 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-green-700);
      }
    }
  }
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
    }
  }
}

/* 自定义样式 - 移动优先策略 */
:root {
    --primary-color: #2d5a3d;
    --primary-light: #4a7c59;
    --primary-dark: #1a3d29;
    --secondary-color: #10b981;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: var(--background-color);
    /* 确保页面在手机上正确缩放 */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* 防止页面滚动问题 */
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 禁用图片拖拽和保存 */
img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* 启用特定元素的交互 */
.bagua-cell, .element-item, .nav-item, button, input, label {
    pointer-events: auto;
}

/* 页面容器样式 */
.container {
    background: var(--background-color);
    border-radius: 0;
    padding: 16px;
    margin: 0 !important;
    box-shadow: none;
    width: 100% !important;
    max-width: 100% !important;
}

/* 页面标题样式 */
.page-header {
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    padding: 16px 0;
}

/* 卡片样式 */
.card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* 主要内容区域 */
.main-content {
    padding-bottom: 80px;
}

/* 五行相关样式 */
.five-elements-relation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0;
}

.five-elements-circle {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 16px 0;
}

/* 五行按钮样式 */
.element-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-weight: bold;
    border: none;
    outline: none;
}

.element-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 五行按钮容器 */
.elements-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
    padding: 0 16px;
}

/* 五行详细信息展示区域 */
.element-detail {
    min-height: 200px;
    transition: var(--transition);
    padding: 16px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.element-detail h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
}

.element-detail p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.element-detail .attribute {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 0 4px;
}

.element-detail .attribute-label {
    font-weight: 600;
    min-width: 80px;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-right: 12px;
}

.element-detail .attribute-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

/* 五行对应脏腑样式 */
.zangfu-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
    padding: 0 4px;
}

.zangfu-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.zangfu-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
}

.zangfu-item.wood .zangfu-title {
    background: #4caf50;
}

.zangfu-item.fire .zangfu-title {
    background: #f44336;
}

.zangfu-item.earth .zangfu-title {
    background: #ff9800;
}

.zangfu-item.metal .zangfu-title {
    background: #2196f3;
}

.zangfu-item.water .zangfu-title {
    background: #00bcd4;
}

.zangfu-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.zang, .fu {
    padding: 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    width: 100%;
}

.zang {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.fu {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-secondary);
}

/* 五行生克关系注释样式 */
.relation-legend.five-elements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.relation-legend.five-elements .legend-item {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    justify-content: center;
}

/* 性别选择样式 */
.gender-option {
    transition: var(--transition);
}

.gender-option:hover {
    transform: scale(1.03);
}

.gender-option input:checked + label {
    background-color: var(--primary-color);
    color: white;
}

/* 八卦容器样式 - 保持不变 */
.bagua-container {
    width: 82vw;
    height: 82vw;
    max-width: 320px;
    max-height: 320px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--primary-color);
    padding: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* 方位标注 */
.direction-label {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 20;
}

.direction-top {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.direction-bottom {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.direction-left {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.direction-right {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.direction-top-left {
    top: -20px;
    left: -20px;
}

.direction-top-right {
    top: -20px;
    right: -20px;
}

.direction-bottom-left {
    bottom: -20px;
    left: -20px;
}

.direction-bottom-right {
    bottom: -20px;
    right: -20px;
}

/* 八卦单元格样式 */
.bagua-cell {
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 4px;
    position: relative;
    min-height: auto;
}

.bagua-cell:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.bagua-cell.selected {
    background: var(--primary-color);
    color: white;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.bagua-cell.center {
    background: rgba(255, 255, 255, 0.98);
    cursor: default;
    padding: 8px 4px;
}

.bagua-cell.center:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    z-index: 1;
}

.gua-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.bagua-cell:hover .gua-name,
.bagua-cell.selected .gua-name {
    color: white;
}

/* 五行颜色区分 */
.bagua-cell[data-gua="震"] .gua-name,
.bagua-cell[data-gua="震"] .five-elements,
.bagua-cell[data-gua="巽"] .gua-name,
.bagua-cell[data-gua="巽"] .five-elements {
    color: #2d7d2d; /* 木 - 绿色 */
}

.bagua-cell[data-gua="离"] .gua-name,
.bagua-cell[data-gua="离"] .five-elements {
    color: #d32f2f; /* 火 - 红色 */
}

.bagua-cell[data-gua="艮"] .gua-name,
.bagua-cell[data-gua="艮"] .five-elements,
.bagua-cell[data-gua="坤"] .gua-name,
.bagua-cell[data-gua="坤"] .five-elements {
    color: #6d4c41; /* 土 - 深棕色 */
}

.bagua-cell[data-gua="乾"] .gua-name,
.bagua-cell[data-gua="乾"] .five-elements,
.bagua-cell[data-gua="兑"] .gua-name,
.bagua-cell[data-gua="兑"] .five-elements {
    color: #f9a825; /* 金 - 黄色 */
}

.bagua-cell[data-gua="坎"] .gua-name,
.bagua-cell[data-gua="坎"] .five-elements {
    color: #1976d2; /* 水 - 蓝色 */
}

.gua-info {
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
    opacity: 0.9;
    color: var(--text-secondary);
    font-weight: bold;
}

.bagua-cell:hover .gua-info,
.bagua-cell.selected .gua-info {
    color: rgba(255, 255, 255, 0.9);
}

.taji-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

/* 结果样式 */
.result-item {
    padding: 16px;
    margin: 12px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: var(--card-background);
    box-shadow: var(--shadow-sm);
}

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

.result-bu {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edd4 100%);
    border-left: 4px solid var(--primary-light);
}

.result-xie {
    background: linear-gradient(135deg, #fef4e8 0%, #fdecd4 100%);
    border-left: 4px solid #d2691e;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
}

.step-bu {
    background: var(--primary-light);
    color: white;
}

.step-xie {
    background: #d2691e;
    color: white;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* 底部导航栏样式 - 优化手机端体验 */
.nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 100;
    height: 64px;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: var(--transition);
    color: var(--text-secondary);
    min-width: 70px;
    border: none;
    background: transparent;
    outline: none;
}


.nav-item.active {
    color: var(--secondary-color);
}


.nav-item:hover {
    background: rgba(0, 0, 0, 0.05);
}


.nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

/* 页面容器样式 */
.page-container {
    position: relative;
    min-height: 100vh;
    width: 100% !important;
    margin: 0 auto !important;
    background: var(--background-color);
    box-shadow: none;
    border: none;
    outline: none;
    padding-bottom: 80px; /* 为底部导航栏留出空间 */
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-in;
    width: 100% !important;
    max-width: 100% !important;
}

.page.active {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

/* 关于页面样式 */
.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.logo-container {
    margin-bottom: 24px;
}

.logo-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.app-info {
    text-align: center;
}

.app-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-english-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.app-version {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.app-copyright {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 响应式调整 */
@media (min-width: 768px) {
    /* 平板和桌面端调整 */
    .container {
        max-width: 768px;
        margin: 0 auto !important;
        padding: 24px;
    }
    
    .zangfu-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .elements-buttons-container {
        max-width: 400px;
        margin: 0 auto 24px;
    }
    
    .bagua-container {
        width: 300px;
        height: 300px;
        margin: 30px auto;
    }
}

@media (min-width: 1024px) {
    /* 桌面端调整 */
    .container {
        max-width: 960px;
    }
    
    .zangfu-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.spa-page {
    animation: fadeIn 0.3s ease-in;
}