:root {
  --primary: #4A90D9;
  --primary-light: #EBF2FB;
  --primary-gradient: linear-gradient(135deg, #4A90D9 0%, #7EC8E3 100%);
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #2C3E50;
  --text-secondary: #5A6B7D;
  --border: #E2E8F0;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background: var(--primary-gradient);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
}
.header-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.site-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.site-title-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  animation: gentle-bounce 3s ease-in-out infinite;
}
.site-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}
.site-tagline {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.9;
}

/* Header wave */
.header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.header-wave svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px;
  flex: 1;
}

/* Sections */
section {
  margin-bottom: 40px;
}
section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}
section p + p {
  margin-top: 12px;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 4px;
  line-height: 1;
}
.service-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  animation: gentle-bounce 3s ease-in-out infinite;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* Coming Soon Card */
.coming-soon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FAFAFA;
  border: 2px dashed #CBD5E0;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: #A0AEC0;
  min-height: 200px;
}
.coming-soon-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}
.coming-soon-card p {
  font-size: 15px;
  font-weight: 500;
  color: #A0AEC0;
}
.coming-soon-sub {
  font-size: 13px;
  margin-top: 4px;
  color: #CBD5E0;
}

/* Character bounce animation */
@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-title-icon,
  .service-logo {
    animation: none;
  }
  .service-card {
    transition: none;
  }
}

/* Ad Slot */
.ad-slot {
  margin: 24px 0 40px;
  padding: 0;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #EBF2FB 0%, #E8F4F8 100%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.footer-cat {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}
.footer-links {
  margin-top: 8px;
}
.footer-links a {
  color: var(--primary);
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .header { padding: 32px 16px 48px; }
  .site-title { font-size: 26px; }
  .site-tagline { font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; }
}
