body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .module1, .module3, .module5 {
    padding: 20px;
  }
  
  .module2 {
    padding: 6% 10%;
  }
  
  .module1 {
    background-image: url('./img/bg.gif');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .module1 img {
    margin: 0 10px;
  }
  
  #logo {
    margin-bottom: 20px;
  }
  
  .module2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .module2 .text {
    width: 40%;
  }
  
  .module2 img {
    width: 40%;
    display: block;
    margin: auto;
  }
  
  .module3 {
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    flex-direction: column;
    text-align: center;
  }
  
  .module4 {
    background-color: #ff0000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    flex-direction: column;
    text-align: center;
    padding: 5% 0;
  }
  
  .module4 img {
    width: 17%;
    margin: 0 10px;
    padding: 10px 0;
  }
  
  .module5 {
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15px;
    font-size: 12px;
  }
  
  .game {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FF0000;
    color: #fff;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    height: 60vh;
  }
  
  .timer {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  #gameContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    perspective: 1000px;
    width: 100%;
    height: 80%;
    position: relative;
    overflow: hidden;
  }
  
  .card {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transition: transform 0.6s, opacity 0.5s;
    cursor: pointer;
  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .card-front {
    background-image: url('./img/card.png');
  }
  
  .card-front img {
    width: 60%;
    height: 60%;
    object-fit: contain;
  }
  
  .card-back {
    background-image: url('./img/card.png');
    transform: rotateY(180deg);
  }
  
  .scratches {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/scratches.png') center/cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  
  .card.flipped {
    transform: rotateY(180deg);
  }
  
  .card.flipped .scratches {
    opacity: 1;
  }
  
  .card-animation {
    animation: cardFall var(--fall-speed) forwards;
  }
  
  @keyframes cardFall {
    0% {
      transform: translateY(-100px) rotateY(0deg) rotateX(0deg);
    }
    100% {
      transform: translateY(var(--end-y)) rotateY(720deg) rotateX(360deg);
    }
  }
  
  .start-button {
    background: url('./img/game.gif') center/cover;
    width: 500px;
    height: 500px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    margin: 20px;
  }
  
  .start-button:hover {
    opacity: 0.8;
  }
  
  .restart-button {
    position: sticky;
    bottom: 0;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
  }
  
  .restart-button:hover {
    background-color: #cc0000;
  }
  
  .killed-list {
    display: none;
    width: 100%;
    max-width: 800px;
    text-align: center;
    z-index: 10;
  }
  
  .killed-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    color: white;
    height: 300px;
    overflow: auto;
    position: relative;
  }
  
  .killed-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .killed-table th,
  .killed-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .killed-table th {
    background: rgba(255, 255, 255, 0.1);
  }
  
  @media screen and (max-width: 800px) {
    #logo img {
      width: 50vw;
    }
    
    .module4 {
      background-color: #ff0000;
      height: auto;
    }
  }
  
  @media screen and (max-width: 500px) {
    .card {
      width: 80px;
      height: 80px;
    }
    
    .card-front img {
      width: 50%;
      height: 50%;
    }
    
    .start-button {
      width: 300px;
      height: 300px;
    }
  }

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 20px;
  padding: 20px 0;
}

.target-card {
  min-width: 150px;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.target-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.target-card .twitter {
  color: #ffffff;
  font-weight: bold;
}

.target-card .alias {
  color: white;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}