@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/fredoka-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/fredoka-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  padding: 0 16px 32px;
  background-color: #fff4dc;
  background-image: radial-gradient(#ffe2a8 2px, transparent 2px);
  background-size: 24px 24px;
  color: #3b2a6b;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

h2 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 12px;
}

a {
  color: #4a3db8;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch button {
  appearance: none;
  min-width: 48px;
  padding: 8px 12px;
  border: 3px solid #3b2a6b;
  border-radius: 999px;
  background: #fff;
  color: #3b2a6b;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 3px 0 #3b2a6b;
  cursor: pointer;
}

.lang-switch button[aria-pressed='true'] {
  background: var(--primary);
  color: #fff;
}

main {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

main > h1 {
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 3px solid #3b2a6b;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 0 #3b2a6b;
}

.card h2 {
  margin-top: 12px;
}

.app-icon {
  width: 96px;
  height: 96px;
  border: 3px solid #3b2a6b;
  border-radius: 22px;
  background: #fff;
  object-fit: contain;
}

.feature {
  width: 100%;
  max-width: 960px;
  border: 3px solid #3b2a6b;
  border-radius: 24px;
  margin-bottom: 16px;
  object-fit: cover;
}

.short {
  font-size: 1.05rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 3px solid #3b2a6b;
  border-radius: 999px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 4px 0 #3b2a6b;
}

.btn-play {
  background: #000;
  color: #fff;
}

.btn-web {
  background: var(--primary);
  color: #fff;
}

.btn-disabled {
  background: #d9d9d9;
  color: #555;
  opacity: 0.6;
  box-shadow: none;
  cursor: default;
}

.more,
.legal-link,
.back {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid currentColor;
}

.shots {
  display: flex;
  gap: 16px;
  margin: 16px 0 20px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.shots img {
  height: 360px;
  width: auto;
  border: 3px solid #3b2a6b;
  border-radius: 20px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.full ul {
  margin: 0 0 12px;
  padding-left: 24px;
}

.full li {
  margin-bottom: 6px;
}

.privacy {
  max-width: 760px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 3px dashed #3b2a6b;
}

.privacy h1,
.privacy h2,
.privacy h3 {
  color: #3b2a6b;
}

.site-footer {
  max-width: 960px;
  margin: 40px auto 0;
  padding-top: 16px;
  border-top: 3px solid #3b2a6b;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 600px) {
  .shots img {
    height: 220px;
  }

  .card {
    padding: 16px;
  }
}
