@font-face {
    font-family: 'Satisfy';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/satisfy/v22/rP2Hp2yn6lkG50LoCZOIHQ.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;
}
/* latin */
@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/satisfy/v22/rP2Hp2yn6lkG50LoCZOIHQ.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;
}
/* latin */
@font-face {
  font-family: 'Vibur';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/vibur/v23/DPEiYwmEzw0QRgTuJDs.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;
}
*,*::after,*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #111;
    font-family: system-ui;
    overflow: hidden;
}

.notranslate {
  unicode-bidi: bidi-override;
}

#bg-doc {
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 100dvh;
    align-items: center;
}
#bg-doc video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.5) saturate(-0.5);
    z-index: -1;
}

#page {
    display: flex;
    flex-direction: column;
    /* background-color: #5e176a;
    box-shadow: 0 0 16px 0px #000; */
    border-radius: 0.3rem;
    padding: 0.5rem 2rem;
}
#page h2 {
    color: #14386e;
    font-family: 'Satisfy';
    font-size: 3rem;
    text-shadow: 0px 0px 20px #f66aff;
    position: relative;
}
/* #page small {
    font-family: 'Satisfy';
    color: #fff;
    font-size: 1rem;
    position: absolute;
    bottom: 0;
    right: 0;
} */

.css-slot-machine {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 1rem auto;
}

.slot {
    width: 30px;
    height: 35px;
    overflow: hidden;
    border: 2px solid #d653be;
    border-radius: 10px;
    background: #ffeeee;
    font-size: 1rem;
    text-align: center;
    line-height: 55px;
    box-shadow: 0 0 20px #ec4fb7;
}

.reel {
    display: inline-block;
    animation: spin 5.2s linear infinite;
}

.slot:nth-child(2) .reel {
    animation-duration: 5.4s;
}
.slot:nth-child(3) .reel {
    animation-duration: 4.6s;
}
.slot:nth-child(4) .reel {
    animation-duration: 7.8s;
}
.slot:nth-child(5) .reel {
    animation-duration: 4s;
}

@keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-350px); } /* Ajusta según cantidad de emojis */
}

#emojiForm {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

#page input[type=text] {
    padding: 1rem;
    text-align: center;
    border-radius: 1rem;
    background-color: #ffffff2e;
    border: none;
}
#page input[type=text]:focus,
#page input[type=text]:focus-visible {
    border: none;
}
#page button {
    border: 0;
    padding: 1rem;
    border-radius: 1rem;
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
#page button:hover {
    opacity: 0.5;
}

.logo {
    text-align: center;
    width: 14rem;
    height: 6.5rem;
    margin: auto;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    user-select: none;
}

.logo b{
  font: 400 4.5rem "Vibur";
  color: #fee;
  text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em #ff4444, 0 0 0.5em #ff4444, 0 0 0.1em #ff4444, 0 10px 3px #000;
}
.logo b span{
  animation: blink linear infinite 2s;
}
.logo b span:nth-of-type(2){
  animation: blink linear infinite 3s;
}

.logo small {
    font-family: 'Satisfy';
    color: #fff;
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

@keyframes blink {
  78% {
    color: inherit;
    text-shadow: inherit;
  }
  79%{
     color: #333;
  }
  80% {
    
    text-shadow: none;
  }
  81% {
    color: inherit;
    text-shadow: inherit;
  }
  82% {
    color: #333;
    text-shadow: none;
  }
  83% {
    color: inherit;
    text-shadow: inherit;
  }
  92% {
    color: #333;
    text-shadow: none;
  }
  92.5% {
    color: inherit;
    text-shadow: inherit;
  }
}

#message {
    background-color: #fff;
    border-radius: 0.4rem;
    font-weight: bolder;
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
}

.success {
    color: greenyellow;
    padding: 0.5rem;
}
.error {
    color: #d70e0e;
    padding: 0.5rem;
}

/* follow me @nodws */
#btn-twtr{
  clear:both;
  color:#fff;
  border:2px solid;
  border-radius:3px;
  text-align:center;
  text-decoration:none;
  display:block;
  font-family:sans-serif;
  font-size:14px;
  width:13em;
  padding:5px 10px;
  font-weight:600;
  position:absolute;
  bottom:20px;
  left:0;
  right:0;
  margin:0 auto;
  background:rgba(0,0,0,0.2);
  box-shadow:0 0 0px 3px rgba(0,0,0,0.2);
  opacity:0.4
}
#btn-twtr:hover{color:#fff;opacity:1}

/* Modal base */
.modal {
    box-shadow: 0 0 6px 0px #000;
  font-size: 0.8rem;
  position: fixed;
  bottom: 1rem; right: 1rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Oculto por defecto */
.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  max-width: 18rem;
  text-align: center;
  font-family: sans-serif;
}
.modal-content p {
    margin: 0.5rem;
}
.modal-content p:nth-of-type(2) {
    font-weight: bold;
}

#acceptAgeBtn {
    background: #ff004f;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}
#acceptAgeBtn:hover {
  background: #cc0040;
}

/* Estilos del modal de anuncios */
.promo-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.promo-modal {
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 25px 35px;
  width: 90%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
  position: relative;
}
.promo-modal p {
    margin: 1rem 0;
}
.promo-modal small {
    display: block;
    margin: 0.5rem auto;
    font-size: 0.7rem;
    color: #666;
    max-width: 14rem;
    font-style: italic;
}
.promo-modal button {
  background: #ff004f;
  border: none;
  color: #fff;
  padding: 10px 20px;
  margin-top: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.promo-modal button:hover {
  background: #cc0040;
}

#closeAdModal {
    position: absolute;
    top: -1.5rem;
    right: -1rem;
}

.adblock-message {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.msg-box {
    background: #fff;
    color: #333;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
}
.msg-box button {
    margin-top: 10px;
    background: #007BFF;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}