body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f0f0f0;
  color: #000;
  padding: 0;
}

/* Header */
.joyo-header {
  background: linear-gradient(to right, #0d1b4c, #001133);
  color: white;
  padding: 20px;
  text-align: center;
}
.joyo-header h1 {
  margin: 0;
  font-size: 28px;
}
.joyo-header p {
  margin: 5px 0 0;
  font-size: 16px;
}

/* Banner */
.joyo-banner {
  text-align: center;
  margin: 20px;
}
.joyo-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Cards Layout */
.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Single Card */
.launch-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Ribbon */
.ribbon {
  background: linear-gradient(to right, #6ce0ff, #fd79a8);
  color: white;
  font-weight: bold;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Image Row */
.dual-img {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dual-img img {
  height: 50px;
}

/* Title and Subtitle */
.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}
.subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 10px;
}

/* Price and Action */
.price-tag {
  background: yellow;
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.add-btn {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
}
.bought-badge {
  background: yellow;
  color: black;
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: bold;
}

/* Terms */
.terms {
  font-size: 12px;
  color: #555;
}
.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 25px; /* space above banner */
  max-width: 95%;
}

.top-actions .top-btn {
  display: inline-block;
  padding: 8px 18px;
  font-weight: 700;          /* bold */
  font-size: 16px;
  line-height: 1.2;
  color: #000;               /* black text */
  background: #e0e0e0;       /* gray pill */
  border-radius: 999px;      /* full pill */
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.top-actions .top-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
}

.top-actions .top-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Optional: make Sign In slightly darker so it stands out */
.top-actions .top-btn-accent {
  background: #cfcfcf;
}
@media (max-width: 480px) {
  .joyo-banner img {
    max-height: 140px;
  }
}
@media (max-width: 480px) {
  .top-btn {
    font-size: 14px;
    padding: 6px 14px;
  }

  .launch-card {
    padding: 15px;
    max-width: 100%;  /* full width on phone */
  }

  .price-tag {
    font-size: 14px;
  }
}
.top-actions {
  position: sticky;
  top: 0;
  background: #f0f0f0;
  z-index: 999;
  padding: 10px;
}
.joyo-footer {
  background: #0d1230;
  color: white;
  text-align: center;
  padding: 30px 20px 20px;
  font-size: 14px;
  margin-top: 40px;
  border-top: 3px solid #ffeb3b; /* yellow line */
}

.joyo-footer a {
  color: #aad6ff;
  margin: 0 10px;
  text-decoration: none;
}

.joyo-footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.social-links img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

.legal-links {
  margin-bottom: 10px;
}

.dark-mode .joyo-footer {
  background: #111;
  color: #ddd;
}

.dark-mode .joyo-footer a {
  color: #90caf9;
}
.draw-time {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
}
a[href="dashboard.html"],
a[href="my-profile.html"],
#dark-mode-toggle {
  display: none !important;
}
@media (max-width: 480px) {
  h2 {
    font-size: 18px;
  }
  .ticket-row label {
    font-size: 14px;
  }
  .ticket-row input {
    width: 60px;
  }
  button {
    font-size: 14px;
    padding: 10px;
  }
}

