/* =========================================================
   Silly Clicky Things — GAMES (games.css)
   Game panel (Rabbit Paw, CatXP…)
   ========================================================= */

/*
  IMPORTANT: Put the game panel INSIDE .sct-content so the outer
  frame remains consistent across all pages.
*/
#container {
  text-align: center;
  position: relative;
  padding: 2rem;
}

/* Layout wrapper only — visuals come from the outer .sct-container frame */
.sct-game-frame {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  /* remove inner panel visuals */
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;

  /* keep layout behaviours */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Shared game headings */
#game-title {
  font-size: 1.3rem;                 /* smaller */
  color: var(--sct-text-main);
  margin-bottom: 0.6rem;
  text-shadow: none;                  /* crisp */
  font-weight: 500;
  letter-spacing: 0.2px;
}

#game-desc {
  font-size: 0.9rem;
  color: var(--sct-text-sub);
  margin-bottom: 1.1rem;
  opacity: 1;
}

/* Fixed-height message area: prevents layout jump vertically */
.sct-message-wrap {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Button image */
.sct-game-button {
  width: 180px;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.2s ease;
  border: 1.5px solid rgba(237, 9, 237, 0.50);
  border-radius: 18px;
  display: block;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 25px var(--sct-glow-pink);
}

.sct-game-button:active {
  transform: scale(0.93);
  filter: brightness(0.95);
}

/* Counter text */
.sct-counter {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: var(--sct-text-accent);
}

/* Subtitle */
.sct-game-subtitle {
  font-size: 0.9rem;
  color: var(--sct-text-sub);
  margin-bottom: 1rem;
}

/* Badge in top-right corner */

/* ---------- Reusable "Peek list" dropdown (global) ---------- */
.sct-peek {
  margin: 16px auto 0;
  max-width: 720px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  overflow: hidden;
}

.sct-peek > summary {
  list-style: none; /* removes default triangle in some browsers */
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  user-select: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sct-peek > summary::-webkit-details-marker {
  display: none; /* removes default marker in Chrome/Safari */
}

.sct-peek__hint {
  opacity: 0.75;
  font-weight: 600;
  font-size: 0.95rem;
}

.sct-peek__content {
  text-align: left;
  font: inherit;
  font-size: 1rem;      /* matches subtitle scale */
  line-height: 1.6;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}


/* Peek list: left aligned, roomier, and matches cert subtitle styling */
.sct-peek__list {
  text-align: left;              /* overrides any centered parent */
  padding-left: 1.35rem;         /* keeps numbers nicely offset */
  margin: 12px 0 0;
  font-size: 0.95rem;            /* same as .sct-cert__subtitle */
  line-height: 1.55;             /* more breathable */
  opacity: 0.8;                  /* same vibe as subtitle */
}

.sct-peek__list li {
  margin: 0.6em 0;        /* space between lines */
  line-height: 1.6;       /* easier scanning */
}

/* Typography: keep game titles/messages crisp (no fuzzy glow) */
#game-title,
#message,
#message.show {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55) !important;
}




/* More silly things (related links) */
#more-silly-things, #blog-link {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--sct-font-main);
}

#more-silly-things h3, #blog-link h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* list layout */
#more-silly-things ul, #blog-link ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#more-silly-things li, #blog-link li {
  margin-bottom: 0.6rem;   /* spacing between lines */
}

#more-silly-things a, #blog-link a {
  opacity: 0.9;
}



.sct-related-row {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 1.5rem;
}

.sct-related-row > .sct-related,
.sct-related-row > #more-silly-things,
.sct-related-row > #more-silly-things .sct-related {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 900px) {
  .sct-related-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

/* Auto-generated per-page related links block */
.sct-related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--sct-font-main);
}

.sct-related h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.sct-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sct-related li {
  margin-bottom: 0.6rem;
}


  /* =========================================================
   SEO / CONTENT BLOCK (used under games & generators)
   ========================================================= */

.sct-infotext {
  max-width: 70ch;
  margin: 2.25rem auto 0;
  text-align: left;
  line-height: 1.65;
  color: var(--sct-text-main);
  font-size: 0.96rem;
  font-family: var(--sct-font-main);
}



.sct-infotext h2,
.sct-infotext h3 {
  color: var(--sct-text-main);
  margin: 1.6rem 0 0.6rem;
  line-height: 1.25;
  font-size: 1.15rem;
}

.sct-infotext p {
  margin: 0.85rem 0 0;
}

@media (max-width: 480px) {
  #container { padding: 1rem; }
}



/* Container that follows the H1 */
.sct-cat-gif-wrap {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.75rem;
}

/* The GIF itself */
.sct-cat-gif {
  width: 100px;
  height: auto;
  opacity: 0.9;
}


/* Top Picks only */
#top-picks ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#top-picks li {
  margin: 0;
  padding: 0;
}

#top-picks .sct-top-pick {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.1;
  cursor: pointer;
}

#top-picks .sct-top-pick:hover {
  background: rgba(255, 255, 255, 0.1);
}

#top-picks .sct-top-pick:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}
