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

:root {
  --bg: #fff7f8;
  --bg-2: #f5fbff;
  --surface: #ffffff;
  --surface-2: #fef6ff;
  --text: #2f325f;
  --text-soft: #5b6090;
  --primary: #ff6ba8;
  --primary-soft: #ffc9de;
  --line: #2f325f;
  --shadow-dark: #2f325f;
  --shadow-light: #ffffff;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "M PLUS Rounded 1c", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, #ffd8ea 0%, transparent 34%),
    radial-gradient(circle at 82% 18%, #d8e8ff 0%, transparent 30%),
    linear-gradient(150deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.65;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffb0d0;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 #2f325f;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
}

.btn-nav,
.btn,
button {
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 4px 4px 0 #2f325f;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover,
.btn-nav:hover,
button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #2f325f;
}

.btn-primary {
  color: #fff;
  background: #ff6ba8;
}

.btn-secondary {
  color: var(--text);
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(189, 159, 127, 0.26), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(153, 124, 95, 0.18), transparent 42%);
}

.animated-shapes .shape,
.particles .particle {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge,
.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 #2f325f;
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: #ff4f95;
}

.hero-subtitle {
  max-width: 860px;
  margin: 0 auto 26px;
  color: var(--text-soft);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.hero-stats .stat-number {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.stat-label {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.scroll-indicator {
  display: none;
}

section {
  padding: 74px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
}

.section-subtitle,
.about-body,
.game-description,
.career-description,
.news-excerpt {
  color: var(--text-soft);
}

.about-block {
  max-width: 860px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.games-section,
.stats-section,
.news-section {
  background: linear-gradient(145deg, #ffeefd, #eef7ff);
}

.games-grid,
.stats-grid,
.careers-grid,
.news-grid {
  display: grid;
  gap: 20px;
}

.games-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.careers-grid,
.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.game-card,
.stat-card,
.career-card,
.news-card,
.feature-item,
.info-card,
.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 #2f325f;
  border: 3px solid var(--line);
}

.game-card:hover,
.stat-card:hover,
.career-card:hover,
.news-card:hover,
.feature-item:hover,
.info-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 8px 8px 0 #2f325f;
}

.game-image {
  height: 220px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.game-placeholder,
.about-placeholder,
.news-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffc6dd, #c7dcff);
}

.game-1 { background: linear-gradient(135deg, #ff9cc8, #ffd4e7); }
.game-2 { background: linear-gradient(135deg, #8ac3ff, #d7e8ff); }
.game-3 { background: linear-gradient(135deg, #bca6ff, #e5dcff); }
.game-4 { background: linear-gradient(135deg, #ffb9a3, #ffe2d8); }
.news-1 { background: linear-gradient(135deg, #ffaad2, #ffddef); }
.news-2 { background: linear-gradient(135deg, #9ed0ff, #e4f0ff); }
.news-3 { background: linear-gradient(135deg, #c5b2ff, #efe9ff); }

.game-overlay {
  background: linear-gradient(to top, rgba(78, 66, 55, 0.4), transparent);
}

.game-content,
.news-content,
.career-card,
.stat-card,
.feature-item,
.info-card {
  padding: 18px;
}

.game-title,
.career-title,
.news-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin-bottom: 8px;
}

.tag,
.career-category,
.news-badge,
.game-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0f7;
  border: 2px solid var(--line);
  color: var(--text-soft);
  font-size: 0.75rem;
}

.about-content,
.contact-content {
  display: grid;
  gap: 24px;
}

.about-content {
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}

.about-features {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.about-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 #2f325f;
}

.badge-number {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.contact-content {
  grid-template-columns: 1fr 1.4fr;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--text);
  background: #fff;
  box-shadow: none;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.footer {
  padding: 50px 0 24px;
  background: linear-gradient(145deg, #ffeef8, #eef6ff);
  border-top: 3px solid var(--line);
}

.footer-content {
  margin-bottom: 20px;
}

.footer-description {
  margin-top: 10px;
  color: var(--text-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
}

.footer-bottom-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.hamburger {
  display: none;
}

@media (max-width: 980px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    padding: 20px;
    background: #fff6fb;
    border-top: 3px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
  .hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
