* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.background {
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -2;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
  text-align: center;
  padding: 20px;
}

.logo {
  width: 250px;
  max-width: 80%;
  margin-bottom: 20px;
}

.message {
  font-size: 2.0em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 8px #000;
}

.message_join_dc {
  font-size: 1.25em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 8px #000;
}

.button-group {
  display: flex;
  gap: 15px;
}

.discord-button,
.samp-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  color: white;
  transition: background-color 0.3s ease;
}

.discord-button {
  background-color: #5865F2;
}

.discord-button:hover {
  background-color: #4752c4;
}

.samp-button {
  background-color: #7b4f28;
}

.samp-button:hover {
  background-color: #5e3b1e;
}

.discord-button img,
.samp-button img {
  width: 25px;
  height: 20px;
  margin-right: 10px;
}

/* Posición para PC */
.discord-widget {
  position: fixed;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  padding: 10px;
}

/* Estilos generales del iframe */
.discord-widget iframe {
  border-radius: 8px;
  max-width: 100%;
}

/* Oculto por defecto */
.hidden {
  display: none;
}

/* Estilos para móviles */
@media screen and (max-width: 1000px) {
  .discord-widget {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    padding: 20px 0;
  }

  .discord-widget iframe {
    width: 90%;
    height: 400px;
  }
}

.discord-invite-button {
  display: block;
  margin-top: 10px;
  background-color: #5865F2;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95em;
  text-align: center;
  transition: background-color 0.3s ease;
}

.discord-invite-button:hover {
  background-color: #4752c4;
}

