:root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background: #000000;
  }
  
  body {
    background: var(--background);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .text-secondary {
    color: var(--text-secondary);
  }
  
  .input-minimal {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
  }
  
  .input-minimal:focus {
    outline: none;
    border-bottom-color: white;
    background: transparent;
  }
  
  .input-minimal::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  select.input-minimal {
    transition: color 0.3s ease;
  }
  
  select.input-minimal option {
    background: #000000;
    color: white;
  }
  
  .text-white {
    color: white;
  }
  
  .text-secondary {
    color: rgba(255, 255, 255, 0.5);
  }
  
  input:-webkit-autofill,  
  input:-webkit-autofill:hover,  
  input:-webkit-autofill:focus,  
  input:-webkit-autofill:active {  
      -webkit-background-clip: text !important;  
      -webkit-text-fill-color: white !important;  
      transition: background-color 9999s ease-in-out 0s !important;  
      box-shadow: inset 0 0 20px 20px transparent !important;  
      background: transparent !important;  
  } 
  
  .input-minimal {  
      background: transparent !important;  
  }  
  
  /* 添加额外的背景控制 */  
  .input-minimal:-webkit-autofill {  
      background: transparent !important;  
      -webkit-box-shadow: 0 0 0 1000px transparent inset !important;  
  }  
  
  /* 确保焦点状态也保持透明 */  
  .input-minimal:focus {  
      background: transparent !important;  
      -webkit-box-shadow: 0 0 0 1000px transparent inset !important;  
  }  
  
  
  /* 滑动条样式 */
  input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
  }
  
  /* 滑块样式 */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  input[type="range"]::-webkit-slider-thumb:hover {
    background: #f3f3f3;
    transform: scale(1.1);
  }
  
  /* Firefox 滑块样式 */
  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  input[type="range"]::-moz-range-thumb:hover {
    background: #f3f3f3;
    transform: scale(1.1);
  }
  
  /* 结果卡片样式 */
  .result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  /* 通知样式 */
  .notification {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .notification.show {
    opacity: 1;
  }
  
  /* 动画效果 */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeIn 0.5s ease forwards;
  }
  
  /* 引用容器样式 */
  .quote-container {
    margin-top: 15vh;
    /* 使用视窗高度，更灵活 */
    margin-bottom: 10vh;
    /* 与下方内容保持较大间距 */
    text-align: center;
  }
  
  .author {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
  }
  
  /* 打字效果容器样式 */
  .typing-effect-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    text-align: center;
  }
  
  .typing-wrapper {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -0.25px;
    opacity: 0.7;
  }
  
  .main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
    padding: 0 2rem;
  }
  
  .fixed-text {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .typing-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
  }
  
  .typing-cursor {
    color: white;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
  }
  
  @keyframes blink {
    from,
    to {
      opacity: 1;
    }
  
    50% {
      opacity: 0;
    }
  }
  
  /* 响应式调整 */
  @media (max-width: 640px) {
    .typing-wrapper {
      font-size: 2rem;
    }
  }
  
  /* AI解读按钮悬停效果 */
  .ai-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }
  
  /* 加载动画 */
  @keyframes bounce {
    0%,
    100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-10px);
    }
  }
  
  .animate-bounce {
    animation: bounce 0.6s infinite;
  }
  
  .result-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .result-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .new-content {
    animation: highlight 1s ease-out;
  }
  
  @keyframes highlight {
    0% {
      background-color: rgba(255, 255, 255, 0.15);
    }
    100% {
      background-color: rgba(255, 255, 255, 0.05);
    }
  }
  
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  