* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 毛玻璃效果 */
section {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 搜索栏 */
.search-section form {
  display: flex;
  justify-content: center;
}

.search-section input {
  width: 70%;
  padding: 12px;
  border: none;
  border-radius: 50px 0 0 50px;
  outline: none;
  font-size: 16px;
}

.search-section button {
  padding: 12px 25px;
  border: none;
  border-radius: 0 50px 50px 0;
  background: #764ba2;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

/* 信息面板 */
.info-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date-card h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.weather-card {
  text-align: right;
}

/* 链接墙 */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.link-item {
  background: rgba(255, 255, 255, 0.4);
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link-item:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

/* 股票图表 */
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

/* 待办事项 */
.todo-input {
  display: flex;
  margin-bottom: 15px;
}

.todo-input input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.todo-input button {
  padding: 10px 15px;
  border: none;
  background: #764ba2;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

#todo-list li {
  list-style: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  margin-bottom: 5px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
}

#todo-list li.completed {
  text-decoration: line-through;
  opacity: 0.6;
}
