@import url("https://fonts.googleapis.com/css?family=Montserrat:600,400");

/* Forzar carga de Press Start 2P */
* {
  font-display: swap;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nYivN04w.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nRivN04w.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nWivN04w.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nbivN04w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nVivM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  outline-width: 0;
  font-family: "Montserrat" !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  background-color: #f80d34;
}

/* Nuevo diseño de tarjeta */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
}

.server-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.card-header {
  margin-bottom: 5px;
}

.card-header .logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 650/350;
  object-fit: cover;
  margin-bottom: 15px;
}



.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.invite-text {
  color: #fff;
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

.discord-link {
  text-decoration: none;
  display: inline-block;
}

.acceptBtn {
  background: linear-gradient(135deg, #cc082d, #a80624);
  border: none;
  color: #fff;
  padding: 18px 40px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Press Start 2P', cursive;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(204, 8, 45, 0.4);
  position: relative;
  overflow: hidden;
}

.acceptBtn:hover {
  background: linear-gradient(135deg, #a80624, #8a051e);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(204, 8, 45, 0.6);
}

.acceptBtn:active {
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 18px;
}

.btn-text {
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

main.main {
  background-color: #202225;
  font-family: arial;
  width: 100vw;
  height: 100vh;
  color: white;
  position: relative;
  perspective: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

main.main .background {
  position: absolute;
  right: 50%;
  width: 100%;
  transform: scale(1) rotate(20deg);
  display: flex;
  opacity: 0.5;
}

@media screen and (min-width: 0px) and (max-width: 675px) {
  .server-card {
    padding: 25px;
    margin: 20px;
  }

  .card-header .logo {
    max-width: 300px;
  }



  .invite-text {
    font-size: 16px;
  }

  .acceptBtn {
    padding: 15px 30px;
  }

  .btn-text {
    font-size: 12px;
  }

  main.main .background {
    transform: scale(0.75) rotate(20deg);
  }
}

@media screen and (min-width: 676px) and (max-width: 1024px) {
  .server-card {
    padding: 35px;
  }

  .card-header .logo {
    max-width: 350px;
  }
  

}

main.main .background .inner > div:nth-child(1) {
  animation: loop_1 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(2) {
  animation: loop_2 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(3) {
  animation: loop_3 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(4) {
  animation: loop_4 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(5) {
  animation: loop_5 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(6) {
  animation: loop_6 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(7) {
  animation: loop_7 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(8) {
  animation: loop_8 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(9) {
  animation: loop_9 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(10) {
  animation: loop_10 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(11) {
  animation: loop_11 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(12) {
  animation: loop_12 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(13) {
  animation: loop_13 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(14) {
  animation: loop_14 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(15) {
  animation: loop_15 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(16) {
  animation: loop_16 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(17) {
  animation: loop_17 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(18) {
  animation: loop_18 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(19) {
  animation: loop_19 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(20) {
  animation: loop_20 var(--duration) infinite normal linear;
}

main.main .background .inner > div:nth-child(21) {
  animation: loop_21 var(--duration) infinite normal linear;
}

main.main .overlay {
  position: relative;
  z-index: 100;
  padding: 32px;
  border-radius: 16px;
  color: black;
  width: 100%;
  max-width: 500px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

main.main .overlay h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

main.main .overlay p {
  margin-bottom: 20px;
}

main.main .overlay p strong {
  font-weight: 700;
}

main.main .overlay .link {
  width: 100%;
  padding: 10px;
  background: #cc082d;
  border-radius: 30px;
  margin-top: 30px;
  display: block;
  color: white;
  text-decoration: none;
}

@keyframes loop_1 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_2 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_3 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_4 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_5 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_6 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}
@keyframes loop_7 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_8 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_9 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_10 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_11 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_12 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_13 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}
@keyframes loop_14 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_15 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_16 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_17 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_18 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_19 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_20 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

@keyframes loop_21 {
  0% {
    display: block;
    transform: translateY(200px);
  }
  40% {
    display: none;
    transform: translateY(-1100px);
  }
  100% {
    display: block;
    transform: translateY(200px);
  }
}

.card {
  width: 500px;
  height: 180px;
  background-color: white;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  z-index: 1;
  margin: 32px 16px;
}

.card:after {
  content: "";
  width: 100%;
  height: 40%;
  bottom: 0;
  left: 0;
  background-color: #cc082d;
  z-index: 1;
  display: block;
  position: absolute;
}

.card * {
  z-index: 10;
  position: relative;
}

.card .card--icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 20px;
  position: relative;
}

.card .card--icon img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.card .card--icon span {
  display: block;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #00c900;
  z-index: 10;
  border: solid 5px #c52844;
}

.card .card--content {
  height: 100%;
}

.card .card--content .name {
  height: 60%;
  display: flex;
  align-items: flex-end;
}

.card .card--content .name span {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.card .card--content .playing {
  height: 40%;
}

.card .card--content .playing span {
  display: inline-block;
  width: 100%;
}

.card .card--content .playing span.title {
  margin-top: 15px;
  font-size: 12px;
  color: #ffffff;
}

.card .card--content .playing span.game {
  margin-top: 8px;
  font-size: 16px;
  color: white;
}
