/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f0f0;
  margin-top: 60px;
  color: #111;
}

/* Fondo degradado */
#grad1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(to right, cyan, lime);
  padding: 40px 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  padding: 15px 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: #45ff92;
}

/* ===== BOTÓN COPIAR IP ===== */
.boton-guachi {
  display: inline-block;
  background: linear-gradient(90deg, #00ffff, #00ff88);
  color: black;
  font-weight: bold;
  padding: 20px 40px;
  border-radius: 15px;
  font-size: 1.5rem;
  margin: 15px 0;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.6);
}

.boton-guachi:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, #00ff88, #00ffff);
  transform: scale(1.12) rotate(-2deg);
  transition: transform 0.25s cubic-bezier(.25,1.5,.5,1), 
              box-shadow 0.3s ease, 
              background 0.3s ease;
}

/* Mensaje de IP copiada */
#mensaje {
  margin-top: 10px;
  font-weight: bold;
  color: #008855;
}

/* ===== CARRUSEL ===== */
.carrusel {
  position: relative;
  width: 95%;
  max-width: 1200px;
  height: 600px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 25px;
}

.carrusel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  transition: background 0.3s;
}

.carrusel button:hover {
  background: white;
}
/* Bounce animation for the carousel */
.carrusel {
  transition: transform 1.02s cubic-bezier(.25,1.5,.5,1);
}

.carrusel:hover {
  transform: scale(1.03);
}


.prev { left: 15px; }
.next { right: 15px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== BACKGROUND BOX ===== */
.background-box {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  margin: 40px auto;
  width: 95%;
  max-width: 1200px;
  transition: transform 0.3s ease;
}

.background-box:hover {
  transform: scale(1.02);
}

.background-box h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000;
}

iframe {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 15px;
  margin: 10px 0;
  aspect-ratio: 16 / 9;
}

/* ===== EMBEDS ===== */
.embed-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.embed-container div {
  flex: 1 1 320px;
  max-width: 480px;
  min-width: 260px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .carrusel {
    height: 400px;
  }
}

@media (max-width: 600px) {
  body {
    margin-top: 90px;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .navbar a {
    font-size: 1.1rem;
  }

  .boton-guachi {
    width: 90%;
    font-size: 1rem;
  }

  .carrusel {
    height: 300px;
  }

  iframe {
    height: auto;
  }

  .background-box {
    padding: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.5rem;
    margin: 10px;
  }
}

@media (max-width: 400px) {
  .navbar a {
    font-size: 0.9rem;
  }

  .carrusel {
    height: 250px;
  }

  .boton-guachi {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}
/* Title image */
main > img {
  max-width: 1600px;       /* reasonable size for desktop */
  width: 80%;             /* scales nicely on smaller screens */
  height: auto;
  margin: 20px auto;
  display: block;
}

/* Make it smaller on phones */
@media (max-width: 600px) {
  main > img {
    max-width: 280px;
    width: 70%;
    margin: 15px auto;
  }
}
/* === Discord embed fix === */
widgetbot,
iframe[src*="discord"] {
  width: 100% !important;
  max-width: 100%;
  height: 600px !important;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Smaller height on tablets */
@media (max-width: 900px) {
  widgetbot,
  iframe[src*="discord"] {
    height: 450px !important;
  }
}

/* Even smaller on phones */
@media (max-width: 600px) {
  widgetbot,
  iframe[src*="discord"] {
    height: 300px !important;
  }
}

/* Tiny screens (like older phones) */
@media (max-width: 400px) {
  widgetbot,
  iframe[src*="discord"] {
    height: 250px !important;
  }
}
.background-box h1 a {
  color: #0000EE;
  text-decoration: none;
  transition: color 0.2s;
}

.background-box h1 a:hover {
  color: #0099ff;
}
/* Align YouTube and Discord titles to the right */
.background-box h1 {
  text-align: left;
  width: 100%;
  margin-right: 20px;
}
#grad1 > img {
  display: block;
  margin: 40px auto 20px;
  max-width: 1600px;
  width: 80%;
  height: auto;
}
/* ===== VLOG TEXT STYLES ===== */
.vlog-box {
  font-size: 1.1rem;        /* Tamaño general del texto dentro de la caja */
  line-height: 1.6;         /* Espaciado entre líneas */
}

.vlog-box h2 {
  font-size: 1.8rem;        /* Título del post */
  font-weight: 700;
}

.vlog-box p.date {
  font-size: 1rem;          /* Fecha del post */
  color: #666;
}

.vlog-box .vlog-content {
  font-size: 1.2rem;        /* Texto dentro del contenido expandido */
  color: #222;
}
@media (max-width: 600px) {
  .vlog-box {
    font-size: 1rem;
  }

  .vlog-box h2 {
    font-size: 1.4rem;
  }
}
/* Reset básico para listas dentro de los posts */
.vlog-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Espacio para el bullet grande */
.vlog-content li {
  position: relative;
  padding-left: 2.6em; /* espacio reservado para el bullet; ajusta según el tamaño */
  margin: 8px 0;
  line-height: 1.4;     /* facilita el centrado visual del texto */
}

/* Bullet grande centrado verticalmente */
.vlog-content li::before {
  content: "⬢";          /* o cambia por otro símbolo/emoji */
  position: absolute;
  left: 0.35em;          /* distancia desde el borde izquierdo del li */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;     /* controla el tamaño del bullet */
  line-height: 1;
  color: #07f7bf;        /* color cyan/acentuado */
  display: inline-block;
  width: 1.6rem;         /* asegura espacio consistente, útil si quieres centrar más */
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* Opcional: brillo sutil para que destaque */
.vlog-content li::before {
  text-shadow: 0 0 6px rgba(0,255,255,0.12);
}