/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background-color: #000;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
}
.spline-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: auto; 
}

.spline-container iframe {
    border: none;
    display: block;
    pointer-events: all; 
}
.content-overlay {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    pointer-events: none; 
    min-height: 100vh;
}

body.show-content .content-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Grid principal */
.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    min-height: 100vh;

}

.div1 { grid-area: 1 / 1 / 2 / 6; pointer-events: none; }
.div2 { grid-area: 2 / 1 / 5 / 2; pointer-events: none; }
.div3 { grid-area: 2 / 5 / 5 / 6; pointer-events: none; }
.div4 { grid-area: 2 / 2 / 5 / 5;pointer-events: none; display: flex; align-items: center; justify-content: center;padding-top: 100px; }


.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* From Uiverse.io by portseif */ 
.button-Header {
  align-items: center;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  outline: 0;
  border: 0;
  padding: 1rem;
  pointer-events: auto;
}

.button-Header:before {
  background-color: #fff;
  content: "";
  display: inline-block;
  height: 1px;
  margin-right: 10px;
  transition: all .42s cubic-bezier(.25,.8,.25,1);
  width: 0;
}

.button-Header:hover:before {
  background-color: #fff;
  width: 3rem;
}

.header nav {
    display: flex;
    gap: 30px;
    position: absolute;
    right: 40px;
}

.header nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    pointer-events: auto;
}
.header nav a svg {
    width: 32px;
    height: 32px;}

.header nav a:hover {
    color:#000 ;

}
.header nav svg:hover {
	background:#FFFF;
	border-radius: 50%;
}

/* Contenedores laterales para cards y botones */
.div2, .div3 {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Texto lateral */
.side-text {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.side-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ff004d;
}

.side-text p {
    font-size: 1.2rem;
}

/* ==================== BOTONES PLAY ==================== */

.play-button-container {
    position: relative;
    display: inline-block;
}

.play-button {
    position: relative;
    padding: 1.2em 3em;
    border: none;
    outline: none;
    background-color: transparent;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.play-button:hover {
    background-color:#000 ;
    transform: scale(1.05);
   
}

.play-button:active {
    transform: scale(0.95);
    background-color: #FFFFFF;
    box-shadow: 0 0 10px #FFFFFF, 0 0 20px #FFFFFF, 0 0 30px #FFFFFF;
    color:#000;
}

.button-text {
    position: relative;
    z-index: 3;
}

.clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid #FFFFFF;
    clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 0% 30%);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease;
    animation: shape-glitch 1.5s infinite ease-in-out;
}

.play-button:hover .clip {
    box-shadow: inset 0 0 25px #FFFFFF;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    transform: rotate(45deg);
    box-shadow: inset 1px 1px 8px #FFFFFF;
    transition: 0.2s ease;
    animation: corner-glitch 2s infinite ease-in-out;
}

.top-left {
    top: -15px;
    left: -15px;
}

.top-right {
    top: -15px;
    right: -15px;
}

.bottom-left {
    bottom: -15px;
    left: -15px;
}

.bottom-right {
    bottom: -15px;
    right: -15px;
}

.play-button:hover .corner {
    transform: scale(1.25) rotate(45deg);
    background-color: #FFFFFF;
    animation: corner-light 0.4s ease-in-out infinite alternate;
}

/* ==================== ANIMACIONES ==================== */

@keyframes shape-glitch {
    0% {
        clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 0% 30%);
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    }
    25% {
        clip-path: polygon(15% 0%, 85% 0%, 100% 35%, 100% 65%, 85% 100%, 15% 100%, 0% 65%, 0% 35%);
        box-shadow: inset 0 0 25px #FFFFFF;
    }
    50% {
        clip-path: polygon(10% 0%, 90% 0%, 100% 40%, 100% 60%, 90% 100%, 10% 100%, 0% 60%, 0% 40%);
        box-shadow: inset 0 0 20px #FFFFFF;
    }
    75% {
        clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 0% 30%);
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    }
    100% {
        clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 0% 30%);
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    }
}

@keyframes corner-glitch {
    0% { transform: scale(1) rotate(45deg); opacity: 1; }
    25% { transform: scale(1.1) rotate(50deg); opacity: 0.9; }
    50% { transform: scale(0.9) rotate(40deg); opacity: 0.8; }
    75% { transform: scale(1.1) rotate(50deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(45deg); opacity: 1; }
}

@keyframes corner-light {
    0% { box-shadow: inset 0 0 5px #788384; }
    100% { box-shadow: inset 0 0 15px #788384; }
}

@media (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .div1 { grid-area: 1 / 1 / 2 / 2; }
    .div2 { grid-area: 2 / 1 / 3 / 2; }
    .div5 { grid-area: 3 / 1 / 4 / 2; }
    .div3 { grid-area: 4 / 1 / 5 / 2; }
    .div4 { grid-area: 4 / 2 / 6 / 5; }
    
    .buttons-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .header h1 {
        font-size: 1.2rem;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
}

.card {
 --background: linear-gradient(to left, #788384 0%, #FFFFFF 100%);
 width: 190px;
 height: 254px;
 padding: 5px;
 border-radius: 1rem;
 overflow: hidden;
 background: var(--background);
 position: relative;
 z-index: 1;
 transition: all 0.4s ease;
 pointer-events: auto;
}

.card::after {
 position: absolute;
 content: "";
 top: 30px;
 left: 0;
 right: 0;
 z-index: -1;
 height: 100%;
 width: 100%;
 transform: scale(0.8);
 filter: blur(25px);
 background: var(--background);
 transition: opacity .5s;
}

.card-info {
 --color: #181818;
 background: var(--color);
 color: #FFFF;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 100%;
 overflow: hidden;
 border-radius: .7rem;
 padding: 20px;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
    gap: 15px;
}

.card .title {
 font-weight: bold;
 letter-spacing: .1em;
 font-size: 1.1rem;
 transition: all 0.4s ease;
}

.card .description {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

/*Hover*/

.card:hover::after {
 opacity: 0;
}

.card:hover .card-info {
 color: #FFFFFF;
 transition: color 1s;
}

.card:hover .card-content {
    transform: translateY(-10px);
}

.card:hover .description {
    opacity: 1;
    max-height: 200px;
}

.input-group {
 position: relative;
}

.input {
 border: solid 1.5px #9e9e9e;
 border-radius: 1rem;
 background: none;
 padding: 1rem;
 font-size: 1rem;
 color: #f5f5f5;
 transition: border 150ms cubic-bezier(0.4,0,0.2,1);
 pointer-events: auto;
}

.user-label {
 position: absolute;
 left: 15px;
 color: #e8e8e8;
 pointer-events: none;
 transform: translateY(1rem);
 transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input:focus, input:valid {
 outline: none;
 border: 1.5px solid #FFFF;
}

.input:focus ~ label, input:valid ~ label {
 transform: translateY(-50%) scale(0.8);
 background-color: #212121;
 padding: 0 .2em;
 color: #FFFF;
}
.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 15px 15px 30px rgb(60,60,60),
             -15px -15px 30px rgb(25, 25, 25);
}

.resultado-mensaje {
    padding: 15px 20px;
    border-radius: 0.8rem;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    display: none;
    animation: slideIn 0.3s ease;
}

.resultado-mensaje.success {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #00ff00;
    color: #00cc00;
}

.resultado-mensaje.error {
    background: rgba(255, 0, 77, 0.2);
    border: 2px solid #ff004d;
    color: #cc0040;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.palabras-list {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 0.8rem;
    max-height: 200px;
    overflow-y: auto;
}

.palabras-list h3 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
}

.palabras-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.palabras-list li {
    background: linear-gradient(135deg, #788384 0%, #FFFFFF 100%);
    color: #000;
    padding: 5px 12px;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.palabras-list::-webkit-scrollbar {
    width: 8px;
}

.palabras-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.palabras-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #788384 0%, #FFFFFF 100%);
    border-radius: 10px;
}

.palabras-list::-webkit-scrollbar-thumb:hover {
    background: #FFFFFF;
}

.letras-info button {
  font-size: 1.5rem;
  pointer-events: auto;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  margin: 35px 0;
}
.L1, .L2, .L3, .L4, .L5, .L6 {
 color: #FFFF;
   border: 2px solid #FFFF;
  background: #252525;
  box-shadow: 3px 3px #fafafa;
}
.C1 {
  color: #252525;
  border: 2px solid #252525;
  background: #FFFF;
  box-shadow: 3px 3px #252525;
}

.letras-info button:active {
  box-shadow: none;
  transform: translate(3px, 3px);
}

.btn2 {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid #FFFF;
  text-transform: uppercase;
  color: #FFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  transition: 0.3s;
  background-color: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.btn2::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 6px);
  height: calc(100% + 2px);
  background-color: #000;
  transition: 0.3s ease-out;
  transform: scaleY(1);
}

.btn2::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 50px);
  background-color: #000;
  transition: 0.3s ease-out;
  transform: scaleY(1);
}

.btn2:hover::before {
  transform: translateY(-25px);
  height: 0;
}

.btn2:hover::after {
  transform: scaleX(0);
  transition-delay: 0.15s;
}

.btn2:hover {
  border: 2px solid #fefefe;
}

.btn2 .spn2 {
  position: relative;
  z-index: 3;
  text-decoration: none;
  border: none;
  background-color: transparent;
}
/* From Uiverse.io by andrew-manzyk */ 
.loader {
  --main-size: 4em;
  --text-color: #ffffff;
  --shine-color: #ffffff40;
  --shadow-color: #aaaaaa;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
  position: relative;
  font-size: var(--main-size);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-color);
  width: 7.3em;
  height: 1em;
  filter: drop-shadow(0 0 0.05em var(--shine-color));
}

.loader .text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
}

.loader .text:nth-child(1) {
  clip-path: polygon(0% 0%, 11.11% 0%, 11.11% 100%, 0% 100%);
  font-size: calc(var(--main-size) / 20);
  margin-left: -2.1em;
  opacity: 0.6;
}

.loader .text:nth-child(2) {
  clip-path: polygon(11.11% 0%, 22.22% 0%, 22.22% 100%, 11.11% 100%);
  font-size: calc(var(--main-size) / 16);
  margin-left: -0.98em;
  opacity: 0.7;
}

.loader .text:nth-child(3) {
  clip-path: polygon(22.22% 0%, 33.33% 0%, 33.33% 100%, 22.22% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: -0.33em;
  opacity: 0.8;
}

.loader .text:nth-child(4) {
  clip-path: polygon(33.33% 0%, 44.44% 0%, 44.44% 100%, 33.33% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: -0.05em;
  opacity: 0.9;
}

.loader .text:nth-child(5) {
  clip-path: polygon(44.44% 0%, 55.55% 0%, 55.55% 100%, 44.44% 100%);
  font-size: calc(var(--main-size) / 10);
  margin-left: 0em;
  opacity: 1;
}

.loader .text:nth-child(6) {
  clip-path: polygon(55.55% 0%, 66.66% 0%, 66.66% 100%, 55.55% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: 0.05em;
  opacity: 0.9;
}

.loader .text:nth-child(7) {
  clip-path: polygon(66.66% 0%, 77.77% 0%, 77.77% 100%, 66.66% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: 0.33em;
  opacity: 0.8;
}

.loader .text:nth-child(8) {
  clip-path: polygon(77.77% 0%, 88.88% 0%, 88.88% 100%, 77.77% 100%);
  font-size: calc(var(--main-size) / 16);
  margin-left: 0.98em;
  opacity: 0.7;
}

.loader .text:nth-child(9) {
  clip-path: polygon(88.88% 0%, 100% 0%, 100% 100%, 88.88% 100%);
  font-size: calc(var(--main-size) / 20);
  margin-left: 2.1em;
  opacity: 0.6;
}

.loader .text span {
  animation:
    scrolling 2.2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite,
    shadow 2.2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite;
}

.loader .text:nth-child(1) span {
  background: linear-gradient(
    to right,
    var(--text-color) 4%,
    var(--shadow-color) 7%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(2) span {
  background: linear-gradient(
    to right,
    var(--text-color) 9%,
    var(--shadow-color) 13%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(3) span {
  background: linear-gradient(
    to right,
    var(--text-color) 15%,
    var(--shadow-color) 18%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(4) span {
  background: linear-gradient(
    to right,
    var(--text-color) 20%,
    var(--shadow-color) 23%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(6) span {
  background: linear-gradient(
    to right,
    var(--shadow-color) 29%,
    var(--text-color) 32%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(7) span {
  background: linear-gradient(
    to right,
    var(--shadow-color) 34%,
    var(--text-color) 37%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(8) span {
  background: linear-gradient(
    to right,
    var(--shadow-color) 39%,
    var(--text-color) 42%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(9) span {
  background: linear-gradient(
    to right,
    var(--shadow-color) 45%,
    var(--text-color) 48%
  );
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 0.05em;
  width: calc(var(--main-size) / 2);
  margin-top: 0.9em;
  border-radius: 0.05em;
}

.loader .line::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--text-color);
  opacity: 0.3;
}

.loader .line::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 0.05em;
  transform: translateX(-90%);
  animation: wobble 2s cubic-bezier(0.5, 0.8, 0.5, 0.2) infinite;
}

@keyframes wobble {
  0% {
    transform: translateX(-90%);
  }
  50% {
    transform: translateX(90%);
  }
  100% {
    transform: translateX(-90%);
  }
}

@keyframes scrolling {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes shadow {
  0% {
    background-position: -98% 0;
  }
  100% {
    background-position: 102% 0;
  }
}
.loader-searching-container {
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: center;
  	min-height: 300px;
 	color: white;
}
.loader-searching-text {
	margin-top: 30px;
    font-size: 1.5em;
    color: white;
}
.rival-encontrado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: white;
}
.rival-encontrado h2 {
    font-size: 2em;
    margin: 20px 0 10px 0;
}
.rival-encontrado p {
    font-size: 1.2em;
    opacity: 0.8;
}
.temporizador {
	color: white;
	padding: 15px 25px;
	border-radius: 10px;
	font-size: 1.5em;
	font-weight: bold;
	z-index: 1000;
}
.temporizador.warning {
	background: rgba(255, 152, 0, 0.9);
	animation: pulse 1s infinite;
}
.temporizador.danger {
	background: rgba(244, 67, 54, 0.9);
	animation: pulse 0.5s infinite;
}
@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}
.modal-resultados-content {
            padding: 40px 20px;
            text-align: center;
            color: white;
            animation: slideUp 0.4s ease;
            min-height: 300px;
        }
        .modal-resultados-content.victoria {
            border: 3px solid #4CAF50;
            border-radius: 15px;
            background: rgba(76, 175, 80, 0.1);
        }
        .modal-resultados-content.derrota {
            border: 3px solid #f44336;
            border-radius: 15px;
            background: rgba(244, 67, 54, 0.1);
        }
        .modal-resultados-content.empate {
            border: 3px solid #FF9800;
            border-radius: 15px;
            background: rgba(255, 152, 0, 0.1);
        }
        .modal-resultados-content h2 {
            font-size: 2.5em;
            margin: 0 0 30px 0;
        }
        .puntuacion-final {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            margin: 30px 0;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
        }
        .puntos-item {
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex: 1;
            max-width: 150px;
        }
        .puntos-item.tuyo {
            text-align: right;
        }
        .puntos-item.rival {
            text-align: left;
        }
        .puntos-item .label {
            font-size: 1em;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            font-weight: bold;
        }
        .puntos-item .valor {
            font-size: 2.5em;
            font-weight: bold;
        }
        .separador {
            font-size: 1.5em;
            font-weight: bold;
            padding: 0 15px;
        }
        .mensaje-resultado {
            font-size: 1.2em;
            margin: 20px 0;
        }
        .palabras-encontradas {
            margin: 30px 0;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }
        .palabras-encontradas h3 {
            margin-bottom: 15px;
        }
        @keyframes slideUp {
            from { 
                transform: translateY(50px);
                opacity: 0;
            }
            to { 
                transform: translateY(0);
                opacity: 1;
            }
        }

/* Aviso de la demo estática, lo añade juego.js */
.aviso-demo {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 10;
    max-width: calc(100% - 32px);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
}

.aviso-demo a {
    color: inherit;
    text-decoration: underline;
}
