/*utilisation des caractères internationaux*/
@charset "UTF-8";

/*google font*/
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Rubik+Mono+One&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap');

/*remise à zéro*/
* {
   font-family: Public Sans,"Sansation", sans-serif;   /*police par défaut*/
   color: #333; 
   font-style: normal; /* Style (normal, italic, oblique) */   
   text-decoration: none;
   padding: 0px;
   margin: 0px;
   border: 0px;
  }

/*reinitialise la valeur du retour*/
br {    
   display: block;
   height: 0;
  }

html {
scroll-behavior: smooth;
}


/*header-----------------------------------------------------------*/

.navigation {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ff5722; 
  z-index: 999;
  padding: 10px 10px;
}

/* ボタンを1行で横並び、中央寄せに */
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap; /* 1行に固定 */
}

.nav-button {
  background-color: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 10px;
  border: none; 
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.3s;
  font-family: 'Press Start 2P', cursive;
  display: inline-block;
}

.nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px; 
}

.nav-button:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px;
}

/*top image-----------------------------------------------------------*/


.top-image {
  height: 100vh;
  width: auto;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  font-family: 'Press Start 2P', cursive;
  font-size: 100px;
  font-weight: 700;
  letter-spacing: 10px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px #000;
  color: white;
  margin: 50px;
  padding: 50px;
  background-color: rgba(255, 247, 0, 0.8); /* 背景色を半透明に */
}

.jump-on-load {
  animation: jump 1.5s ease-in-out infinite;
}

@keyframes jump {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-20px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.NES{
font-family: 'Press Start 2P', cursive;
  font-size: 150px;
  font-weight: 700;
  letter-spacing: 10px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px #000;
  color: white;
  margin: 0;
  padding: 20px;
  line-height: 2;

  

}

/*main background-----------------------------------------------------------*/

.background-layer {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  width: auto;
  height: 100vh;
  background-image: url("images/background2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
  opacity: 0.4;           /* 薄さの調整（0〜1） */
  z-index: -1;            /* コンテンツの後ろに置く */
}

.content {
  position: relative;
  z-index: 1;
}


/*main-----------------------------------------------------------*/

.horizontal-box {
  display: flex;
  align-items: center;
  gap: 40px; 
  padding: 30px;
  margin: 30px;
}

.horizontal-box.reverse {
  flex-direction: row-reverse;
}

.left-image, .right-image {
  width: 360px; 
  height: auto;
  border-radius: 8px;
}

.game-title {
  max-width: 100%;       
  display: block;        
  white-space: normal; 
  margin-bottom: 30px; 
}

.label {
  font-size: 14px;      
  color: gray;           
  font-weight: normal; 
  line-height: 30px;
}

.footer-text {
  display: block;     
  text-align: right;
  padding: 60px;
}

.crown-icon {
  width: 100px;     
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
  pointer-events: none; /* ホバーイベントから除外 */

}

.gold-glow {
  animation: crown-glow-gold 2.5s ease-in-out infinite;
}

.silver-glow {
  animation: crown-glow-silver 2.5s ease-in-out infinite;
}

.bronze-glow {
  animation: crown-glow-bronze 2.5s ease-in-out infinite;
}


@keyframes crown-glow-gold {
  0% {
    filter: drop-shadow(0 0 0px gold);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 12px gold);
    transform: scale(1.1);
  }
  100% {
    filter: drop-shadow(0 0 0px gold);
    transform: scale(1);
  }
}


@keyframes crown-glow-silver {
  0% {
    filter: drop-shadow(0 0 0px silver);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 12px silver);
    transform: scale(1.1);
  }
  100% {
    filter: drop-shadow(0 0 0px silver);
    transform: scale(1);
  }
}


@keyframes crown-glow-bronze {
  0% {
    filter: drop-shadow(0 0 0px #cd7f32); /* 銅色 */
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 12px #cd7f32);
    transform: scale(1.1);
  }
  100% {
    filter: drop-shadow(0 0 0px #cd7f32);
    transform: scale(1);
  }
}


.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/*texte-----------------------------------------------------------*/

h2 {
font-family: "Goldman", sans-serif;
font-size: 34px; /* Taille du texte */
font-weight: bold; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 2px; /* Espacement entre les lettres */
word-spacing: 4px; /* Espacement entre les mots */
margin-bottom: 0px;
}

h3 {
font-size: 28px; /* Taille du texte */
font-weight: bold; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 2px; /* Espacement entre les lettres */
white-space: nowrap; /* Empêche le retour à la ligne */
word-spacing: 4px; /* Espacement entre les mots */
margin-bottom: 30px;
}

h5 {
font-size: 18px; /* Taille du texte */
font-weight: bold; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 2px; /* Espacement entre les lettres */
word-spacing: 4px; /* Espacement entre les mots */
line-height: 1
}

p {
font-size: 16px; /* Taille du texte */
font-weight: normal; /* Épaisseur (normal, bold, 100–900) */
line-height: 2;
margin-bottom: 30px;
margin-top: 30px;
}


/*image effect-----------------------------------------------------------*/

img:hover {
  transform: scale(1.05);     /* 5%拡大 */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 影をつけて浮かせる */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*CTA-----------------------------------------------------------*/

.cta-button {
    background-color: #ff5722;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 20px;
    border: 4px solid #ff9800;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.8);
    float: right;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s, width 0.8s, height 0.8s;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 87, 34, 1);
}


.cta-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.5);
}

.cta-button {
    font-family: 'Press Start 2P', cursive;
}



