body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #222;
  color: white;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
 .neon-line-horizontal {
  position: fixed;
  left: 0;
  width: 100%;
  height: 1px;

  background: rgba(255,255,255,0.08);
  box-shadow: none;

  z-index: 0;
  animation: moveHorizontal 40s linear infinite;
}

  .neon-top { top: 0; }
  .neon-bottom { bottom: 0; }

.neon-line-vertical {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  box-shadow: 0 0 5px white, 0 0 10px white;
  z-index: 0;
  animation: moveVertical 25s linear infinite;
}

@keyframes moveVertical {
  0% { left: -2px; }
  100% { left: 100%; }
}


  .top-bar {
    background-color: #222;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Cambiar*/
  }

  .dropdown-btn {
    background-color: #333;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 20px;
  }

  .dropdown-btn:hover { background-color: #555; }

.dropdown-content {
  display: none;
  position: absolute; 
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: #555;
  padding: 10px;
  white-space: nowrap;
  z-index: 1001;
  flex-direction: column;
  border-radius: 0px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
  .dropdown-content a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    background-color: #666;
  }

  .dropdown-content a:hover { background-color: #777; }

  .dropdown-content.show { display: block; }


  .second-bar img { height: 60px; width: auto; }








.dropdown-items {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #555;
  margin-top: 2px;
  padding: 10px;
  border-radius: 0px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mostrar con animación */
.dropdown-items.show {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* Efecto de aparición individual de botones */
.dropdown-items.show button {
  animation: fadeInUp 0.25s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(5px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.card-inner {
  background-color: #1f1f1f;
  border-radius: 8px;
  padding: 12px;
  width: 200px;

  text-align: left;

  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.card-inner img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.card-inner h3 {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin: 0;
}
.card-outer:focus {
  outline: none; 
}
@keyframes spin360 {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.card-outer.spin360 .card-inner {
  animation: spin360 1s forwards;
}

  
.model-panel {
  display: none;
  position: fixed;
  top: 140px;
  left: 0;
  width: 100%;
  height: calc(100% - 130px);
  background-color: #000;
  color: white;
  z-index: 2000;
  padding: 0px;
  box-sizing: border-box;
  overflow-y: auto;
}

.model-panel.open {
  display: block;
}


.model-panel::before {
  content: "";
  position: absolute;
  top: 130px;
  left: 0;
  width: 100%;
  height: 200%;
  background: radial-gradient(white 1px, transparent 1px) repeat;
  background-size: 15px 15px;
  animation: starsMove 20s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

@keyframes starsMove {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}




.dropdown-items button {
  position: relative; 
  background-color: #666;
  color: white;
  border: none;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin: 2px 5px;
  overflow: hidden;
}

.dropdown-items button::after {
  content: "";
  position: absolute;
  bottom: 0;  
  left: 0;
  width: 0;          
  height: 2px;   
  background: white;    
  transition: width 0.3s ease;
}

.dropdown-items button:hover::after {
  width: 100%;
}


.second-bar img {
  height: 60px;
  width: auto;
}


.panel-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 0px;
  background: linear-gradient(135deg, #555, #333);
  color: white;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
}

.panel-btn:hover {
  background: linear-gradient(135deg, #777, #555);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.tag {
  position: relative;
  display: inline-block;
  background-color: #666;
  color: #fff;
  padding: 4px 10px;
  margin: 3px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.tag::after {
  content: "";
  position: absolute;
  top: 80%;
left: 50%;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0;

 transform-origin: -20px 10px;
  animation: orbit 6s linear infinite,
             fade 6s ease-in-out infinite;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade {
  0%, 60%, 100% {
    opacity: 0;
  }
  10%, 40% {
    opacity: 0.5;
  }
}

.tag:nth-child(2n)::after {
  animation-delay: 2s;
}

.tag:nth-child(3n)::after {
  animation-delay: 4s;
}

.tag:nth-child(5n)::after {
  animation-delay: 1.5s;
}



.close-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 0px;
  overflow: hidden;
  transition: background-color 0.2s;
}

.close-panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.close-panel:hover {
  background-color: #555;
}

.close-panel:hover::after {
  width: 100%;
}


.panel-content .action-btn {
  background-color: #444;
  color: white;
  border: none;
  padding: 8px 18px;
  margin: 5px 10px 10px 0;
  cursor: pointer;
  border-radius: 0px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s;
}

.panel-content .action-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: ;
  height: 0px;
  background: white;
  transition: width 0.3s ease;
}

.panel-content .action-btn:hover {
  background-color: #555;
}

.panel-content .action-btn:hover::after {
  width: 120%;
}


.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-panel {
  background: #1c1c1c;
  padding: 25px;
  border-radius: 8px;

  max-width: 400px;
  width: 90%;

  color: white;
  text-align: center;
  position: relative;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.register-panel .close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.reg-input {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;

  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);

  font-size: 14px;
  box-sizing: border-box;

  background: #2a2a2a;
  color: white;

  outline: none;
  transition: border 0.2s ease, background 0.2s ease;
}

.reg-input:focus {
  border-color: #888;
  background: #333;
}
.create-btn {
  width: 100%;
  padding: 10px 20px;
  border: none;
  border-radius: 0px;
  background: linear-gradient(135deg, #000, #333);
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.create-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.create-btn:hover {
  background: linear-gradient(135deg, #222, #555);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.6);
}

.create-btn:hover::after {
  width: 100%;
}
.register-note {
  font-size: 12px;
  color: #9a9a9a;
  margin-bottom: 15px;
}

.btn-style::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.btn-style:hover::after {
  width: 100%;
}

.btn-style:hover {
  background: linear-gradient(135deg, #222, #555);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}
.dropdown-display.btn-style {
  position: static;
  overflow: visible;
  width: 200px;
  text-align: left;
}


.dropdown-items button:hover {
  background: #555;
}

.dropdown-content a.btn-style {
  display: block;  
  margin: 5px 0;
  text-align: left;
  padding: 8px 15px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  text-decoration: none;
}

.dropdown-content a.btn-style:hover {
  background-color: #666;
}

.dropdown-wrapper {
  position: relative;
  display: inline-block;
  
}
.dropdown-content {
  display: none;
  position: absolute; 
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(50,50,50,0.8);
  padding: 10px;
  white-space: nowrap;
  z-index: 4001;
  display: flex;
  flex-direction: row;
  gap: 5px;
  border-radius: 0px;
}
.dropdown-content.show {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.search-box {
  padding: 8px 12px;
  border: none;
  border-radius: 0px;
  font-size: 14px;
  width: 250px;
  background-color: #222;
  color: white;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.search-box::placeholder {
  color: #aaa;
}

.search-box:focus {
  background-color: #333;
  box-shadow: 0 0 5px white;
}


.search-input {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  border: none;
  background-color: #888; /* gris */
  color: white;
  width: 200px;
}

.search-input::placeholder {
  color: #eee;
}
.second-bar {
  background-color: #333;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 20px;
}

.left-items {
  display: flex;
  align-items: center;
  gap: 20px;
}


.gallery-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide {
  display: flex;
  transition: transform 0.3s ease;
  gap: 15px;
}

.gallery-slide img {
  max-width: 100%;
  height: auto;
  border: 2px solid #888;
  border-radius: 5px;
  cursor: pointer;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  background-color: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(255,255,255,0.2);
}

.gallery-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.gallery-next { right: 10px; top: 50%; transform: translateY(-50%); }


  .modal-content input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
  }

  .modal-content button {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background-color: #B30000;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
  }

  .switch {
    margin-top: 10px;
    font-size: 14px;
  }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center; align-items: center;
}

.modal-content {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  width: 350px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.close {
  color: #fff;
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.container {
  display: flex;
  align-items: center;
  gap: 15px;
}




.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: rgba(0,0,0,0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 1px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 800;
}

.card-outer:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-15px); 
}
.card-outer:hover .card-inner {
  filter: brightness(1.08);
}

.card-outer {
  position: relative;
}











.bottom-bar {
  width: 100%;
  background-color: #555;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.clickable-text {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.clickable-text:hover {
  color: #ccc;
}

.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

/* Dropdown contenido arriba del botón */
.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  bottom: 100%;           /* arriba del botón */
  left: 0;
  transform: translateY(20px); /* animación desde abajo hacia arriba */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mostrar dropdown */
.dropdown-content.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Estilo de los enlaces dentro del dropdown (igual a clickable-text) */
.dropdown-content a.clickable-text {
  display: block;
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.dropdown-content a.clickable-text:hover {
  color: #ccc;
}

/* Panel info */
.info-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.info-content {
  background-color: #333;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  color: white;
  position: relative;
  text-align: left;
  z-index: 1002;
}

/* Botón cerrar */
.close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 0px;
  background: linear-gradient(135deg, #111, #444); 
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.close-panel:hover {
  background: linear-gradient(135deg, #222, #555);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}



/* Dropdown Contacto > exclusivo */
.contact-dropdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  bottom: 100%;       /* justo arriba del botón */
  left: 0;
  transform: translateY(0);  /* posición inicial */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1002;       /* encima de otros elementos */
}

/* Mostrar dropdown */
.contact-dropdown.show {
  transform: translateY(-20px); /* sube hacia arriba */
  opacity: 1;
  pointer-events: auto;
}

/* Estilo de los enlaces dentro del dropdown, solo texto subrayado */
.contact-dropdown a.clickable-text {
  display: block;
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.contact-dropdown a.clickable-text:hover {
  color: #ccc;
  text-decoration: underline;
}



.banner-button {
    width: 975px;   
    height: 219px;  
    background-image: url('portada.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 3px solid #ccc;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0);
    transform: translateX(16%); 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.banner-button:hover {
    transform: translateX(16%) scale(1.02);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}






.model-panel {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100% - 0px);
  background-color: #000;
  color: white;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.model-panel.open {
  display: block;
}

/* fondo animado */
.model-panel::before {
  content: "";
  position: absolute;
  top: 130px;
  left: 0;
  width: 100%;
  height: 200%;
  background: radial-gradient(white 1px, transparent 1px) repeat;
  background-size: 15px 15px;
  animation: starsMove 20s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}
.app-outer {

margin-left: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  display: inline-block; 
  position: relative;
}

.app-outer:focus {
  outline: none;  
}
.separator-gradient {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1a1a1a, #888888, #1a1a1a);
  background-size: 200% 100%;
  animation: moveGradient 2s linear infinite;
  border-radius: 2px;
  margin: 50px 0;
  box-shadow: 0 0 6px #666666, 0 0 12px #333333;
}

@keyframes moveGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.separator-container {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 50px 0;
}

.separator-gradient {
  position: relative;
  z-index: 1;
}

.separator-text {
  display: inline-block;
  color: #e0e0e0;
  background-color: rgba(18, 18, 18, 0.95); 
  padding: 12px 25px; 
  margin-top: 20px;
  font-weight: bold;
  font-size: 38px; 
  border-radius: 12px;
  text-transform: uppercase;
  box-shadow: 0 0 10px #00000080; 
  line-height: 1;
}
.app-outer {
  position: relative;
}

.app-outer .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: rgba(0,0,0,0.9);
  color: #fff;  
  padding: 6px 10px;
  border-radius: 1px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 800;
}

.app-outer:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-15px); 
}
.cover-panel-btn {
  width: 100%;
  max-width: 300px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: none;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
/* IMAGEN PORTADA */
.cover-panel-btn img {
  width: 220px;
  max-width: 90%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
  transform-style: preserve-3d;
  transition: transform 0.3s;
}

.cover-panel-btn:hover img {
  transform: rotateY(15deg) rotateX(5deg) scale(1.05);
}

.characters-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 80px 20px 250px 20px;
    flex-wrap: wrap; /* ← clave */
}

.character-item {
    width: 150px;
    position: relative;
}

.character-card {
    background: #111;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-6px);
}

.character-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 12px;
}

.character-card h3 {
    margin: 0;
    color: white;
    font-size: 1rem;
}

.character-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    width: 260px;
    
    background: #1a1a1a;
    color: #ccc;
    padding: 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    transition-delay: 0.3s;
}


.character-popup::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
}

.character-item:hover .character-popup {
    opacity: 1;
    transform: translate(-50%, 15px);
    transition-delay: 0.3s;
}

.character-item .character-popup {
    transition-delay: 0s;
}

/* Overlay completo */
.perfil-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0px;
  z-index: 5000;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.perfil-overlay::-webkit-scrollbar {
  width: 8px;
}
.perfil-overlay::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
}
.perfil-overlay::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;
  border: 2px solid rgba(0,0,0,0.5);
}


.perfil-panel {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #111;
  color: #fff;
  padding: 30px 40px;
  overflow-y: auto;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 32px;
  cursor: pointer;
}

.perfil-header-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.perfil-header-section h2 {
  font-size: 2.2rem;
  margin-bottom: 5px;
  text-align: center;
}

.perfil-header-section p {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.perfil-section-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.calificados-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  justify-content: center;
}
.calificados-container::-webkit-scrollbar {
  height: 6px;
}
.calificados-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.arma-calificada-card {
  min-width: 120px;
  flex-shrink: 0;
  background: #222;
  padding: 12px;
  border: 2px solid #555;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.2s;
}
.arma-calificada-card:hover {
  transform: scale(1.05);
}

.arma-calificada-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 6px;
}

.arma-calificada-nombre {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.arma-calificada-rating {
  font-size: 0.9rem;
  color: #ff4d4d;
}

.perfil-button-container {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 25px;
}


.sin-armas-msg {
  color: #aaa;
  font-size: 1rem;
  text-align: center;
  margin: 20px 0;
}

.perfil-btn {
  flex: 1;
  padding: 10px 0;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  color: #fff;
}
.perfil-btn-left {
  background: rgba(50,50,50,0.8);
}
.perfil-btn-left:hover {
  background: rgba(90,90,90,0.9);
}
.perfil-btn-right {
  background: rgba(150,0,0,0.8);
}
.perfil-btn-right:hover {
  background: rgba(200,0,0,0.9);
}

.perfil-open-btn {
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
}

div[id][style*="margin-top:5px"] {
  display: flex;
  align-items: center;
  gap: 10px;
}

#userEmail {
  display: inline-block;
  margin: 0;
}

#toggleEmailBtn {
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#toggleEmailBtn:hover {
  background-color: #333;
}


/* CONTENEDOR PERFIL */
.perfil-img{
  width:150px;
  height:150px;
  border-radius:50%;
  border:2px solid #ccc;
  object-fit:cover;

  margin-top:-50px;
}
.perfilP-container{
  position: relative;
  width:150px;
  margin:auto;
 top:0px;
}

/* BOTON CAMBIAR (CENTRO DE LA FOTO) */
.perfil-btn-cambiar{
  position:absolute;
  top:100%;
  left:50%;
  transform:translate(-50%, -50%);
  padding:8px 20px;
  font-size:14px;
  background:#777;
  color:white;
  border:none;
  border-radius:2px;
  cursor:pointer;
  white-space: nowrap;
}

/* PANEL FONDO NUBLADO */
.perfilP-panel{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  backdrop-filter: blur(8px);
  background:rgba(0,0,0,0.4);

  display:none;
  justify-content:center;
  align-items:center;
}

/* CAJA DE SELECCION */
.perfilP-box{
  background:#dcdcdc;
  padding:20px;
  border-radius:10px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:center;
}

/* IMAGENES PARA ELEGIR */
.perfil-selectable{
  width:80px;
  height:80px;
  border-radius:50%;
  cursor:pointer;
  border:2px solid #666;
  object-fit:cover;
}

.perfil-selectable:hover{
  transform:scale(1.05);
}

#disqus_thread {
  opacity: 1 !important;
  filter: none !important;
background: #333;
  position: relative;
  z-index: 2000;
}






