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

:root {
  --bg: #f7f0e4;
  --bg-2: #f1e6d2;
  --surface: #fff9ef;
  --surface-2: #fdf3e4;
  --text: #3b2b22;
  --text-soft: #645044;
  --primary: #b23a2e;
  --primary-soft: #d15f4e;
  --line: #4b3427;
  --shadow-dark: #b29d81;
  --shadow-light: #fff8ec;
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, rgba(192, 39, 45, 0.2) 0%, transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(30, 106, 70, 0.18) 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(247, 240, 228, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 2px 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: "Noto Serif SC", serif;
  font-weight: 700;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #b23a2e, #d15f4e);
  color: #fff7ee;
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 #8b6a4c;
}

.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: 2px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(145deg, #fff8ed, #f6ead8);
  color: var(--text);
  box-shadow: 3px 3px 0 #9e825f;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover,
.btn-nav:hover,
button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #9e825f;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #b23a2e, #cf5b46);
  border-color: #6f271f;
}

.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: 2px 2px 0 #9e825f;
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.title-line {
  display: block;
}

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

.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, #f6ead8, #efdfca);
}

.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: 4px 4px 0 #a48762;
  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: 6px 6px 0 #a48762;
}

.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, #c84c35, #e2b66f);
}

.game-1 { background: linear-gradient(135deg, #b3382f, #d9654c); }
.game-2 { background: linear-gradient(135deg, #2f6d4c, #5b9a73); }
.game-3 { background: linear-gradient(135deg, #2d5176, #4f7da7); }
.game-4 { background: linear-gradient(135deg, #a6772d, #d6a553); }
.news-1 { background: linear-gradient(135deg, #b3382f, #d3795e); }
.news-2 { background: linear-gradient(135deg, #3c6f53, #78a886); }
.news-3 { background: linear-gradient(135deg, #9e742d, #d9ae64); }

.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: "Noto Serif SC", serif;
  margin-bottom: 8px;
}

.tag,
.career-category,
.news-badge,
.game-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8ecdc;
  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 #a48762;
}

.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 #6b4d35;
  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, #f1e2ca, #e8d6b7);
  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: #f7ecda;
    border-top: 2px 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;
  }
}
