* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, #21132f 0%, #0b0710 45%, #050307 100%);
  color: #f5f0fa;
  font-family: 'Inter', Arial, sans-serif;
  overflow-x: hidden;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 60px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subtitle {
  display: block;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f2b90c;
  margin-bottom: 10px;
}

h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  color: #fff;
}

.description {
  text-align: center;
  color: #9a8fae;
  font-size: 14px;
  margin: 0 0 50px;
}

.layouts {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.layout-link {
  text-decoration: none;
  color: #fff;
  display: block;
}

.card {
  height: 100%;
  min-height: 300px;
  background: rgba(22, 16, 34, 0.95);
  border-radius: 20px;
  padding: 30px 20px 26px;
  text-align: center;
  border: 1px solid #2a1f3d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: .3s ease;
  position: relative;
}

.layout-link:hover .card {
  transform: translateY(-8px);
  border-color: #c026d3;
  box-shadow: 0 20px 44px rgba(192, 38, 211, .35);
}

.number {
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #9a8fae;
}

.preview {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
}

.preview img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  padding: 10px;
  display: block;
}

.preview-number {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.layout-title {
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
}

.layout-description {
  color: #9a8fae;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.4;
}

.button {
  display: inline-block;
  padding: 10px 26px;
  background: #f2b90c;
  color: #241a02;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Sora', sans-serif;
}

@media (max-width: 600px) {
  .page {
    padding: 40px 16px 60px;
  }

  .description {
    margin-bottom: 35px;
  }

  .layouts {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    min-height: 280px;
  }
}