/* CSS Reset - 遊戲峽谷部落格 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 移除清單樣式 */
ul, ol {
  list-style: none;
}

/* 移除連結下劃線 */
a {
  text-decoration: none;
  color: inherit;
}

/* 按鈕重置 */
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* 圖片響應式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 表單元素 */
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

/* 標題重置 */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: 1.2;
}

/* 隱藏滾動條但保持功能 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 文字選取樣式 */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
} 