/* Elegant Pale Blue Palette for gamemole.world */
:root {
  --color-primary: #DCEEFF;
  --color-secondary: #A6D1E6;
  --color-text: #222831;
  --color-bg: #F9FAFB;
  --color-border: #E1F0F9;
  --color-link: #6BAEDC;
  --color-link-hover: #4A90E2;
  --color-card-bg: #F9FAFB;
  --color-shadow: #E1F0F9;
  --color-subtitle: #3A4750;
  --color-footer: #222831;
}

/* 优化全站排版和间距 */
:root {
  --section-spacing: 3.5rem;
  --block-spacing: 2.5rem;
  --card-spacing: 2rem;
}

html, body {
  background: var(--color-primary);
  color: var(--color-text);
  font-family: 'Lato', 'Inter', 'Noto Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Playfair Display', 'Lato', Arial, sans-serif;
  color: var(--color-text);
  margin-top: 0;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: var(--color-link-hover);
  text-decoration: underline;
}

header, nav, footer {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px 0 var(--color-shadow);
}

.nav-list, .navbar-nav, .footer-nav {
  display: flex !important;
  gap: 6rem !important;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-list li, .navbar-nav li, .footer-nav li {
  display: flex !important;
  align-items: center;
}

.nav-link, .nav-list a {
  padding: 0.5rem 2rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-list a:hover, .nav-link.active, .nav-list a[aria-current="page"] {
  background: var(--color-link);
  color: #fff;
}

.nav-gap {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.main {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.hero {
  background: linear-gradient(135deg, #DCEEFF 0%, #A6D1E6 100%);
  border-radius: 18px;
  padding: 3.5rem 2rem 2.5rem 2rem;
  box-shadow: 0 4px 24px 0 var(--color-shadow);
  text-align: center;
  margin-bottom: var(--section-spacing);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto var(--block-spacing) auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-subtitle);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-image {
  margin: 0 auto;
  max-width: 600px;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 var(--color-shadow);
}

.hero-content p, .cta-description, .cta-content p {
  color: var(--color-text) !important;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  color: var(--color-subtitle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--card-spacing);
  margin-top: 1.5rem;
}

.service-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover, .service-card:focus-within {
  border-color: var(--color-link);
  box-shadow: 0 4px 16px 0 var(--color-link-hover);
}

.service-icon {
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-align: center;
}

.service-description {
  color: var(--color-subtitle);
  margin-bottom: 1.2rem;
  text-align: center;
}

.service-features {
  list-style: disc inside;
  color: var(--color-text);
  padding-left: 0;
  margin: 0 auto;
  text-align: left;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover, .card:focus-within {
  border-color: var(--color-link);
  box-shadow: 0 4px 16px 0 var(--color-link-hover);
}

button, .btn {
  background: var(--color-secondary);
  color: var(--color-text);
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  margin: 0 0.2rem;
}

button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--color-link);
  color: #fff;
}

.btn, button {
  background: var(--color-secondary);
  color: var(--color-text);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-link);
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn:hover, .btn:focus, button:hover, button:focus {
  background: var(--color-link);
  color: #fff;
}

footer {
  background: var(--color-bg);
  color: var(--color-footer);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 1.5rem 0;
  text-align: center;
  margin-top: var(--section-spacing);
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .container {
    padding: 1.2rem 0.5rem;
  }
  .hero {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
  }
  .services-grid {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .hero {
    padding: 1.2rem 0.2rem 1rem 0.2rem;
  }
  .service-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
} 