html, body {
  margin: 0;
  padding: 0;
  background: #000000;
  min-height: 100vh;
}

.bg-top {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  width: clamp(300px, 40vw, 1200px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}


.bg-bottom {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 300px;
  width: clamp(300px, 40vw, 1200px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}



@media (max-width: 1100px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .bottom-grid .image-card .card-body {
    min-height: 200px;
  }
  .Lucy {
    display: none;
  }
}


/*title*/

.panel {
  background: rgba(49, 38, 38, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  width: 80%;
  max-width: 1692px;
  margin: 2rem auto;
  z-index: 1;
  position: relative;
}

.title {
  width: 100%;
  background: #0b0a0a;
  margin: 1rem auto;
  position: relative;
  padding-top: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #b9afaf;
  font-size: 36px;
  font-size: clamp(36px, 5vw, 95px);
  font-family: Georgia;
}

.title img {
  position: absolute;
  width: auto;
  pointer-events: none;
  user-select: none;
}




.main {
  width: 100%;
  max-width: 1667px;
  min-height: 500px;
  height: auto;
  background: #0b0a0a;
  border-radius: 16px;
  margin: 4rem auto;
  position: relative;
  padding: 16px;
  padding: clamp(16px, 2vw, 32px);
  box-sizing: border-box;
}

/*top grid*/

.top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  color: #b9afaf;
}

.card-title {
  position: relative;
  color: #b9afaf;
  font-size: 22px;
  font-size: clamp(22px, 2.2vw, 32px);
  margin: 0 0 10px 4px;
  font-weight: normal;
}

.card-subtitle {
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(-10px);
  font-size: 0.5em;
  opacity: 0.7;
  white-space: nowrap;
  pointer-events: none;
}

.card-body {
  background: rgba(49, 38, 38, 0.35);
  border-radius: 14px;
  padding: 16px;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 16px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  min-width: 0;
  
  flex: 1;
}

.scroll {
  max-height: 260px;
  overflow-y: auto;

}

.scroll-spacer {
  height: 75px;
}

.post + .post {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.post h3 {
  margin: 0 0 4px 0;
  font-size: 0.95em;
  color: #d6cfcf;
}

.about {
    background: rgba(49, 38, 38, 0.35);
    border-radius: 14px;
    padding: 16px;
    padding: clamp(16px, 2vw, 28px);
    min-height: 220px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    font-size: 16px;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.6;
}




/*bottom grid*/

.bottom-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
  overflow: visible;
}

.bottom-grid .card {
  min-width: 0;
}

.game-link {
  display: block;
  color: #c7bbbb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 35px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.game-link:hover {
  color: #ede0e0;
  text-decoration: underline;
}

.view-all-btn {
  display: block;
  margin-top: 12px;
  color: #b9afaf;
  background: rgba(49,38,38,0.5);
  padding: 4px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
}

.review-card {
  width: 100%;
  max-width: 100%; 
  overflow: hidden;
  transform: translateX(-5%);
  position: relative;
}

.review-link {
  display: block;
  color: #c7bbbb;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 35px;
  font-family: Georgia;
}

.review-link:hover {
  color: #ede0e0;
  text-decoration: underline;
}



/*Images*/

.title_Nasa {
  left: -.5%;
  bottom: 0%;
  z-index: 2;
  height: 84%;
  filter: brightness(0.95) contrast(1.1);
}

.title_Tsukasa {
  right: 0%;
  bottom: 0%;
  height: 125%;
  filter: brightness(0.8) contrast(1.1);
}

.title_Fuko {
  left: 3%;
  bottom: 0%;
  height: 145%;
  transform: rotate(5deg);
  z-index: 1;
  filter: brightness(0.85) contrast(1.1);
}

.title_Ushio {
  left: -4%;
  bottom: 12%;
  height: 100%;
  transform: rotate(30deg);
  filter: brightness(0.9) contrast(1.1);
}

.title_Okazaki {
  right: 11%;
  bottom: 0%;
  height: 100%;
  filter: brightness(0.8) contrast(1.1);
}

.lucy-wrap {
  position: relative;
  min-width: 0;
}

.Lucy {
  position: absolute;
  top: -155px;
  right: 46%;
  transform: translate(60px);
  transform: translateX(clamp(60px, 6vw, 140px));
  height: 140%;
  width: auto;
  z-index: 1;
  pointer-events: none;
}


/*Games*/

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.game-card {
    background: rgba(49, 38, 38, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s;
    backdrop-filter: blur(2px);
}

.game-card:hover {
    border-color: rgba(180, 160, 160, 0.2);
    background: rgba(59, 45, 45, 0.4);
}

.game-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    opacity: 0.9;
}

.game-info {
    padding: 1rem;
}

.game-title {
    color: #d6cfcf;
    font-size: 1.2rem;
    font-weight: normal;
    margin: 0 0 0.8rem 0;
    text-transform: lowercase;
    font-family: Georgia;
    letter-spacing: 0.5px;
}

.game-rating {
    color: #c7bbbb;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.game-date {
    color: #9a8f8f;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-family: monospace;
}

.game-price {
    color: #a89e9e;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-family: monospace;
}

.game-hours {
    color: #7a6e6e;
    font-size: 0.85rem;
    padding-top: 0.5rem;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-family: monospace;
}

.game-footer-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: #7a6e6e;
    font-size: 0.85rem;
    text-align: center;
    font-family: monospace;
    line-height: 1.6;
}

.game-footer-note p {
    margin: 0.3rem 0;
}

.footer-note-small {
    font-size: 0.75rem;
    opacity: 0.7;
}