@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

:root {
  --pink: #F21677;
  --pink-soft: #fce4ef;
  --pink-bg: #f9b8d0;
  --cream: #faf6f1;
  --black: #111111;
  --text: #2a2a2a;
  --text-light: #8a8a8a;
  --border: rgba(17, 17, 17, 0.12);
  --border-strong: rgba(17, 17, 17, 0.22);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page */
.start-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 40px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.start-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--black);
}

.start-logo span {
  color: var(--pink);
}

.start-hero {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.start-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 720px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.start-title__accent {
  color: var(--pink);
}

.start-arrow {
  margin: 8px 0 32px 60px;
  width: 80px;
  height: 70px;
  color: var(--pink);
  align-self: center;
  transform: translateX(80px);
}

/* Goal cards */
.goal-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 900px;
}

.goal-card {
  background: var(--cream);
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  font-family: inherit;
}

.goal-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: 0 12px 32px rgba(242, 22, 119, 0.15);
}

.goal-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pink-bg) 0%, #f5d0e0 100%);
  position: relative;
  border-bottom: 2px solid var(--border);
}

.goal-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.goal-card:hover .goal-card__photo img {
  transform: scale(1.04);
}

.goal-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  background: var(--cream);
  border-top: 2px solid var(--border);
  min-height: 56px;
}

.goal-card__arrow {
  font-size: 1.1rem;
  color: var(--black);
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.goal-card:hover .goal-card__arrow {
  transform: translateX(4px);
  opacity: 1;
  color: var(--pink);
}

/* Footer */
.start-footer {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 520px;
  margin: 40px auto 0;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.start-footer a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.start-footer a:hover {
  color: var(--pink);
}

.start-skip {
  position: fixed;
  top: 32px;
  right: 40px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  background: rgba(250, 246, 241, 0.9);
  transition: color 0.2s, border-color 0.2s;
}

.start-skip:hover {
  color: var(--pink);
  border-color: var(--pink);
}

@media (max-width: 768px) {
  .start-page { padding: 24px 20px 20px; }
  .start-logo { margin-bottom: 32px; font-size: 1.25rem; }
  .start-arrow { display: none; }
  .goal-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .start-skip { top: 24px; right: 20px; }
}

@media (max-width: 420px) {
  .goal-cards { grid-template-columns: 1fr 1fr; }
  .goal-card__label { padding: 12px 12px; font-size: 0.75rem; min-height: 52px; }
}
