/* =========================================================
   styles_games.css  (STST Games 用・必要最小限)
   - zebra background (fixed overlay) to avoid "shift"
   - header / footer
   - game list cards (streamer-list styles reused)
   - play button, search button
   ========================================================= */

/* ===== Base / Zebra ===== */
html, body{
  height: 100%;
  overflow-x: hidden;
}

body{
  margin: 0;
  font-family: "Helvetica", sans-serif;
  background: transparent;
  position: relative;
  /* fixed footer 対策：下が隠れないよう余白を確保 */
  padding-bottom: 80px;
}

/* ✅ ゼブラは疑似要素で固定（transformやfixed要素でズレない） */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    #eeeeee,
    #eeeeee 20px,
    #dddddd 20px,
    #dddddd 40px
  );
  background-position: 0 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== Header ===== */
.header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #222;
  color: #fff;
}

.header-left{
  display: flex;
  align-items: center;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link a{
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.header-link a:hover{
  text-decoration: underline;
}

.logo-img{
  height: 60px;
  width: auto;
}

/* ===== Games List Wrapper ===== */
.streamer-list{
  max-width: 720px;
  margin: 40px auto;
  padding: 0 16px;
}

.streamer-listImg{
  display: block;
  width: 70%;
  margin: 0 auto;
}

/* ===== Game Card ===== */
.streamer-item{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左情報と右ボタンを離す */
  padding: 16px 32px;
  margin-bottom: 14px;
  border-radius: 16px;
  background-color: #fffff7;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.streamer-item:hover{
  background-color: #fff9d0;
  transform: scale(1.05);
}

.thumb-wrapper{
  position: relative;
  display: inline-block;
}

.streamer-thumb{
  width: 96px;
  height: 96px;
  border-radius: 0;
  object-fit: cover;
  margin-right: 24px;
  box-shadow: 0 0 6px rgba(191, 180, 127, 0.8);
}

/* 情報とボタンのレイアウト */
.streamer-info{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.streamer-text{
  flex-grow: 1;
}

.streamer-idText{
  font-size: 0.8rem;
  color: #7a6e43;
  margin: 0;
  padding-right: 30px;
}

.streamer-name{
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0px;
  color: #5a4a1a;
  letter-spacing: 1.2px;
  position: relative;
  padding-bottom: 6px;
}

.streamer-name::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 6px;
  background-color: #c9c1a8;
}

.streamer-desc{
  font-size: 1rem;
  color: #7a6e43;
  margin: 0;
  padding-right: 30px;
}

/* ===== Play Button (right side) ===== */
.profile-button{
  flex-shrink: 0;
  width: auto;
  padding: 12px 20px;
  color: #61583d;
  font-weight: 600;
  border: 3px solid #61583d;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.profile-button:hover{
  background-color: #61583d;
  color: #fff3c7;
}

/* ===== Bottom Button Area (e.g., terms link) ===== */
.search-item{
  display: flex;
  flex-direction: column;
  min-width: 120px;
  max-width: 180px;
}

.search-button{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.search-button button{
  background-color: #ff6600;
  border: none;
  color: #fff;
  padding: 18px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 160px;
}

.search-button button:hover,
.search-button button:focus{
  background-color: #e65c00;
  outline: none;
}

/* ===== Footer ===== */
.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #252525;
  color: #fff;
  padding: 16px 0;
  font-size: 14px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-text{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.footer a{
  color: inherit;
  text-decoration: none;
}

.footer a:hover{
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .logo-img{
    height: 30px;
    width: auto;
  }

  .header-right{
    gap: 12px;
  }

  .header-link a{
    font-size: 12px;
  }

  .streamer-listImg{
    width: 80%;
  }

  .streamer-item{
    padding: 8px 10px;
    margin-bottom: 8px;
  }

  .streamer-item:hover{
    transform: scale(1);
  }

  .streamer-thumb{
    width: 80px;
    height: 80px;
    margin-right: 12px;
  }

  .streamer-name{
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .streamer-desc{
    width: 90%;
    font-size: 0.8rem;
    padding-right: 0;
    font-style: italic;
  }

  .profile-button{
    width: 78px;
    padding: 6px 6px;
    border-radius: 12px;
  }

  /* fixed footer分の余白、SPは少し増やしてもOK */
  body{
    padding-bottom: 92px;
  }
}
