@media only screen and (max-width: 480px) {
  /* mobil */
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
  /* tablet */
}

@media only screen and (min-width: 769px) {
  body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: 100%;
    background-repeat: no-repeat;
    background: url(images/bg.gif) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    overflow: hidden;
    font-family: "BigPixel", sans-serif;
    cursor: url(images/cursor.png);
    cursor: pointer;
      overflow: hidden;
  }
  
  html {
    cursor: url(images/cursor.png), auto;
    cursor: pointer;
  }
  
  p {
    font-family: "BigPixel", sans-serif;
    cursor: url(images/cursor.png), auto;
  }
  
  h1 {
    font-family: "pixelout", sans-serif;
    cursor: url(images/cursor.png), auto;
    color: white;
  }

  h2 {
    font-family: "CaveStory", sans-serif;
  }

  .select {
    position: absolute;
    top: 50%;
    left: 70.5%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 80%;
    background: rgba(0, 0, 0, 0.5); 
    padding: 20px;
    border-radius: 15px;
    color: white;
    border: 5px solid ;
    box-shadow: 10px 10px 25px #000;
    cursor: url(images/cursor.png), auto;
  }

  .whole {
    cursor: url(images/cursor.png), auto;
  }

  .gifofthemonth {
    width: 60%;
    height: 70%;
    position: absolute;
    transform-origin: 50% 0%;
    left: 20%;
    bottom: 13%;
    border: 3px #d4d8aa ridge;
    border-radius: 15px
  }
  
  
  .sidebox {
    width: 10%;
    height: 60%;
    height: 100px;
    border: 5px solid #ffffff;
    padding: 5px;
    position: fixed;
    top: 42%;
    left: 12%; 
    cursor: url(images/cursor.png), auto;
    border-radius: 15px
  }
  
  .tiny-link {
    width: 24px;
    height: 16px;
    position: absolute;
    cursor: pointer;
    cursor: url(images/cursorhover.png), auto;
  }
  
  
  .kuz {
    cursor: url(images/cursorhover.png), auto;
    position: fixed; 
    top: 4%;
    left: 40%; 
    background-color: #000000;
    border: none;
    color: black;
    padding: 15px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0px;
    background-color: transparent;
  }
  
  .rightside {
    height: 100%;
    width: 40%;
    box-sizing: border-box;
    background-attachment: local;
    text-align: center;
    border-right: 5px solid #d9ebff;
    top: 0px;
    left: 0px;
    float: left;
    padding: 15px;
    overflow: hidden;
    position: fixed;
    cursor: url(images/cursor.png), auto;
  }
  
  
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: url('images/cursor.png'), auto; 
  }
  
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    cursor: url(images/cursor.png);
  }
  
  h1, p {
    margin: 0;
    cursor: url(images/cursor.png);
  }
  
  * {
    cursor: url('images/cursor.png'), auto; 
    image-rendering: pixelated;
  }
  
.ana {
    position: absolute;
    top: 50%;
    left: 70.5%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 80%;
    background: rgba(0, 0, 0, 0.5); 
    padding: 20px;
    border-radius: 15px;
    color: white;
    border: 5px solid white;
    box-shadow: 10px 10px 25px #000;
    cursor: url(images/cursor.png), auto;
     overflow: hidden;
  }

#style-selector {
  background-color: #0d1d32;
  color: white;
  width: 200px; 
  height: 50px;
  line-height: 50px; 
  display: block; 
  text-align: center;
  text-decoration: none;
  border: 2px ridge #d9ebff;
  margin: 1px 0;
  cursor: url(images/cursorhover.png), auto;
  border-radius: 10px;
  font-family: BigPixel;
}
  
   a:link, a:visited {
      background-color: #1b1e3d;
      color: white;
      width: 200px; 
      height: 50px;
      line-height: 50px; 
      display: block; 
      text-align: center;
      text-decoration: none;
      border: 2px ridge #fcfefc;
      margin: 1px 0;
      cursor: url(images/cursorhover.png), auto;
      border-radius: 10px;
      animation: none;
      display: inline-block;
    }
  
  a:hover, a:active {
    cursor: url(images/cursorhover.png), auto;
    border-radius: 10px;
  }
  
  tr.td {
    width: 100%;
    border-collapse: collapse;
    cursor: url(images/cursor.png), auto;
  }
  
  .iframe-container {
    position: absolute;
    border: 2px solid black; 
    padding: 0px; 
    border: 2px solid white;
    font-family: "BigPixel", sans-serif;
    border-radius: 5px;
    top: 12%;
    width: 94%;
  }
  
  .purple {
    width: 40%;
    height: 40%;
    position: absolute;
    transform-origin: 50% 0%;
    animation: purple 2s ease-in-out infinite;
    z-index: -2;
    right: 60.25%;
    top: 5.75%;
    margin: auto;
    cursor: url(images/cursor.png), auto;
  }
  
  .white {
    width: 40%;
    height: 40%;
    position: absolute;
    transform-origin: 50% 0%;
    animation: white 2s ease-in-out infinite;
    z-index: -1;
    right: 60%;
    top: 5%;
    margin: auto;
    cursor: url(images/cursor.png), auto;
  }
  
  .Cr {
    width: 35%;
    height: 45%;
    position: absolute;
    transform-origin: 50% 0%;
    left: 32%;
    bottom: 43.5%;
    border: 3px white solid;
    border-radius: 15px
  }
  
  .CursedRicardo {
    width: 45%;
    height: 45%;
    position: absolute;
    transform-origin: 50% 0%;
    left: 32%;
    bottom: 40%;
    border: 3px white solid;
    border-radius: 15px
  }

  .welcome-text {
    position: absolute;
    left: 5%;
    bottom: 3.5%;
    margin: auto;
    font-size: 75%;
    text-align: left;
    white-space: pre-wrap; 
    word-wrap: break-word; 
    max-width: 90%; 
    line-height: 0.6;
    text-align: center;
  }
  
  
  .credits {
    position: absolute;
    left: 80%;
    bottom: 39%;
    margin: auto;
    font-size: 80%;
    color: white;
  }
  
  .msgboard {
    position: absolute;
    left: 17%;
    bottom: 5%;
    margin: auto;
    font-size: 110%;
  }
  
  .note {
    position: absolute;
    left: 5.5%;
    bottom: 15%;
    margin: auto;
    font-size: 100%;
    animation: banana 10s ease-in-out infinite;
  }

  @keyframes white {
    0%, 100% {
      transform: rotate(-5deg);
  }
  50% {
      transform: rotate(5deg);
  }
  
  }
  
  @keyframes white {
    0% {
      transform: translateY(0.15em);
    }
    50% {
      transform: translateY(-0.9em);
    }
    100% {
      transform: translateY(0.15em);
    }
  }
  
  @keyframes purple {
    0% {
      transform: translateY(0.15em);
    }
    50% {
      transform: translateY(-1.7em);
    }
    100% {
      transform: translateY(0.15em);
    }
  }
  
  @font-face {
    font-family: "BigPixel";
    src: url("fonts/bigpixel.otf");
  }
  
  @font-face {
    font-family: "CaveStory";
    src: url("fonts/Cave-Story.ttf");
  }

    @font-face {
    font-family: "pixelout";
    src: url("fonts/pixelout.ttf");
  }

      @font-face {
    font-family: "bluescreen";
    src: url("fonts/bluescreen.ttf");
  }

        @font-face {
    font-family: "disco";
    src: url("fonts/DigitalDisco.ttf");
  }
  
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-5px); }
  60%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

#character {
  width: 180px;
  height: 180px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-image: url('images/frame1.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  cursor: default;
}  



#character.ready {
  pointer-events: auto;
  cursor: pointer;
}

#chatbox {
  position: fixed;
  bottom: 130px;
  left: 20px;
  background: white;
  border: 2px solid black;
  padding: 10px;
  border-radius: 10px;
  width: 220px;
  box-shadow: 3px 3px 0 black;
  font-family: sans-serif;
  z-index: 10;
}

.hidden {
  display: none;
}

#chatbox p {
  margin-top: 0;
  margin-bottom: 10px;
}

#chatbox button {
  margin-right: 10px;
  padding: 5px 10px;
  border: none;
  background: #ececec;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

#chatbox button:hover {
  background: #ddd;
}

#character {
  width: 180px;
  height: 180px;
  position: fixed;
  bottom: 20px;
  left: 5px;
  background-image: url('images/frame1.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  cursor: default;
  position: absolute; 
  z-index: 1000;
}

#character.ready {
  pointer-events: auto;
  cursor: pointer;
  animation: moveCharacter 2s ease-in-out infinite;
}

.spotify-link, #spotifyImage { 
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.spotify-link:hover, #spotifyImage:hover { 
  transform: translateY(-5px);
  cursor: url(images/cursorhover.png), auto; 
}

.spotify-link:hover #spotifyImage, #spotifyImage:hover {
  content: url('images/spotify.gif');
}

.youtube-link, #youtubeImage { 
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.youtube-link:hover, #youtubeImage:hover { 
  transform: translateY(-5px);
  cursor: url(images/cursorhover.png), auto;
}

.youtube-link:hover #youtubeImage, #youtubeImage:hover { 
  content: url('images/youtube.gif'); 
}

.discord-link, #discordImage { 
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.discord-link:hover, #discordImage:hover { 
  transform: translateY(-5px); 
  cursor: url(images/cursorhover.png), auto; 
}

.discord-link:hover #discordImage, #discordImage:hover {
  content: url('images/discord.gif'); 
}

.steam-link, #steamImage { 
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.steam-link:hover, #steamImage:hover { 
  transform: translateY(-5px);
  cursor: url(images/cursorhover.png), auto;
}

.steam-link:hover #steamImage, #steamImage:hover {
  content: url('images/steam.gif');
}

.icon-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; 
  margin-top: 54%;
  margin-left: 60%;
}

.icon-column img {
  width: 65px;
  height: 65px;
  border: 2px ridge #d9ebff;
  border-radius: 10px;
  cursor: url(images/cursorhover.png), auto;
}

.changelog-box {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 10px;
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  max-height: 70%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.2); /* hafif karanlık katman */
  text-align: left;
}


    #fake-cursor {
      position: absolute;
      width: 64px;
      height: 64px;
      pointer-events: none;
      z-index: 9999;
    }

    .btn {
  display: inline-block;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s ease;
}

a:hover {
  transform: scale(1.05);
}

.static-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/tv-static.gif');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1; 
}


.static-btn:hover::before {
  opacity: 1;
}

.gif-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/star-sparkle.gif');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1; 
}


.gif-btn:hover::before {
  opacity: 1;
}

.home-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/skeleton.gif');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1; 
}


.home-btn:hover::before {
  opacity: 1;
    background-color: #2b598e;
    border: 2px solid #689cd8;
    border-radius: 10px;
}

.game-scroll-box {
  width: 100%;
  height: 90%;
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 20px;
  max-height: 500px;
}

.game-box {
  position: relative;
  background-color: #111;
  border: 2px ridge white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease;
}

.game-box img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #444;
}

.game-title {
  font-family: 'BigPixel', sans-serif;
  padding: 5px;
  color: white;
  background: #222;
  font-size: 12px;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #ffd700;
  font-size: 14px;
  font-family: 'BigPixel';
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-box:hover .game-overlay {
  opacity: 1;
}


.emoji {
  width: 25px !important;
  height: 25px !important;
  image-rendering: pixelated;
  vertical-align: middle;
  margin-right: 5px;

}

.emoji:last-child {
  margin-right: 0
}

.special-badge {
  width: 64px !important;
  height: 64px !important;
  top: 60%;
  image-rendering: pixelated;
  position: absolute;
}

.description {
  position: absolute;
  top: 90%;
  left: 3%;
  display: flex;  
  align-items: center;
  gap: 10px;
}

.description2 {
  position: absolute;
  top: 90%;
  left: 53%;
  display: flex;  
  align-items: center;
  gap: 1px;
}