/* Roblox game hub styles
   Scoped to .roblox_page so it doesn't leak into other layouts
*/

.roblox_page {
  background: radial-gradient(circle at top, #17192b 0, #05060a 60%);
  color: #f5f7ff;
  min-height: 100vh;
  padding: 4rem 1.5rem 5rem;
  box-sizing: border-box;
}

/* Centering wrapper from resource_directions already exists;
   we just gently align with new design */
.roblox_main {
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */

.roblox_hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, #15172a 0%, #0b0c16 40%, #191842 100%);
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.roblox_hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(0, 255, 163, 0.18) 0, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(120, 84, 255, 0.2) 0, transparent 52%);
  mix-blend-mode: screen;
  opacity: 0.95;
  pointer-events: none;
}

.roblox_hero_body,
.roblox_hero_media {
  position: relative;
  z-index: 2;
}

.roblox_badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.8) 0, rgba(9, 11, 20, 0.95) 60%);
  color: #c8e6ff;
  box-shadow: 0 0 0 1px rgba(130, 255, 193, 0.3);
}

.roblox_badge::before {
  content: "⬛";
  font-size: 0.7rem;
  filter: drop-shadow(0 0 6px rgba(0, 255, 163, 0.6));
}

.roblox_title {
  margin: 1.1rem 0 0.6rem;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.roblox_lead {
  margin: 0.5rem 0 1.3rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #dde7ff;
  max-width: 38rem;
}

.roblox_highlights {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #ccd6ff;
}

.roblox_highlights li + li {
  margin-top: 0.25rem;
}

/* ---------- Buttons ---------- */

.roblox_cta_group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.roblox_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    color 0.15s ease-out;
  text-decoration: none;
  white-space: nowrap;
}

.roblox_btn-primary {
  background: linear-gradient(135deg, #00ffb2 0%, #35ffe8 35%, #7b5cff 100%);
  color: #050612;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.roblox_btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.roblox_btn-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.roblox_btn-ghost {
  background: rgba(12, 14, 28, 0.8);
  color: #e4e7ff;
  border: 1px solid rgba(198, 226, 255, 0.3);
}

.roblox_btn-ghost:hover {
  background: rgba(24, 27, 60, 0.95);
  transform: translateY(-1px);
}

.roblox_btn-ghost:active {
  transform: translateY(0);
}

/* ---------- Note & chips ---------- */

.roblox_note {
  font-size: 0.82rem;
  color: #cfd8ff;
  margin-bottom: 1rem;
  max-width: 32rem;
}

.roblox_note span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  margin-right: 0.3rem;
  color: #95ffe0;
}

.roblox_main{
    margin-top: 40px;
    margin-bottom: 40px !important;
}

.roblox_skill_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.roblox_chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 207, 255, 0.4);
  background: radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.75) 0, #0b0c18 65%);
  color: #d6e3ff;
}

/* ---------- Hero media ---------- */

.roblox_hero_media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.roblox_cover_frame {
  margin: 0;
  border-radius: 1.5rem;
  padding: 0.4rem;
  background:
    radial-gradient(circle at 0 0, rgba(0, 255, 214, 0.4) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(150, 120, 255, 0.45) 0, transparent 55%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  max-width: 100%;
}

.roblox_cover_img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  object-fit: cover;
}

/* ---------- Panels ---------- */

.roblox_panel {
  margin-top: 2.8rem;
  background: rgba(8, 9, 20, 0.9);
  border-radius: 1.5rem;
  padding: 2.1rem 2rem;
  border: 1px solid rgba(190, 209, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

.roblox_h2 {
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

/* Steps */

.roblox_steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.roblox_steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
}

.step_num {
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(149, 255, 224, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: radial-gradient(circle at 30% 0, rgba(0, 255, 214, 0.2) 0, #050710 75%);
  color: #eafffb;
  box-shadow: 0 0 12px rgba(0, 255, 214, 0.4);
}

.roblox_steps h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.roblox_steps p {
  margin: 0;
  font-size: 0.9rem;
  color: #d0dcff;
}

.roblox_device_note {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  color: #cdd8ff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .roblox_page {
    padding: 3rem 1.25rem 3.5rem;
  }

  .roblox_hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.6rem;
  }

  .roblox_hero_media {
    order: -1;
    margin-bottom: 1.3rem;
  }
}

@media (max-width: 640px) {
  .roblox_panel {
    padding: 1.6rem 1.4rem;
  }

  .roblox_cta_group {
    flex-direction: column;
    align-items: stretch;
  }

  .roblox_btn {
    width: 100%;
    justify-content: center;
  }
}
