/* ===== Golden Hour Safari — Base / Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", "Bookman Old Style", serif;
  background-color: #3a1f14;
  background-image:
    radial-gradient(circle at 50% -10%, #ffdc8a 0%, #ffb954 18%, #f08a3c 34%, #d85f34 50%, #a8452e 68%, #6b2f28 84%, #3a1f14 100%);
  background-attachment: fixed;
  color: #fff3dd;
  line-height: 1.45;
  padding-bottom: 24px;
  overflow-x: hidden;
}
[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::-webkit-scrollbar { display: none; }

/* ===== Top Bar ===== */
.topbar {
  position: static; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(180deg, #7a3a1f, #5c2a18);
  border-bottom: 2px solid #d4842a;
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.topbar-logo { font-size: 18px; font-weight: 700; letter-spacing: .02em; color: #ffdf9a; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.topbar-search-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #8a4522; color: #ffd88a;
  border: 1px solid #d4842a;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* ===== Category Tabs ===== */
.cat-tabs {
  position: static; top: 60px; z-index: 30;
  background: #5c2a18; border-bottom: 1px solid #a8542e;
  overflow-x: auto; white-space: nowrap;
}
.cat-tabs-inner { display: inline-flex; gap: 8px; padding: 10px 16px; }
.cat-tab {
  flex-shrink: 0; padding: 7px 14px; border-radius: 18px;
  background: #6e3420; color: #f0c894; font-size: 13px; font-weight: 700;
  border: 1px solid #a8542e;
}
.cat-tab.active {
  background: linear-gradient(135deg, #f0a83c, #c8531f);
  color: #3a1f14;
  box-shadow: 0 2px 10px rgba(240,168,60,.5);
  border-color: transparent;
}

/* ===== Search ===== */
.search-bar-wrap {
  position: static; top: 60px; z-index: 30;
  display: flex; gap: 8px; padding: 10px 16px;
  background: #5c2a18; border-bottom: 1px solid #a8542e;
}
.search-input {
  flex: 1; padding: 9px 14px; border-radius: 10px; border: 1px solid #a8542e;
  background: #48210f; color: #fff3dd; font-size: 14px;
}
.search-cancel { font-size: 14px; color: #f0a83c; font-weight: 700; padding: 0 4px; }

/* ===== Loading ===== */
.loading-full { display: flex; align-items: center; justify-content: center; padding: 80px 0; }
.loading-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid #6e3420; border-top-color: #f0a83c;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Hero ===== */
.hero-sec {
  position: relative;
  margin: 14px 16px 24px;
  padding: 34px 16px 24px;
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd27a 0%, #f2924a 45%, #c85a2c 100%);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
}
.hero-sun {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d4 0%, #ffdf8a 55%, rgba(255,223,138,0) 78%);
  box-shadow: 0 0 40px 10px rgba(255,223,138,.5);
}
.hero-silhouettes { position: relative; font-size: 26px; letter-spacing: 10px; margin-bottom: 8px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.hero-title { position: relative; font-size: 26px; font-weight: 800; color: #3a1f14; text-shadow: 0 1px 2px rgba(255,255,255,.3); letter-spacing: .02em; }
.hero-sub { position: relative; font-size: 13px; color: #4a2818; margin-top: 6px; font-style: italic; }

/* ===== Section spacing ===== */
section[class$="-sec"] { margin-bottom: 30px; }
.sec-hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px; }
.sec-label { font-size: 16px; font-weight: 700; letter-spacing: .02em; color: #ffdf9a; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.sec-more { font-size: 12px; color: #f0a83c; font-weight: 700; }
.sec-cnt { font-size: 13px; color: #e0b078; }

/* ===== Golden Hour Spotlight — shadowed 3-col card grid ===== */
.spotlight-sec { padding: 0; }
.shadow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 16px; }
.shadow-card {
  cursor: pointer; border-radius: 14px; padding: 8px 8px 10px; background: rgba(122,58,31,.35);
  box-shadow: 0 6px 16px rgba(0,0,0,.30); transition: box-shadow .2s ease, transform .2s ease;
  min-width: 0;
}
.shadow-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.5), 0 0 0 1px rgba(240,168,60,.4); transform: translateY(-2px); }
.shadow-card-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.shadow-card-nm { font-size: 12px; font-weight: 700; margin-top: 7px; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shadow-card-desc { font-size: 10px; color: #d8b088; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Action — circular thumbnail ring, horizontal scroll ===== */
.ring-scroll { display: flex; gap: 16px; padding: 4px 16px; overflow-x: auto; }
.ring-item { flex-shrink: 0; width: 78px; cursor: pointer; text-align: center; }
.ring-thumb {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden; border: 2px solid #d4842a;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.ring-nm { font-size: 11px; margin-top: 6px; color: #f0d6a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Adventure — vertical cassette-slot marquee (infinite scroll, pause on hover) ===== */
.cassette-viewport { overflow: hidden; padding: 4px 0; }
.cassette-track {
  display: flex; gap: 12px; width: max-content; padding: 0 16px;
  animation: cassette-scroll 26s linear infinite;
}
.cassette-viewport:hover .cassette-track { animation-play-state: paused; }
@keyframes cassette-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.cassette-slot {
  flex-shrink: 0; width: 108px; cursor: pointer; position: relative;
  background: linear-gradient(180deg, #7a3a1f, #4a2314);
  border: 1px solid #d4842a; border-radius: 10px; padding: 8px 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 4px 12px rgba(0,0,0,.3);
}
.cassette-notch { display: block; width: 30px; height: 4px; margin: 0 auto 6px; border-radius: 2px; background: #3a1f14; box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
.cassette-img { border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; }
.cassette-nm { font-size: 11px; font-weight: 700; margin-top: 6px; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cassette-desc { font-size: 9px; color: #d8b088; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Savanna Legends — podium (top 3) + compact list ===== */
.legend-intro { margin: 0 16px 14px; font-size: 12px; color: #e0c0a0; font-style: italic; padding: 0 4px; }
.podium-row { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 0 16px 20px; }
.podium-slot { flex-shrink: 0; width: 30%; max-width: 110px; cursor: pointer; text-align: center; position: relative; }
.podium-medal { font-size: 22px; margin-bottom: 4px; }
.podium-thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; border: 2px solid #d4842a; }
.podium-1 .podium-thumb { border-color: #ffd76a; }
.podium-2 .podium-thumb { border-color: #d9d9d9; }
.podium-3 .podium-thumb { border-color: #d8763a; }
.podium-nm { font-size: 11px; font-weight: 700; margin-top: 6px; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium-base { margin-top: 6px; border-radius: 8px 8px 0 0; font-weight: 800; color: #3a1f14; display: flex; align-items: center; justify-content: center; }
.base-1 { height: 44px; background: linear-gradient(180deg, #ffd76a, #c8531f); }
.base-2 { height: 30px; background: linear-gradient(180deg, #e6e6e6, #a8a8a8); }
.base-3 { height: 22px; background: linear-gradient(180deg, #d8a878, #a8542e); }
.legend-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.legend-item {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: rgba(122,58,31,.4); border: 1px solid #a8542e; border-radius: 12px; padding: 8px 12px;
}
.legend-rank { width: 28px; text-align: center; font-weight: 800; color: #e0b078; flex-shrink: 0; font-size: 13px; }
.legend-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid #d4842a; }
.legend-right { flex: 1; min-width: 0; }
.legend-nm { font-size: 13px; font-weight: 700; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend-desc { font-size: 11px; color: #d8b088; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-tag { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700; color: #3a1f14; background: #f0a83c; padding: 2px 7px; border-radius: 6px; }

/* ===== Puzzle — 5-column mini icon grid ===== */
.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0 16px; }
.minicard { cursor: pointer; min-width: 0; }
.minicard-img { border-radius: 8px; overflow: hidden; border: 1px solid #d4842a; aspect-ratio: 1/1; }
.minicard-nm { font-size: 9px; margin-top: 4px; text-align: center; color: #f0d6a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Sports — outlined minimalist card grid (1px border, no shadow/gradient) ===== */
.outline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.outcard { cursor: pointer; border: 1px solid #d4842a; border-radius: 10px; padding: 6px; min-width: 0; }
.outcard-img { border-radius: 6px; overflow: hidden; aspect-ratio: 1/1; }
.outcard-nm { font-size: 11px; font-weight: 700; margin-top: 6px; text-align: center; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outcard-desc { font-size: 10px; color: #d8b088; margin-top: 2px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Racing — big hero card (height-capped) + horizontal scroll strip ===== */
.race-hero {
  display: flex; gap: 12px; margin: 0 16px 12px; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: rgba(122,58,31,.35); border: 1px solid #d4842a; padding: 10px;
}
.race-hero-img { width: 42%; flex-shrink: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; max-height: 140px; }
.race-hero-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.race-badge { align-self: flex-start; font-size: 10px; font-weight: 700; background: linear-gradient(135deg, #f0a83c, #c8531f); color: #3a1f14; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }
.race-name { font-size: 15px; font-weight: 700; color: #fff3dd; }
.race-desc { font-size: 11px; color: #e0c0a0; }
.race-scroll { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; }
.race-card { flex-shrink: 0; width: 92px; cursor: pointer; }
.race-card-img { border-radius: 10px; overflow: hidden; border: 1px solid #d4842a; aspect-ratio: 1/1; }
.race-card-nm { font-size: 11px; margin-top: 5px; text-align: center; color: #f0d6a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Fresh Tracks — vertical timeline, alternating left/right ===== */
.timeline { position: relative; padding: 6px 8px; display: flex; flex-direction: column; gap: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, #d4842a 0 6px, transparent 6px 12px);
}
.tl-item { position: relative; display: flex; width: 50%; cursor: pointer; }
.tl-left { justify-content: flex-end; padding-right: 18px; }
.tl-right { margin-left: 50%; justify-content: flex-start; padding-left: 18px; }
.tl-dot {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 13px; z-index: 2; background: #3a1f14; border-radius: 50%;
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #d4842a;
}
.tl-left .tl-dot { right: -10px; }
.tl-right .tl-dot { left: -10px; }
.tl-card { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.tl-right .tl-card { flex-direction: row; }
.tl-left .tl-card { flex-direction: row-reverse; text-align: right; }
.tl-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid #d4842a; }
.tl-body { min-width: 0; }
.tl-nm { font-size: 12px; font-weight: 700; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-tag { font-size: 10px; font-weight: 700; color: #3a1f14; background: #f0a83c; padding: 2px 7px; border-radius: 6px; }

/* ===== Kids — fixed-width flex-wrap tag-stream ===== */
.tag-stream { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px; }
.tag-card { flex-shrink: 0; width: 84px; cursor: pointer; }
.tag-card-img { border-radius: 12px; overflow: hidden; border: 1px solid #d4842a; aspect-ratio: 1/1; }
.tag-card-nm { font-size: 11px; margin-top: 5px; text-align: center; color: #f0d6a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== All grid / filtered grid ===== */
.all-grid, .games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 16px 8px;
}
@media (min-width: 480px) {
.all-grid, .games-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 860px) {
.all-grid, .games-grid { grid-template-columns: repeat(8, 1fr); }
}
.agcard, .gcard { cursor: pointer; min-width: 0; }
.agcard-img, .gcard-img { border-radius: 12px; overflow: hidden; border: 1px solid #d4842a; aspect-ratio: 1/1 !important; width: 100%; height: auto; }
.agcard-img img, .gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.agcard-nm, .gcard-nm {
  font-size: 11px; margin-top: 5px; text-align: center; color: #f0d6a8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Guide's Whispers — chat bubble list ===== */
.bubble-list { display: flex; flex-direction: column; gap: 14px; padding: 4px 16px; }
.bubble-item { display: flex; cursor: pointer; }
.bubble-left { justify-content: flex-start; }
.bubble-right { justify-content: flex-end; }
.bubble-box {
  position: relative; max-width: 82%; background: rgba(122,58,31,.5); border: 1px solid #a8542e;
  border-radius: 14px; padding: 10px 14px;
}
.bubble-left .bubble-box { border-bottom-left-radius: 4px; }
.bubble-right .bubble-box { border-bottom-right-radius: 4px; }
.bubble-box::after {
  content: ""; position: absolute; bottom: 0; width: 0; height: 0; border: 7px solid transparent;
}
.bubble-left .bubble-box::after { left: -6px; border-top-color: #a8542e; border-bottom: 0; }
.bubble-right .bubble-box::after { right: -6px; border-top-color: #a8542e; border-bottom: 0; }
.bubble-nm { color: #ffdf9a; font-weight: 700; font-size: 13px; }
.bubble-cat { color: #e0b078; font-weight: 400; font-size: 11px; margin-left: 4px; }
.bubble-desc { color: #e0c0a0; font-size: 12px; margin-top: 5px; font-style: italic; opacity: .9; }

/* ===== Girl — left color-stripe list ===== */
.bar-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.bar-item {
  display: flex; align-items: center; gap: 12px; cursor: pointer; overflow: hidden;
  background: rgba(122,58,31,.35); border-radius: 10px; padding: 10px 12px 10px 0;
}
.bar-stripe { width: 6px; align-self: stretch; flex-shrink: 0; border-radius: 3px; }
.bar-c1 .bar-stripe { background: #f0a83c; }
.bar-c2 .bar-stripe { background: #d8763a; }
.bar-c3 .bar-stripe { background: #c8531f; }
.bar-c4 .bar-stripe { background: #a8452e; }
.bar-thumb { width: 50px; height: 50px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid #d4842a; }
.bar-body { flex: 1; min-width: 0; }
.bar-nm { font-size: 13px; font-weight: 700; color: #fff3dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-desc { font-size: 11px; color: #d8b088; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Arcade — single oversized focus card ===== */
.focus-card {
  display: block; margin: 0 16px; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: rgba(122,58,31,.4); border: 1px solid #d4842a; box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.focus-card-img { aspect-ratio: 16/9; }
.focus-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.focus-badge {
  align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(135deg, #f0a83c, #c8531f); color: #3a1f14; padding: 3px 8px; border-radius: 6px; text-transform: uppercase;
}
.focus-name { font-size: 18px; font-weight: 800; color: #fff3dd; }
.focus-desc { font-size: 12px; color: #e0c0a0; }
.focus-play {
  align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700;
  background: #f0a83c; color: #3a1f14; padding: 7px 14px; border-radius: 20px;
  box-shadow: 0 2px 10px rgba(240,168,60,.4);
}

/* ===== Load more ===== */
.more-wrap, .loadmore-wrap { display: flex; justify-content: center; padding: 16px; }
.more-btn, .loadmore-btn {
  padding: 10px 22px; border-radius: 20px; background: #6e3420; color: #ffdf9a;
  font-size: 13px; font-weight: 700; border: 1px solid #d4842a;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
}

/* ===== Filter header ===== */
.filter-hdr { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.filter-back { font-size: 13px; color: #f0a83c; font-weight: 700; }
.filter-title { flex: 1; font-size: 16px; font-weight: 700; letter-spacing: .02em; color: #ffdf9a; }
.filter-cnt { font-size: 12px; color: #e0b078; }
.empty-msg { text-align: center; padding: 60px 0; color: #e0b078; font-size: 13px; }

/* ===== Footer ===== */
.site-footer { display: flex; justify-content: center; gap: 10px; padding: 24px 16px; font-size: 12px; color: #d8a878; }

/* ===== Back to top ===== */
.totop-btn {
  position: fixed; right: 16px; bottom: 20px; z-index: 50;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #f0a83c, #c8531f); color: #3a1f14; font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}

/* ===== Desktop content width cap ===== */
@media (min-width: 860px) {
  body { max-width: 1080px; margin: 0 auto; }
}
