/* Menu desplegable Torah Viviente */
/* ========== ESTILOS DEL MENU DESPLEGABLE ========== */
#tv-menu-dropdown-root.menu-container {
  --israel-blue: #0038b8;
  --israel-white: #ffffff;
  --israel-gold: #ffd700;
  --israel-dark-blue: #001f5c;
  --israel-darker-blue: #000033;
  --israel-light-blue: #1e4a8c;
  --israel-very-dark: #000011;
  --menu-bg-color: linear-gradient(
    135deg,
    var(--israel-blue) 0%,
    var(--israel-dark-blue) 100%
  );
  --menu-hover-color: rgba(255, 215, 0, 0.2);
  --line-color: rgba(255, 255, 255, 0.3);
  --text-color: var(--israel-white);
  --header-bg-color: rgba(255, 255, 255, 0.1);
  --button-bg-color: linear-gradient(
    135deg,
    var(--israel-blue) 0%,
    var(--israel-dark-blue) 100%
  );
  --button-hover-color: linear-gradient(
    135deg,
    var(--israel-gold) 0%,
    #ffed4e 100%
  );
  --shadow-color: rgba(0, 56, 184, 0.3);
  --shadow-hover-color: rgba(0, 56, 184, 0.4);
  --scroll-button-bg: var(--israel-blue);
  --scroll-button-color: var(--israel-white);
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10050;
}

      .menu-button {
        background: var(--button-bg-color);
        color: var(--israel-white);
        border: none;
        padding: 12px 18px;
        font-size: 18px;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px var(--shadow-color);
      }

      .menu-button:hover {
        background: var(--button-hover-color);
        color: var(--israel-blue);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px var(--shadow-hover-color);
      }

      .dropdown-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background: var(--menu-bg-color);
        z-index: 10040;
        overflow-y: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: all 0.8s ease;
      }

      .dropdown-menu.active {
        right: 0;
      }

      .header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
      }

      .header .profile-img {
        max-width: 500px;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: 0 auto 15px auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        display: block;
      }

      .header a {
        display: block;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        margin: 0 auto;
      }

      .header a:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
      }

      .header a:hover .profile-img {
        box-shadow: 0 4px 16px rgba(0, 56, 184, 0.4);
        border: 2px solid var(--israel-gold);
      }

      .header .title {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        color: var(--israel-white);
      }

      .elegant-title {
        font-family: "Great Vibes", cursive;
        font-size: 38px;
        font-weight: 400;
        font-style: normal;
        text-align: center;
        color: var(--israel-white);
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5),
          0 0 15px rgba(255, 255, 255, 0.3);
        letter-spacing: 2px;
        line-height: 1.2;
        margin: 15px 0;
        transform: rotate(-1deg);
        animation: elegantWhiteGlow 4s ease-in-out infinite alternate;
      }

      @keyframes elegantWhiteGlow {
        0% {
          text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.1);
        }
        100% {
          text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7),
            0 0 25px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
        }
      }

      .elegant-subtitle {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        font-size: 16px;
        font-weight: 400;
        font-style: normal;
        text-align: center;
        color: var(--israel-white);
        line-height: 1.5;
        margin: 8px 0 20px 0;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.3px;
        transform: none;
      }

      .close-button {
        background: rgba(255, 255, 255, 0.2);
        color: var(--israel-white);
        border: none;
        padding: 10px;
        font-size: 18px;
        cursor: pointer;
        border-radius: 50%;
        align-self: flex-end;
        margin-bottom: 20px;
        transition: all 0.3s ease;
      }

      .close-button:hover {
        background-color: #e74c3c;
        color: white;
      }

      .dropdown-menu a {
        color: var(--text-color);
        padding: 12px 20px;
        text-decoration: none;
        display: flex;
        align-items: center;
        font-size: 18px;
        width: 100%;
        transition: background-color 0.3s ease, color 0.3s ease;
      }

      .dropdown-menu a:hover {
        background-color: var(--menu-hover-color);
      }

      .dropdown-menu a img {
        width: 24px;
        height: 24px;
        margin-right: 15px;
      }

      .dropdown-menu a + a {
        border-top: 2px solid var(--line-color);
      }

      .scroll-up-button {
        background-color: var(--scroll-button-bg);
        color: var(--scroll-button-color);
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10055;
        display: none;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px var(--shadow-color);
      }

      .scroll-up-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px var(--shadow-hover-color);
      }

      .scroll-up-button i {
        font-size: 20px;
      }

      .scroll-up-button.show {
        display: block;
      }


#tv-menu-dropdown-root * {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}
