/* 布局变体: A */
/* UI风格: 8 */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.ui-style-8 {
  --primary-color: #0066cc;
}

.ui-style-8 a {
  color: var(--primary-color);
}

.ui-style-8 .logo {
  color: var(--primary-color);
}

.header {
  transition: box-shadow 0.3s;
}

.header:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

nav a {
  transition: all 0.3s;
  border-radius: 4px;
}

nav a:hover {
  background: rgba(0, 102, 204, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  nav a:hover {
    transform: none;
  }
}

h1, h2, h3 {
  font-weight: 600;
}

button, .btn {
  cursor: pointer;
  transition: all 0.3s;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  main {
    padding: 20px 10px !important;
  }

  article {
    padding: 20px !important;
  }
}
