:root {
  --color-dark: #121212;
  --color-light: #f5f5f5;
  --color-gold: #cfa83d;
  --color-grey: #a0a0a0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--color-dark);
  color: var(--color-light);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.header {
  text-align: center;
  padding: 80px 20px 60px;
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
}

.logo {
  font-size: 7.8em;
  margin-bottom: 10px;
  line-height: 1;
}

.logo-img {
  height: 1em;
  width: auto;
  max-width: 90%;
  display: inline-block;
  vertical-align: middle;
}

.tagline {
  font-size: 1.3em;
  font-weight: 300;
  color: var(--color-light);
  margin: 0;
  text-transform: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: inline-block;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 20px 100px;
  max-width: 1300px;
  width: 100%;
  box-sizing: border-box;
}

.card {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border: 2px solid var(--color-gold);
}

.card:active {
  transform: translateY(-3px) scale(0.99);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: brightness(1);
  transition: filter 0.4s ease;
  flex-shrink: 0;
}

.card:hover .card-image {
  filter: brightness(1.2);
}

.card-content {
  padding: 25px 20px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--color-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-description {
  font-size: 0.9em;
  font-weight: 300;
  color: var(--color-grey);
  margin-bottom: 20px;
}

.site-link-list {
  margin-top: auto;
  text-align: left;
  width: 100%;
}

.site-link-list a {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  margin-bottom: 6px;
  border-radius: 4px;
  color: var(--color-light);
  font-size: 0.9em;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-link-list a:hover {
  background-color: var(--color-gold);
  color: var(--color-dark);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(207, 168, 61, 0.6);
  border-color: var(--color-gold);
}

.site-link-list a:active {
  background-color: var(--color-gold);
  color: var(--color-dark);
  transform: translateX(1px);
}

.site-link-list-text {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  margin-bottom: 6px;
  border-radius: 4px;
  color: var(--color-light);
  font-size: 0.9em;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* 居中显示支持（a 和文本项） */
.site-link-list a.center,
.site-link-list-text.center {
  justify-content: center;
  text-align: center;
}

.site-icon-img {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  object-fit: contain;
}

.footer {
  padding: 40px 20px 40px;
  text-align: center;
  font-size: 0.8em;
  color: var(--color-grey);
  width: 100%;
  background-color: #101010;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.social-icons {
  margin-bottom: 15px;
}

.social-icons a {
  color: var(--color-grey);
  margin: 0 18px;
  font-size: 1.1em;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.social-icons a:hover {
  color: var(--color-gold);
  transform: scale(1.05);
}

.social-icons img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  object-fit: contain;
  filter: brightness(0.9);
}

.footer p {
  margin: 5px 0;
}
