.faq-row {
    display: block; 
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}
.faq-q {
    font-weight: bold;
    margin-bottom: 5px;
    white-space: normal;
    overflow-wrap: break-word;
    padding-left: 30px;
    text-indent: -20px;
}
.faq-a {
    display: block;
    white-space: normal;
    line-height: 1.5;
    overflow-wrap: break-word;
    padding-left: 30px;
    text-indent: -20px;
}






.signup-invite-pro {
    cursor: pointer;
  background: linear-gradient(90deg, #48306c 0%, #24175e 100%);
  border-radius: 22px;
  padding: 28px 24px 22px 24px;
  position: relative;
  overflow: hidden;
  margin: 16px 0 28px 0;
  min-height: 140px;
}
.signup-invite-pro-link {
  display: block;
  text-decoration: none;
}
.invite-content-pro {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start; /* text stays at the top */
  justify-content: flex-start;
}
.signup-invite-pro h2 {
  color: #fff;
  font-size: 1.42rem;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 18px 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 8px #0002;
}
.invite-btn-pro {
  background: #9162a8;
  color: #fff;
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 24px #7d4bf733;
  margin-bottom: 6px;
  display: inline-block;
  transition: background .2s, box-shadow .2s;
}
.invite-mascot-pro {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 135px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 16px #30255044);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .signup-invite-pro {
    padding: 16px 10px 24px 10px;
    min-height: 90px;
  }
  .invite-mascot-pro {
    width: 90px;
    right: 0;
    bottom: 0;
  }
  .signup-invite-pro h2 {
    font-size: 1.08rem;
    margin-bottom: 13px;
  }
  .invite-btn-pro {
    padding: 10px 28px;
    font-size: 1rem;
  }
}


    .categories-title { 
  color: #fff;
  font-size: 1.5em;
  letter-spacing: 1px;
 /* margin: 0 0 30px 0;*/
 margin-bottom: 0;
}

.view-more-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 50px;
  border-radius: 40px;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  border: none;
  transition: background .18s, color .15s;
  display: inline-block;
  margin-left: 10px;
  box-shadow: 0 2px 10px #0002;
}



.view-more-link:hover,
.view-more-link:focus {
  background: #fff;
  color: #4a00e0;
  text-decoration: none;
}

.category-slider-cards {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-slider-cards::-webkit-scrollbar { display: none; }

.cat-card {
  position: relative;
  min-width: 120px;
  max-width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px #0005, 0 2px 8px #202e4d60;
  background: rgba(44, 45, 63, 0.85);
  margin-right: 12px;
  text-decoration: none;
}

/* PNG/JPG full cover */
.cat-thumb-img {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
  display: block;
}

/* SVG icon centered */
.cat-thumb-svg {
  position: relative;
  width: 50px;
  height: 50px;
  z-index: 1;
  display: block;
  margin: 0 auto;
  top: 0; left: 0; right: 0; bottom: 0;
  object-fit: contain;
  padding: 0;
}

/* Card name overlay */
.cat-card-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  padding: 6px 4px 8px 4px;
  background: rgba(225,225,225,0.15);
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.hojo-game-card-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  padding: 6px 4px 8px 4px;
  background: rgba(0, 0, 0, 0.7); /* Darker background for better visibility */
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.cat-arrow {
  font-size: 1.4em;
  margin-left: 8px;
  line-height: 1;
  color: #fff;
  filter: drop-shadow(0 0 6px #101a2c80);
  display: inline-block;
}

.cat-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 12px #0003;
  transition: background 0.15s, color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-slider-btn.left { left: -14px; right: auto; }
.cat-slider-btn.right { right: -14px; left: auto; }
.cat-slider-btn:active, .cat-slider-btn:hover {
  background: #ff4323;
  color: #fff;
}
.cat-card:hover,
.cat-card:focus {
  background: rgba(225,225,225,0.15);
  transition: background 0.18s;
  
}


/* Responsive */
@media (max-width: 700px) {
  .categories-header-row {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .categories-title {
    font-size: 1.12em;
    margin-bottom: 0;
  }
  .view-more-link {
    font-size: 0.80em;
    padding: 5px 10px;
    border-radius: 7px;
    margin-left: auto;
    margin-top: 0;
    width: auto;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
  }
  .cat-card {
    min-width: 110px;
    max-width: 110px;
    height: 110px;
    border-radius: 12px;
    margin-right: 7px;
  }
  .cat-thumb-img, .cat-thumb-svg {
    border-radius: 12px;
  }
  .cat-thumb-svg {
    width: 26px;
    height: 26px;
  }
  .cat-card-name {
    font-size: 0.9em;
    padding: 6px 2px 7px 2px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  .cat-arrow {
    font-size: 1em;
    margin-left: 4px;
  }
  .cat-slider-btn {
    font-size: 1.1em;
    width: 28px;
    height: 28px;
  }
  .cat-slider-btn.left { left: -6px; right: auto; }
  .cat-slider-btn.right { right: -6px; left: auto; }
}



.game-info .header-right {
  display: flex;
  justify-content: center;
}


.b-action {
  display: flex;
  align-items: center;
  justify-content: center;   /* center the main cluster */
  gap: 8px;
  flex-wrap: nowrap;         /* desktop: keep in one row */
  max-width: 680px;          /* keeps bar tidy */
  width: 100%;
}


.b-action .btn.btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 999px;

  line-height: 1;
  box-sizing: border-box;
}
.b-action .btn.btn-capsule i { font-size: 18px; line-height: 1; }
.b-action .btn.btn-capsule:has(i):not(:has(span)) { width: 40px; padding: 0; }


.b-action .btn-fullscreen { margin-left: auto; }


.b-action .btn-fullscreen::before {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  margin-right: 12px;
  background: rgba(255,255,255,.15);
}


@media (max-width: 600px) {
  .b-action { 
    flex-wrap: wrap;
    max-width: 460px; 
    gap: 6px; 
  }
  .b-action .btn.btn-capsule { 
    height: 36px; 
    min-width: 36px; 
    padding: 0 10px; 
    font-size: 13px; 
    gap: 6px; 
  }

  .b-action .btn-fullscreen { margin-left: 0; }
  .b-action .btn-fullscreen::before { display: none; }
}


@media (max-width: 360px) {
  #share-btn span, #report-game span { display: none; }
  #share-btn, #report-game { padding: 0; width: 36px; }
}




#offcanvasAuth {
  width: 360px;
  max-width: 100%;
  background: #292A3C;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

#offcanvasAuth .offcanvas-header {
  position: relative;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#offcanvasAuth .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#offcanvasAuth #offcanvasAuthLabel {
  color: #fff;
  font-weight: 600;
}

#offcanvasAuth .welcome-note {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: .5rem;
  padding-left: .75rem;
  border-left: 3px solid #8a2be2; /* Purple accent */
  text-align: left;
}

#offcanvasAuth .offcanvas-body {
  display: block !important;
  text-align: center;
  padding-top: 1rem !important;
}

#offcanvasAuth .benefits {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  text-align: left;
  margin-bottom: 1rem;
}

#offcanvasAuth .benefits ul {
  margin: 0 0 .5rem;
}

#offcanvasAuth .benefits li {
  margin: .2rem 0;
}

#offcanvasAuth .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: .8rem 1rem;
}

#offcanvasAuth .btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
}

#offcanvasAuth .btn-primary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}

#offcanvasAuth .btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
  background: transparent;
}

#offcanvasAuth .btn-outline-primary:hover {
  background: #0d6efd;
  color: #fff;
}

#offcanvasAuth .sep {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 1rem 0;
}

#offcanvasAuth .quick-links {
  display: grid;
  gap: .5rem;
  margin-top: .75rem;
  text-align: left;
}

#offcanvasAuth .quick-links a {
  color: rgba(255, 255, 255, .9);
  font-size: .92rem;
}

#offcanvasAuth .quick-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  #offcanvasAuth .offcanvas-body {
    padding-top: .75rem !important;
  }

  #offcanvasAuth .benefits {
    font-size: .95rem;
  }
}
