body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  text-align: center;
}

body.page {
  padding: 20px;
}

.divider {
  width: 90%;
  height: 2px;
  background: #1e3c72;
  margin: 10px auto 30px auto;
  border-radius: 1px;
}

h1 {
  text-align: center;
  font-size: 28px;
  color: #222;
  margin-bottom: 30px;
}

body.page h1 {
  font-size: 32px;
  color: #1e3c72;
}

.ads-label {
  margin: 12px 0 8px;
  font-size: 12px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  margin: 15px auto;
  width: 90%;
  max-width: 900px;
  background: linear-gradient(to right, #32477d, #5d709d);
  border-radius: 12px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.card:hover {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  transform: scale(1.02);
}

.card img {
  height: 100px;
  width: auto;
  margin-right: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.instruction-image {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  display: block;
}

.instruction-text,
.instruction-text1,
.instruction-text2 {
  font-size: 20px;
  color: #333;
  margin: 0 auto 20px;
  max-width: 90%;
  line-height: 1.6;
}

.instruction-text1 {
  font-size: 28px;
  font-weight: bold;
  color: #1e3c72;
}

.btn {
  display: inline-block;
  padding: 15px 25px;
  font-size: 18px;
  background: linear-gradient(to right, #32477d, #5d709d);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  margin: 10px auto 20px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(to right, #1e3c72, #2a5298);
}

.input-field {
  display: block;
  width: 90%;
  max-width: 400px;
  margin: 10px auto 20px;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.label {
  display: block;
  text-align: left;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin: 12px auto;
  width: 90%;
  max-width: 600px;
  background: linear-gradient(to right, #32477d, #5d709d);
  border-radius: 12px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  box-sizing: border-box;
}

.toggle-card .card-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toggle-card img {
  height: 48px;
  width: auto;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 30px;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: #2a5298;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 0 16px;
}

.place-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  background: linear-gradient(to right, #32477d, #5d709d);
  border-radius: 12px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.place-card:hover {
  transform: scale(1.03);
  background: linear-gradient(to right, #1e3c72, #2a5298);
}

.place-card img {
  width: 100%;
  max-width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #1e3c72;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 600px) {
  h1,
  body.page h1 {
    font-size: 22px;
  }

  .card {
    width: 90%;
    font-size: 15px;
    padding: 14px;
  }

  .card img {
    height: 50px;
    margin-right: 10px;
  }

  .instruction-image {
    max-width: 200px;
  }

  .instruction-text,
  .instruction-text2 {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  .toggle-card {
    font-size: 16px;
  }
}
