/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #C9A84C;
  --gold-light: #F5E6B8;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #555555;
  --slant-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  word-spacing: 0.05em;
}

/* ===== Typography ===== */
h1, h2 {
  font-family: 'Minion Pro Caption', Georgia, serif;
  word-spacing: normal;
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Sections ===== */
.section {
  padding: 80px 24px;
  text-align: center;
}

.section--white {
  background: var(--white);
}

.section--gold {
  background: var(--gold-light);
}

/* ===== Slanted Dividers ===== */
.slant-divider {
  position: relative;
  height: var(--slant-height);
  z-index: 2;
  pointer-events: none;
}

.slant-divider--white-to-gold {
  background: linear-gradient(
    to bottom right,
    var(--white) 50%,
    var(--gold-light) 50%
  );
}

.slant-divider--gold-to-white {
  background: linear-gradient(
    to bottom right,
    var(--gold-light) 50%,
    var(--white) 50%
  );
}

/* ===== Header / About Section ===== */
.logo {
  height: 160px;
  margin-bottom: 3rem;
}

.gold-divider {
  border: none;
  border-top: 2px solid var(--gold);
  width: 80px;
  margin: 0 auto 5rem;
}

.about-text {
  font-family: 'Minion Pro Caption', Georgia, serif;
  word-spacing: normal;
  font-size: 1.9rem;
  color: var(--text);
  line-height: 1.8;
}

/* ===== Games Section ===== */
.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.game-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.game-link:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.game-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-image {
  display: block;
  max-width: 560px;
  width: 100%;
  height: auto;
}

.feedback-link {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 32px;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.feedback-link:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== Team Section ===== */
.headcount {
  font-size: 1.8rem;
}

.headcount-number {
  color: var(--gold);
  font-size: 3rem;
  font-weight: 700;
  vertical-align: middle;
  margin: 0 4px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 1.15rem;
  color: var(--text-muted);
  border-top: 1px solid #eee;
}

/* ===== Feedback Form Page ===== */
.form-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 24px;
}

.form-container h1 {
  font-size: 3rem;
  margin-bottom: 0.25rem;
}

.form-game-image {
  display: block;
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  font-size: 1.3rem;
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.form-group select,
.form-group textarea,
.form-group input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 1.3rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit:hover {
  opacity: 0.9;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  padding: 24px;
  background: #f0faf0;
  border: 1px solid #b2dfb2;
  border-radius: 8px;
  color: #2d6a2d;
  text-align: center;
  font-size: 1.3rem;
}

.form-error {
  padding: 12px;
  background: #fef0f0;
  border: 1px solid #f5c6c6;
  border-radius: 8px;
  color: #a03030;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 64px 20px; }
  .game-image { max-width: 100%; }
  :root { --slant-height: 40px; }
}
