
html { min-height: 100%; }
body{
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #747E88;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body > .site-header, body > .footer { flex-shrink: 0; }
body > .site-content, body > .main-wrap { flex: 1 0 auto; }

/* Full-width screenshot carousel; neighbouring slides remain visible. */
.game-page {
  width: 100%;
  min-width: 0;
}
.slideshow-container {
  width: 100%;
  min-width: 0;
  position: relative;
  margin: auto;
}
.carousel-track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  box-sizing: border-box;
  padding: 8px var(--end-space, 0px) 8px var(--start-space, 0px);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .mySlides {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: center;
  opacity: 0.7;
  transition: opacity 180ms ease;
}
.carousel-track .mySlides[aria-current="true"],
.carousel-track .mySlides:hover { opacity: 1; }
.carousel-track .mySlides img {
  display: block;
  width: auto;
  max-width: var(--slide-max, 100%);
  height: min(440px, 55vh);
  object-fit: contain;
}
.slideshow-container .prev, .slideshow-container .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.slideshow-container .prev { left: 8px; }
.slideshow-container .next { right: 8px; }
.slideshow-container button:disabled { opacity: 0.3; cursor: default; }
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}
.carousel-dots .dot[aria-current="true"] { background: #555; }
.carousel-track:focus-visible, .slideshow-container button:focus-visible,
.carousel-dots button:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .carousel-track .mySlides { transition: none; }
}

.app_store_links{
  text-align: center;
}

.play-web {
  margin: 24px 0 32px;
  text-align: center;
}
.play-web-button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  background: #315bc4;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(49, 91, 196, 0.2);
}
.play-web-button:hover { background: #26499f; color: #fff; }
.play-web-button:focus-visible { outline: 3px solid #315bc4; outline-offset: 4px; }
.footer {
    margin: 20px 0 40px 0;
    padding: 0 20px;
    font-size: 14px;
    text-align: center;
    color: #555;
    background-color: #fff;
}
.footer span.spacer {
    margin: 0 10px;
}
.title {
  text-align: center;    
  margin-top: 20px;
  margin-bottom: 50px;
  font-size: 35px;
  font-weight: 400;
  line-height: 24px;
  color: #555;
}
.footer_games {
  max-width: 1000px;
  position: relative;
  margin: auto;
  text-align: center;
}
.other_games_icon {
  width: 128px;
  height: 128px;
  max-width: 30%;
}

.portrait_image {
  max-height: 700px;
  text-align: center;
  position: relative;
}

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 14px; }
.site-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.site-menu-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; color: #38424d; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background-color 160ms ease, color 160ms ease; }
.site-menu-link:hover, .site-menu-link:focus-visible { background: #eef5ff; color: #315bc4; }
.language-switch { display: inline-flex; flex: 0 0 auto; gap: 2px; border: 1px solid #d8e1ec; border-radius: 12px; padding: 3px; background: #f7faff; box-shadow: 0 2px 8px rgba(49, 91, 196, 0.08); }
.language-button { border: 0; background: transparent; padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; cursor: pointer; color: #747e88; text-decoration: none !important; line-height: 1.5; transition: background-color 160ms ease, color 160ms ease; }
.language-button:hover, .language-button:focus-visible { color: #315bc4; }
.language-button[aria-current="page"] { background: #315bc4; color: #fff; box-shadow: 0 2px 5px rgba(49, 91, 196, 0.22); }
.site-content { box-sizing: border-box; min-width: 0; max-width: 100%; padding-bottom: 40px; color: #38424d; line-height: 1.7; }
.site-content h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.25; overflow-wrap: anywhere; }
.site-content h2 { font-size: 27px; line-height: 1.35; margin-bottom: 18px; }
.site-content h3 { font-size: 21px; line-height: 1.4; }
.site-content p { margin: 16px 0; }
.site-content a { color: #2455b5; }
.site-content a:hover { text-decoration: underline; }
.site-content a:focus-visible, .language-button:focus-visible, .faq summary:focus-visible { outline: 3px solid #315bc4; outline-offset: 4px; }
.game-hero { text-align: center; padding: 24px 0 16px; }
.home-hero { max-width: 900px; margin: 0 auto; padding: 24px 0 16px; text-align: center; }
.home-hero h1 { text-align: center; }
.home-hero .game-intro, .home-hero > p:not(.game-intro) { max-width: 760px; margin: 20px auto; text-align: center; }
.game-positioning { font-size: 21px; font-weight: 600; }
.site-content .game-intro { max-width: 760px; margin: 20px auto; font-size: 18px; }
.app_store_links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.app_store_links { box-sizing: border-box; width: 100%; max-width: 100%; }
.app_store_links a { display: block; width: min(180px, calc(50% - 8px)); max-width: 100%; min-width: 0; }
.app_store_links img { display: block; width: 100%; height: auto; }
.game-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; min-width: 0; max-width: 100%; margin: 24px 0; }
.game-actions .app_store_links { display: contents; }
.game-actions .play-web { margin: 0; }
.game-actions .play-web-button { max-width: 100%; box-sizing: border-box; }
.site-content .play-web-button { color: #fff; }
.reading-content { max-width: 800px; margin: 0 auto; }
.content-section { margin: 40px 0; }
.content-section ul { list-style: disc; padding-left: 24px; }
.content-section li { margin: 8px 0; }
.faq details { border-bottom: 1px solid #d8e1ec; padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.game-card-grid { width: 100%; max-width: 800px; margin-left: auto; margin-right: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card { padding: 24px; border: 1px solid #d8e1ec; border-radius: 16px; margin: 16px 0; overflow-wrap: anywhere; }
.game-card { text-align: center; }
.game-card .other_games_icon { max-width: 100%; border-radius: 20px; margin-bottom: 12px; }
.related-games { margin-top: 48px; }
.related-games > h2 { text-align: center; }
.download-section { padding: 16px 0; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 24px 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 24px; color: #747e88; font-size: 14px; }
.breadcrumbs a { color: #315bc4; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.privacy-page { background: #fff; }
.privacy-page .privacy-block { margin: 0; padding: 24px 0 48px; background: #fff; }
.privacy-page .privacy-block__title { font-size: clamp(28px, 5vw, 42px); line-height: 1.25; color: #38424d; }
.privacy-page .privacy-block__text { color: #38424d; line-height: 1.7; }
.privacy-page .footer_games { margin-bottom: 40px; }
.analytics-consent { position: fixed; z-index: 1000; right: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); padding: 18px; border: 1px solid #d8e1ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18); color: #38424d; }
.analytics-consent p { margin: 0 0 14px; line-height: 1.5; }
.analytics-consent div { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent button { padding: 8px 14px; border: 0; border-radius: 8px; background: #315bc4; color: #fff; cursor: pointer; font-weight: 600; }
.analytics-consent button[data-consent="reject"] { background: #eef2f7; color: #38424d; }
.article-date { font-size: 14px; }
.article-cta { text-align: center; }
.listing-page > h1, .listing-page > .game-intro { text-align: center; }
.hero-card { text-align: center; }
.hero-card-art { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto 16px; border-radius: 18px; background: #101923; }
.hero-role { color: #315bc4; font-weight: 600; }
.hero-profile { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; align-items: center; gap: 40px; margin: 24px 0 48px; }
.hero-art { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 24px; background: #101923; }
.hero-profile h1 { overflow-wrap: anywhere; }
.hero-stats { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; font-size: 14px; }
.hero-stats th, .hero-stats td { padding: 12px 6px; border: 1px solid #d8e1ec; }
.hero-stats th { background: #eef5ff; font-weight: 700; }
.skills-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.skill-card { border: 1px solid #d8e1ec; border-radius: 14px; padding: 18px; }
.skill-card h3 { color: #315bc4; }
@media (max-width: 600px) {
  .site-header { align-items: stretch; flex-direction: column; gap: 10px; padding-top: 16px; }
  .site-menu { justify-content: center; }
  .language-switch { align-self: center; }
  .game-hero { padding-top: 16px; }
  .game-positioning { font-size: 18px; }
  .app_store_links { gap: 12px; }
  .game-actions { gap: 12px; }
  .app_store_links a { width: calc(50% - 6px); }
  .content-card { padding: 20px; }
  .game-card-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-profile { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .hero-art { max-height: 240px; }
  .hero-stats { font-size: 11px; }
  .hero-stats th, .hero-stats td { padding: 8px 2px; overflow-wrap: anywhere; }
}
