body {
  background: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 20px 0;
}

.main-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border: 1px solid #e1e5e9;
}

.page-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: #6c757d;
  border-radius: 15px;
  color: white;
  border: 1px solid #5a6268;
}

.page-header h1 {
  margin: 0;
  font-size: 1.7em;
  font-weight: bold;
  color: white;
  line-height: 1.35;
}

.promo-header-tools {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.promo-header-tools a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.promo-header-tools a:hover {
  text-decoration: underline;
  color: #fff;
}

.qbb-intro {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 12px;
}

.qbb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
}

.qbb-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f7f8;
}

.qbb-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2.6 / 1;
  object-fit: contain;
}

.coin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coin-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 12px 16px 14px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #dee2e6;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, #fff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 12%, transparent);
  text-decoration: none;
  color: inherit;
}

.coin-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.coin-no {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  background: var(--accent);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #fff));
}

.coin-text {
  flex: 1;
  min-width: 0;
}

.coin-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.coin-text em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: #6c757d;
  font-weight: 600;
  font-size: 12.5px;
}

.coin-card .fa {
  color: var(--accent);
  font-size: 22px;
}

.slide-status {
  text-align: center;
  color: #495057;
  padding: 40px 16px;
  font-weight: 600;
}

.slide-frame {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #f1f3f4;
  border-radius: 14px;
  overflow: hidden;
}

.slide-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.slide-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.slide-nav button {
  border: none;
  border-radius: 10px;
  background: #007c91;
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}

.slide-nav button:disabled {
  background: #e0e0e0;
  color: #757575;
  cursor: default;
}

.slide-nav button:not(:disabled):hover {
  background: #006578;
}

@media (max-width: 768px) {
  .main-container {
    margin: 10px;
    padding: 16px;
  }

  .page-header h1 {
    font-size: 1.25em;
  }

  .qbb-grid {
    gap: 6px;
  }
}
