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

body {
  font-family: Arial, sans-serif;
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  padding: 32px 24px;
  animation: fadeIn 0.3s ease;
  text-align: center;
}
.screen.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gap-logo {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 8px;
  color: white;
  background: #0055a5;
  padding: 12px 32px;
  border-radius: 8px;
  margin-bottom: 28px;
}
.gap-logo.small { font-size: 28px; padding: 8px 20px; margin-bottom: 20px; }

.welcome-title { font-size: 36px; color: #222; margin-bottom: 12px; }
.welcome-sub { font-size: 17px; color: #666; margin-bottom: 28px; max-width: 480px; line-height: 1.5; }

.step-header { margin-bottom: 28px; }
.step-indicator {
  display: inline-block;
  background: #0055a5;
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.step-header h2 { font-size: 28px; color: #222; }
.step-sub { font-size: 15px; color: #888; margin: 8px 0 20px; }

/* Vibe cards */
.vibe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  max-width: 560px;
}

.vibe-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100px;
  padding: 20px 12px;
  background: white;
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.vibe-card span { font-size: 13px; font-weight: 700; color: #444; }
.vibe-card:hover { border-color: #0055a5; transform: translateY(-3px); }
.vibe-card.selected {
  border-color: #0055a5;
  background: #e8f0fb;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,85,165,0.2);
}

/* Word input */
.name-input {
  width: 100%;
  max-width: 420px;
  padding: 16px 20px;
  font-size: 20px;
  border: 3px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
  outline: none;
  transition: border-color 0.2s;
}
.name-input:focus { border-color: #0055a5; }

/* Slogan cards */
.slogan-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 28px;
}

.slogan-card {
  background: white;
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.slogan-card:hover { border-color: #0055a5; transform: translateY(-2px); }
.slogan-card.selected {
  border-color: #0055a5;
  background: #e8f0fb;
  box-shadow: 0 4px 16px rgba(0,85,165,0.2);
}
.tee-icon { font-size: 36px; flex-shrink: 0; }
.slogan-text { font-size: 20px; font-weight: 700; color: #222; line-height: 1.3; }

/* Generating */
.generating-icon { font-size: 72px; margin-bottom: 16px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.generating-msg { font-size: 16px; color: #888; margin: 8px 0 24px; }
.spinner {
  width: 52px; height: 52px;
  border: 5px solid #e0e0e0;
  border-top-color: #0055a5;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.result-title { font-size: 28px; color: #222; margin-bottom: 8px; }

/* T-shirt image */
.image-container {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  margin-bottom: 16px;
  background: white;
}
.image-container img { width: 100%; display: block; }
.slogan-on-tshirt {
  font-size: 18px;
  font-weight: 700;
  color: #0055a5;
  margin-bottom: 24px;
  text-align: center;
}
.result-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }

/* Buttons */
.btn-primary {
  background: #0055a5;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: #0044cc; transform: translateY(-2px); }
.btn-primary:disabled { background: #aaa; cursor: not-allowed; transform: none; }
.btn-primary.big-btn { padding: 18px 48px; font-size: 20px; border-radius: 14px; }

.btn-secondary {
  background: white;
  color: #0055a5;
  border: 2px solid #0055a5;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: #e8f0fb; }

.skip-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  text-decoration: underline;
}
.skip-btn:hover { color: #555; }

.nav-row { display: flex; gap: 16px; align-items: center; justify-content: center; }
.success-icon { font-size: 80px; margin-bottom: 16px; }
