h1 {
  text-align: center;
  margin-top: 20px !important;
  font-size: 48px !important;
  font-weight: 900;
  background: linear-gradient(45deg, #ffcb43, #ec6cb9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: block; 
  padding: 0 10px;
}

ha {
  text-align: center;
  margin-top: 20px;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(45deg, #46d4ff, #0094d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: block; 
}

h2 {
  text-align: center;
  font-size: 22px;
  color: #535353;
  line-height: 1.8;
  margin-top: 20px;
  padding: 0 10%;
}

h3 {
  text-align: center;
  margin-top: 60px;
  font-size: 24px;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
}

h3::before, h3::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 80px;
  background-color: #46d4ff;
}

.btn-container {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  gap: 32px;              
  margin-top: 50px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.download-container {
  display: flex;
  gap: 32px;
  width: 500px;
  max-width: 100%;
}

.download-btn {
  flex: 1;
  border: 0;
  padding: 0;
  cursor: pointer;
  padding: 20px 10px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.ios, .android, .steam {
  background: linear-gradient(135deg, #46d4ff, #0094d8);
}

.download-btn:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.main-btn {
  display: inline-block;
  border: 0;
  padding: 0;
  cursor: pointer;
  padding: 25px 0;
  width: 500px;
  max-width: 100%;
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(90deg, #90e9ff, #68cfff);
  color: white;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.main-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(104, 207, 255, 0.3);
  filter: brightness(1.1);
}

.full-width-box2 {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px 0;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.blue-strip {
  width: 100vw;
  height: 560px;
  background-color: #38c0ff81;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  border: none;
  box-sizing: border-box;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.news-container {
  padding-top: 20px;
  padding-left: 20px;
  display: flex;
}

.news-label {
  display: inline-block;
  background-color: #ffffff;
  color: #00aeff;
  font-weight: bold;
  font-size: 27px;
  padding: 6px 16px;
  border-radius: 27px;
}

.carousel-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.carousel-container {
  width: 100%;
  overflow: visible;
}

.carousel-track {
  width: 100%;
}

.carousel-scroll {
  display: flex;
  gap: 32px;
  padding: 54px calc((100vw - min(100vw, 1760px)) / 2 + 72px) 58px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: auto;
  box-sizing: border-box;
}

.carousel-scroll::-webkit-scrollbar {
  display: none;
}

.carousel-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 174, 255, 0.5);
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 clamp(420px, 29vw, 560px);
  width: clamp(420px, 29vw, 560px);
  min-height: auto;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.instagram-news-item {
  display: flex;
  justify-content: center;
}



.instagram-news-item {
  position: relative;
  min-height: auto;
  transform: scale(0.86);
  opacity: 0.78;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, z-index 0.5s ease;
}


.carousel-scroll.is-loop-jumping .instagram-news-item,
.carousel-scroll.is-loop-jumping .instagram-image-card::after {
  transition: none !important;
}
.instagram-news-item.is-active {
  transform: scale(1.08);
  opacity: 1;
  z-index: 5;
}

.instagram-image-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 174, 255, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.instagram-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.instagram-news-item.is-active .instagram-image-card::after {
  opacity: 0;
}


.instagram-image-label {
  display: none !important;
}

.instagram-image-card {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}
.instagram-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.72);
}

.news-image-viewer.is-open {
  display: flex;
}

.news-image-viewer-img {
  display: block;
  width: min(92vw, 1200px);
  max-height: 86vh;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.news-image-viewer-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #00aeff;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

@media (max-width: 760px) {
  .blue-strip {
    height: 360px;
  }

  .news-container {
    padding-top: 42px;
    padding-left: 20px;
  }

  .news-label {
    font-size: 22px;
    padding: 5px 15px;
    border-radius: 24px;
  }

  .carousel-wrapper {
    margin-top: 18px;
  }

  .carousel-scroll {
    gap: 18px;
    padding: 18px 42px 28px;
  }

  .carousel-item {
    flex-basis: min(70vw, 350px);
    width: min(70vw, 350px);
  }

  .instagram-news-item {
    transform: scale(0.9);
  }

  .instagram-news-item.is-active {
    transform: scale(1.02);
  }

  .instagram-image-card {
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .blue-strip {
    height: 320px;
  }

  .news-container {
    padding-top: 40px;
  }

  .carousel-scroll {
    padding: 14px 38px 24px;
  }

  .carousel-item {
    flex-basis: 68vw;
    width: 68vw;
  }
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  filter: brightness(1.2);
}

.carousel-btn img {
  width: 150px;
  height: auto;
  display: block;
}

.prev-btn {
  left: 0px;
}

.next-btn {
  right: 0px;
}

.full-width-box2 {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px 0;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .logo {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px !important;
  }
  .logo img { width: 200px; }
  .site-title { font-size: 28px; }

  .nav-links {
    align-items: center;
    width: 100%;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    width: auto !important;
    max-width: none !important;
    min-width: unset;
    font-size: 14px;
  }
  .nav-links a.sns-link {
    width: auto !important;
    max-width: none !important;
    min-width: unset;
  }
  h1 { font-size: 32px; }
  ha { font-size: 24px; }
  h2 { font-size: 16px; margin-top: 25px; padding: 0 20px; }
  h3 { font-size: 18px; flex-direction: column; gap: 5px; }
  h3::before, h3::after { display: none; } 

  .download-container {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .download-btn { padding: 15px 10px; font-size: 18px; }
  .main-btn { font-size: 22px; padding: 20px 0; }
  
  .carousel-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    margin-top: 32px;
  }
  .carousel-scroll {
    gap: 12px;
    padding: 0 54px 18px;
  }
  .carousel-item {
    flex: 0 0 min(326px, calc(100vw - 108px));
    width: min(326px, calc(100vw - 108px));
    min-height: auto;
  }
  .carousel-btn img {
    width: 40px;
  }
  .prev-btn {
    left: 10px;
  }
  .next-btn {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .site-title { font-size: 24px; }
  h1 { font-size: 28px; }
}

.carousel-btn img {
  max-width: 12vw;
}
@media (max-width: 768px) {
  .carousel-btn img {
    max-width: 48px;
  }
}

.operation-block,
.content-card,
.comment-box {
  scroll-snap-align: center;
}



















/* home layout refresh */
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero {
  padding: 72px 20px 40px;
  text-align: center;
}

.home-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #00aeff;
  font-weight: 900;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.18;
}

.home-lead {
  max-width: 900px;
  margin: 0 auto 24px;
  color: #424242;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.85;
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #00aeff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 174, 255, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-action.primary {
  background: linear-gradient(135deg, #46d4ff, #0094d8);
  color: #fff;
}

.hero-action:hover,
.home-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 174, 255, 0.22);
}

.site-overview-section,
.home-links-section,
.download-section {
  margin: 42px auto;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(70, 212, 255, 0.32);
  box-shadow: 0 14px 34px rgba(0, 148, 216, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-heading {
  margin: 0 0 24px;
  padding: 0 0 12px;
  color: #00aeff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  text-align: left;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  border-bottom: 3px solid rgba(70, 212, 255, 0.35);
}

.overview-grid,
.home-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.overview-card,
.home-link-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(70, 212, 255, 0.28);
  box-sizing: border-box;
}

.overview-number,
.home-link-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #00aeff;
  font-size: 14px;
  font-weight: 900;
}

.overview-card h3 {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: #333;
  font-size: 24px;
  text-align: left;
}

.overview-card h3::before,
.overview-card h3::after {
  display: none;
}

.overview-card p,
.home-link-card p,
.download-section p {
  margin: 0;
  color: #444;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.home-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-link-card strong {
  display: block;
  margin-bottom: 12px;
  color: #333;
  font-size: 24px;
}

.download-section {
  text-align: center;
}

.download-section .section-heading {
  text-align: center;
}

.download-section .download-container {
  margin: 24px auto 0;
}

@media (max-width: 1000px) {
  .overview-grid,
  .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    width: min(100%, calc(100% - 20px));
  }

  .home-hero {
    padding: 48px 8px 26px;
  }

  .home-hero-actions,
  .download-section .download-container {
    flex-direction: column;
  }

  .hero-action {
    width: 100%;
    box-sizing: border-box;
  }

  .site-overview-section,
  .home-links-section,
  .download-section {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .overview-grid,
  .home-link-grid {
    grid-template-columns: 1fr;
  }
}
/* home overview and guide buttons */
.overview-list {
  margin: 0;
  padding: 0 0 0 1.4em;
  color: #3f3f3f;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.95;
  text-align: left;
}

.overview-list li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.home-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #46d4ff, #0094d8);
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 148, 216, 0.18);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.guide-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 148, 216, 0.26);
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .home-guide-list {
    grid-template-columns: 1fr;
  }

  .guide-button {
    min-height: 70px;
  }
}
/* home full-width bands */
.site-overview-section,
.home-links-section,
.download-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 46px;
  margin-bottom: 0;
  padding: 42px max(28px, calc((100vw - 1180px) / 2 + 28px));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-sizing: border-box;
}

.site-overview-section {
  background: rgba(121, 218, 255, 0.34);
}

.home-links-section {
  background: rgba(80, 207, 255, 0.42);
}

.download-section {
  background: rgba(163, 232, 255, 0.44);
}

.site-overview-section .section-heading,
.home-links-section .section-heading,
.download-section .section-heading {
  display: inline-block;
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #00aeff;
  box-shadow: 0 8px 18px rgba(0, 148, 216, 0.08);
}

.site-overview-section .overview-list,
.home-links-section .home-guide-list,
.download-section > p,
.download-section .download-container {
  max-width: 1180px;
}

.overview-list {
  list-style-position: outside;
  padding-left: 1.5em;
}

.guide-button {
  background: rgba(255, 255, 255, 0.92);
  color: #00aeff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.guide-button:hover {
  background: #ffffff;
}

@media (max-width: 640px) {
  .site-overview-section,
  .home-links-section,
  .download-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 32px 18px;
    border-radius: 0;
  }
}
/* home continuous band colors */
.site-overview-section,
.home-links-section,
.download-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 48px;
  padding-bottom: 48px;
}

.site-overview-section {
  background: rgba(199, 241, 255, 0.74) !important;
}

.home-links-section {
  background: rgba(157, 228, 255, 0.78) !important;
}

.download-section {
  background: rgba(118, 214, 255, 0.82) !important;
}

.blue-strip {
  margin-top: 0 !important;
  background-color: rgba(56, 192, 255, 0.58) !important;
}
/* home alternating bands and plain headings */
.site-overview-section .section-heading,
.home-links-section .section-heading,
.download-section .section-heading {
  display: block !important;
  width: fit-content;
  margin: 0 auto 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #008fd3 !important;
  box-shadow: none !important;
  text-align: center !important;
  font-weight: 900 !important;
}

.site-overview-section,
.download-section {
  background: rgba(199, 241, 255, 0.74) !important;
}

.home-links-section,
.blue-strip {
  background-color: rgba(157, 228, 255, 0.78) !important;
  background: rgba(157, 228, 255, 0.78) !important;
}
/* home centered hero and left reveal bands */
.home-hero {
  min-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 64px !important;
  box-sizing: border-box;
}

.home-hero-logo {
  display: block;
  width: min(360px, 72vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 22px rgba(0, 148, 216, 0.16));
}

.home-hero h1 {
  max-width: 820px;
}

.home-lead {
  max-width: 820px;
}

.home-intro-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
  box-sizing: border-box;
  text-align: center;
  background: rgba(137, 222, 255, 0.80) !important;
}

.home-intro-section .home-lead {
  margin: 0 auto 24px;
}

@media (max-height: 900px) {
  .home-intro-section {
    min-height: 360px;
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media (max-width: 760px) {
  .home-intro-section {
    min-height: auto;
    padding: 54px 18px;
  }
}

.site-overview-section .overview-list {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home-links-section .home-guide-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.download-section > p,
.download-section .download-container {
  margin-left: auto;
  margin-right: auto;
}

.site-overview-section.fade-in-up,
.home-links-section.fade-in-up,
.download-section.fade-in-up,
.blue-strip.fade-in-up {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.site-overview-section.fade-in-up.is-show,
.home-links-section.fade-in-up.is-show,
.download-section.fade-in-up.is-show,
.blue-strip.fade-in-up.is-show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .home-hero {
    min-height: calc(100vh - 150px);
    padding: 24px 12px 48px !important;
  }

  .home-hero-logo {
    width: min(280px, 78vw);
    margin-bottom: 18px;
  }

  .site-overview-section.fade-in-up,
  .home-links-section.fade-in-up,
  .download-section.fade-in-up,
  .blue-strip.fade-in-up {
    transform: translateX(-30px);
  }
}
/* home overview centered text */
.site-overview-section .overview-list {
  list-style: none !important;
  padding-left: 0 !important;
  text-align: center !important;
  max-width: 980px !important;
}

.site-overview-section .overview-list li {
  margin: 0 0 14px !important;
  padding-left: 0 !important;
}
/* home equal band heights */
.site-overview-section,
.home-links-section,
.download-section {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .site-overview-section,
  .home-links-section,
  .download-section {
    min-height: 300px;
  }
}
/* home bands match tallest section */
.site-overview-section,
.home-links-section,
.download-section {
  min-height: 420px !important;
}

@media (max-width: 640px) {
  .site-overview-section,
  .home-links-section,
  .download-section {
    min-height: 380px !important;
  }
}
/* home links moved below news */
.home-links-after-news {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 64px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.after-news-heading {
  margin: 0 0 28px;
  padding: 0;
  color: #008fd3;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  background: transparent;
}

.home-links-after-news .home-guide-list {
  max-width: 920px;
  margin: 0 auto;
}

.home-links-after-news.fade-in-up {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.home-links-after-news.fade-in-up.is-show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .home-links-after-news {
    width: min(100%, calc(100% - 24px));
    margin: 0 auto 48px;
  }
}
/* home after-news buttons emphasis */
.home-links-after-news {
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 96px 0 !important;
  box-sizing: border-box;
}

.home-links-after-news .home-guide-list {
  gap: 26px;
}

.home-links-after-news .guide-button {
  min-height: 96px;
  background: linear-gradient(135deg, #46d4ff, #0094d8) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 14px 30px rgba(0, 148, 216, 0.24);
}

.home-links-after-news .guide-button:hover {
  background: linear-gradient(135deg, #5fdcff, #00a4ea) !important;
  box-shadow: 0 18px 38px rgba(0, 148, 216, 0.32);
}

@media (max-width: 640px) {
  .home-links-after-news {
    min-height: 66vh;
    padding: 72px 0 !important;
  }

  .home-links-after-news .guide-button {
    min-height: 82px;
  }
}
/* home hero lead spacing */
.home-hero h1 {
  margin-bottom: 44px !important;
}

.home-hero .home-lead:first-of-type {
  margin-top: 8px !important;
}

.about-site-guide {
  max-width: 780px;
  margin: 22px auto 0;
  padding: 12px 18px;
  border-left: 4px solid #46d4ff;
  background: rgba(255, 255, 255, 0.7);
  color: #555;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.8;
  text-align: left;
  box-sizing: border-box;
}

.about-site-guide a {
  color: #008fd3;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-site-guide a:hover {
  color: #00a8ee;
}

/* home band colors and viewport fade */
.site-overview-section {
  background: rgba(204, 243, 255, 0.78) !important;
}

.download-section {
  background: rgba(137, 222, 255, 0.80) !important;
}

.blue-strip {
  background-color: rgba(85, 205, 255, 0.72) !important;
  background: rgba(85, 205, 255, 0.72) !important;
}

.home-intro-section.fade-in-up,
.site-overview-section.fade-in-up,
.download-section.fade-in-up,
.blue-strip.fade-in-up,
.home-links-after-news.fade-in-up {
  opacity: 0 !important;
  transform: translateX(-30px) !important;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out !important;
}

.home-intro-section.fade-in-up.is-show,
.site-overview-section.fade-in-up.is-show,
.download-section.fade-in-up.is-show,
.blue-strip.fade-in-up.is-show,
.home-links-after-news.fade-in-up.is-show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

@media (max-width: 640px) {
  .home-intro-section.fade-in-up,
  .site-overview-section.fade-in-up,
  .download-section.fade-in-up,
  .blue-strip.fade-in-up,
  .home-links-after-news.fade-in-up {
    transform: translateX(-30px) !important;
  }

  .home-intro-section.fade-in-up.is-show,
  .site-overview-section.fade-in-up.is-show,
  .download-section.fade-in-up.is-show,
  .blue-strip.fade-in-up.is-show,
  .home-links-after-news.fade-in-up.is-show {
    transform: translateX(0) !important;
  }
}
/* home random scroll decorations */
.home-scroll-decor {
  position: absolute;
  z-index: 35;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 148, 216, 0.22));
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-decor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-scroll-decor-left {
  transform: translateX(-62px) rotate(var(--decor-rotate, -10deg)) scale(0.82);
}

.home-scroll-decor-right {
  transform: translateX(62px) rotate(var(--decor-rotate, 10deg)) scale(0.82);
}

.home-scroll-decor.is-visible {
  opacity: 0.82;
  transform: translateX(0) rotate(var(--decor-rotate, 0deg)) scale(1);
}

@media (max-width: 768px) {
  .home-scroll-decor {
    width: 72px !important;
    height: 72px !important;
  }
}
/* home guide groups */
.home-links-after-news {
  gap: 64px;
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 110px !important;
}

.home-guide-group {
  width: 100%;
}

.home-guide-group .after-news-heading {
  margin-bottom: 26px;
}

.home-links-after-news .home-guide-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.home-links-after-news .guide-button-single {
  grid-column: 1 / -1;
  width: min(460px, 100%);
  justify-self: center;
}

@media (max-width: 640px) {
  .home-links-after-news {
    gap: 48px;
    padding-top: 0 !important;
    padding-bottom: 76px !important;
  }

  .home-links-after-news .home-guide-list {
    grid-template-columns: 1fr;
  }

  .home-links-after-news .guide-button-single {
    width: 100%;
  }
}
/* home guide group spacing */
.home-guide-group + .home-guide-group {
  margin-top: 86px;
}
/* home guide third button normal grid placement */
.home-links-after-news .guide-button-single {
  grid-column: auto !important;
  width: auto !important;
  justify-self: stretch !important;
}
/* moving background ribbon for game description links */
.home-guide-group-description {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0;
  padding: 64px 0 62px;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  transform: translateX(-50%);
}

.home-guide-group-description::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 220vw;
  background-image: url("../img/background1.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: 0 center;
  opacity: 0.5;
  animation: homeDescriptionRibbon 24s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.home-guide-group-description > * {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes homeDescriptionRibbon {
  from {
    background-position: 0 center;
  }
  to {
    background-position: 960px center;
  }
}

@media (max-width: 640px) {
  .home-guide-group-description {
    padding: 48px 12px 50px;
  }
}
/* keep guide ribbon attached to news strip */
.home-links-after-news {
  margin-top: 0 !important;
  padding-top: 0 !important;
  justify-content: flex-start !important;
}

.blue-strip {
  margin-bottom: 0 !important;
}

.blue-strip + .home-links-after-news {
  margin-top: 0 !important;
}
/* moving background ribbon for game strategy links */
.home-guide-group-strategy-bg {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: 0;
  margin-right: 0;
  padding: 64px 0 62px;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  transform: translateX(-50%);
}

.home-guide-group-strategy-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 220vw;
  background-image: url("../img/background2.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: 0 center;
  opacity: 0.5;
  animation: homeStrategyRibbon 24s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.home-guide-group-strategy-bg > * {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes homeStrategyRibbon {
  from {
    background-position: 0 center;
  }
  to {
    background-position: -960px center;
  }
}

@media (max-width: 640px) {
  .home-guide-group-strategy-bg {
    padding: 48px 12px 50px;
  }
}
/* connect home guide ribbons */
.home-links-after-news {
  gap: 0 !important;
}

.home-guide-group-description + .home-guide-group-strategy-bg {
  margin-top: 0 !important;
}

.home-links-after-news .home-guide-group-description,
.home-links-after-news .home-guide-group-strategy-bg {
  min-height: 360px;
  box-sizing: border-box;
}

.home-links-after-news .home-guide-group-description::before,
.home-links-after-news .home-guide-group-strategy-bg::before {
  height: 100%;
}

@media (max-width: 640px) {
  .home-links-after-news {
    gap: 0 !important;
  }

  .home-links-after-news .home-guide-group-description,
  .home-links-after-news .home-guide-group-strategy-bg {
    min-height: 300px;
  }
}
/* restore site notice footer */
.full-width-box2.fade-in-up {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-links-after-news .guide-button-disabled,
.home-links-after-news .guide-button-disabled:hover {
  background: linear-gradient(135deg, #c8d0d6, #9ba5ad) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 24px rgba(95, 104, 112, 0.16) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 0.88;
  transform: none !important;
  filter: none !important;
}

.home-hero h1,
.home-hero-logo,
.home-eyebrow {
  opacity: 0;
}

body.holodori-loaded .home-hero h1,
body.holodori-loaded .home-hero-logo,
body.holodori-loaded .home-eyebrow {
  animation: homeHeroSlideIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.holodori-loaded .home-hero h1 {
  animation-delay: 0s;
}

body.holodori-loaded .home-hero-logo {
  animation-delay: 0.75s;
}

body.holodori-loaded .home-eyebrow {
  animation-delay: 1.5s;
}

@keyframes homeHeroSlideIn {
  from {
    opacity: 0;
    transform: translateY(-34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.full-width-box2 {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  box-sizing: border-box;
  color: #ffffff;
  text-align: center;
}

.full-width-box2 p {
  margin: 0 auto;
  max-width: 980px;
  line-height: 1.8;
}

.full-width-box2 a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}





/* home update and random blocks */
.home-update-section,
.home-random-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 54px max(28px, calc((100vw - 1180px) / 2 + 28px));
  box-sizing: border-box;
  background: rgba(204, 243, 255, 0.78);
}
.home-random-section { background: rgba(157, 228, 255, 0.78); }
.home-update-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.home-update-card, .home-random-card { border-radius: 18px; background: rgba(255,255,255,0.86); border: 1px solid rgba(70,212,255,0.32); box-shadow: 0 12px 28px rgba(0,148,216,0.12); box-sizing: border-box; }
.home-update-card { padding: 22px; }
.home-update-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.home-update-meta span, .home-random-result span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: #e8f8ff; color: #008fd3; font-size: 14px; font-weight: 900; }
.home-update-card h3 { display: block; margin: 0 0 10px; padding: 0; color: #008fd3; font-size: 20px; line-height: 1.4; text-align: left; }
.home-update-card h3::before, .home-update-card h3::after { display: none; }
.home-update-card p, .home-random-result p { margin: 0; color: #444; font-size: 16px; font-weight: 700; line-height: 1.75; }
.home-random-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; max-width: 920px; margin: 0 auto; padding: 28px; }
.home-random-result strong { display: block; margin: 12px 0 8px; color: #008fd3; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.home-random-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.home-random-control, .home-random-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #46d4ff, #0094d8); color: #fff; font-size: 16px; font-weight: 900; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px rgba(0,148,216,0.2); }
.home-random-control { background: #fff; color: #008fd3; }
.home-update-section.fade-in-up, .home-random-section.fade-in-up { opacity: 0 !important; transform: translateY(30px) !important; transition: opacity 0.8s ease-out, transform 0.8s ease-out !important; }
.home-update-section.fade-in-up.is-show, .home-random-section.fade-in-up.is-show { opacity: 1 !important; transform: translateY(0) !important; }
@media (max-width: 820px) {
  .home-update-list, .home-random-card { grid-template-columns: 1fr; }
  .home-random-actions { justify-content: flex-start; }
}

/* download-container steam width */
.download-section .download-container { width: 760px; }
@media (max-width: 768px) { .download-section .download-container { width: 100%; } }


/* original content ribbon */
.home-guide-group-original-bg {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 16px 62px;
  overflow: hidden;
  box-sizing: border-box;
}

.home-guide-group-original-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 220vw;
  background-image: url("../img/background3.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: 0 center;
  opacity: 0.5;
  animation: homeDescriptionRibbon 24s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.home-guide-group-original-bg > * {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.home-guide-group-strategy-bg + .home-guide-group-original-bg {
  margin-top: 0 !important;
}

.home-links-after-news .home-guide-group-original-bg {
  min-height: 360px;
  box-sizing: border-box;
}

.home-links-after-news .home-guide-group-original-bg::before {
  height: 100%;
}

@media (max-width: 640px) {
  .home-guide-group-original-bg {
    min-height: 300px;
    padding: 48px 12px 50px;
  }
}
